svn commit: r403545 - head/games/ember
Dmitry Marakasov
amdmi3 at FreeBSD.org
Fri Dec 11 16:21:22 UTC 2015
Author: amdmi3
Date: Fri Dec 11 16:21:20 2015
New Revision: 403545
URL: https://svnweb.freebsd.org/changeset/ports/403545
Log:
- Switch to options helpers
Approved by: portmgr blanket
Modified:
head/games/ember/Makefile
Modified: head/games/ember/Makefile
==============================================================================
--- head/games/ember/Makefile Fri Dec 11 15:25:07 2015 (r403544)
+++ head/games/ember/Makefile Fri Dec 11 16:21:20 2015 (r403545)
@@ -40,8 +40,6 @@ USES= openal:al,alut pathfix pkgconfig
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
post-patch:
@${REINPLACE_CMD} -e '\
s|-lGL|-L${LOCALBASE}/lib -lGL|g' \
@@ -60,11 +58,10 @@ post-install:
${FIND} ${STAGEDIR}${DATADIR} -type d -print0 | ${XARGS} -0 ${CHMOD} 0755
${FIND} ${STAGEDIR}${DATADIR} -type f -print0 | ${XARGS} -0 ${CHMOD} 0644
-.if ${PORT_OPTIONS:MDOCS}
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for docfile in README.md COPYING AUTHORS ChangeLog
- @${INSTALL_DATA} ${WRKSRC}/${docfile} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${docfile} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list