aboutsummaryrefslogtreecommitdiff
path: root/games/pcgen/Makefile
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-12-08 19:24:35 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-12-08 19:24:35 +0000
commit852131865dcd48a01c34f0f98e7e0e8b24b7b749 (patch)
tree53df6a6af0edd702d8455c1223dd83de8cef1ae0 /games/pcgen/Makefile
parented5c5ae0512a16a498ca255904fc54b43f757ef3 (diff)
downloadports-852131865dcd48a01c34f0f98e7e0e8b24b7b749.tar.gz
ports-852131865dcd48a01c34f0f98e7e0e8b24b7b749.zip
- Switch to options helpers
Notes
Notes: svn path=/head/; revision=403341
Diffstat (limited to 'games/pcgen/Makefile')
-rw-r--r--games/pcgen/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/games/pcgen/Makefile b/games/pcgen/Makefile
index 4703959807a2..a45908a030e6 100644
--- a/games/pcgen/Makefile
+++ b/games/pcgen/Makefile
@@ -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>