svn commit: r395136 - head/devel/love08

Dmitry Marakasov amdmi3 at FreeBSD.org
Sun Aug 23 22:21:28 UTC 2015


Author: amdmi3
Date: Sun Aug 23 22:21:27 2015
New Revision: 395136
URL: https://svnweb.freebsd.org/changeset/ports/395136

Log:
  - Switch to options helpers

Modified:
  head/devel/love08/Makefile

Modified: head/devel/love08/Makefile
==============================================================================
--- head/devel/love08/Makefile	Sun Aug 23 22:18:32 2015	(r395135)
+++ head/devel/love08/Makefile	Sun Aug 23 22:21:27 2015	(r395136)
@@ -41,20 +41,16 @@ PORTDOCS=	*
 
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.options.mk>
-
 post-patch:
 	@${REINPLACE_CMD} -e '/^prefix=/ d; /^bindir=/ d; /^libdir=/ d; \
 		/test/ s|==|=|' \
 		-e "s/lua5.1/lua-${LUA_VER}/g" \
 		${WRKSRC}/configure
 
-.if ${PORT_OPTIONS:MDOCS}
-post-install:
+post-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for f in changes.txt readme.md
 	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list