svn commit: r403341 - head/games/pcgen

Dmitry Marakasov amdmi3 at FreeBSD.org
Tue Dec 8 19:24:37 UTC 2015


Author: amdmi3
Date: Tue Dec  8 19:24:35 2015
New Revision: 403341
URL: https://svnweb.freebsd.org/changeset/ports/403341

Log:
  - Switch to options helpers

Modified:
  head/games/pcgen/Makefile

Modified: head/games/pcgen/Makefile
==============================================================================
--- head/games/pcgen/Makefile	Tue Dec  8 19:23:09 2015	(r403340)
+++ head/games/pcgen/Makefile	Tue Dec  8 19:24:35 2015	(r403341)
@@ -27,15 +27,13 @@ PLIST_DIRS=	%%DATADIR%%/characters
 
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.options.mk>
-
 do-install:
 	cd ${WRKSRC} && ${COPYTREE_SHARE} "batch-convert.jar characters data filepaths.ini lib \
 		logging.properties outputsheets pcgen.jar plugins preview system" ${STAGEDIR}${DATADIR}
 	${INSTALL_SCRIPT} ${WRKDIR}/pcgen.sh ${STAGEDIR}${PREFIX}/bin/pcgen
-.if ${PORT_OPTIONS:MDOCS}
+
+do-install-DOCS-on:
 	cd "${WRKSRC}/docs" && ${COPYTREE_SHARE} . "${STAGEDIR}${DOCSDIR}"
 	${INSTALL_DATA} "${WRKSRC}"/*.html "${STAGEDIR}${DOCSDIR}"
-.endif
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list