svn commit: r394970 - head/devel/love07

Dmitry Marakasov amdmi3 at FreeBSD.org
Fri Aug 21 16:00:05 UTC 2015


Author: amdmi3
Date: Fri Aug 21 16:00:04 2015
New Revision: 394970
URL: https://svnweb.freebsd.org/changeset/ports/394970

Log:
  - Switch to options helpers

Modified:
  head/devel/love07/Makefile

Modified: head/devel/love07/Makefile
==============================================================================
--- head/devel/love07/Makefile	Fri Aug 21 15:59:53 2015	(r394969)
+++ head/devel/love07/Makefile	Fri Aug 21 16:00:04 2015	(r394970)
@@ -42,19 +42,15 @@ PORTDOCS=	*
 
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.options.mk>
-
 post-patch:
 	@${REINPLACE_CMD} -e '/^prefix=/ d; /^bindir=/ d; /^libdir=/ d' \
 		-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.txt
 	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list