1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

- Switch to options helpers

This commit is contained in:
Dmitry Marakasov 2015-12-08 19:24:35 +00:00
parent ed5c5ae051
commit 852131865d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=403341

View File

@ -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>