aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2014-11-28 19:21:19 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2014-11-28 19:21:19 +0800
commitae744840bde7dc80c7a605c8b8fecaaced9d7270 (patch)
tree2c77e4e8491c5abc40ee246e87261d6faebd8f31 /games
parentff7701589c1a558682b19f9c9c3459e62743728e (diff)
downloadfreebsd-ports-graphics-ae744840bde7dc80c7a605c8b8fecaaced9d7270.tar.gz
freebsd-ports-graphics-ae744840bde7dc80c7a605c8b8fecaaced9d7270.tar.zst
freebsd-ports-graphics-ae744840bde7dc80c7a605c8b8fecaaced9d7270.zip
- Add empty directory to plist
- Simplify installation - Cosmetic fixes - Add NO_ARCH
Diffstat (limited to 'games')
-rw-r--r--games/pcgen/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/games/pcgen/Makefile b/games/pcgen/Makefile
index c5c85d621a1..2d0babf7927 100644
--- a/games/pcgen/Makefile
+++ b/games/pcgen/Makefile
@@ -13,32 +13,31 @@ RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper
USES= zip
WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION:S/.//g}
-USE_JAVA= YES
+USE_JAVA= yes
JAVA_VERSION= 1.6+
-NO_BUILD= YES
+NO_BUILD= yes
+NO_ARCH= yes
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
-DATAFILES= batch-convert.jar characters data filepaths.ini lib \
- logging.properties outputsheets pcgen.jar plugins preview system
SUB_FILES= pcgen.sh
PLIST_FILES= bin/pcgen
PORTDATA= *
PORTDOCS= *
+PLIST_DIRS= %%DATADIR%%/characters
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
do-install:
- cd ${WRKSRC} && ${FIND} ${DATAFILES} -type d -exec ${MKDIR} ${STAGEDIR}${DATADIR}/{} ";"
- cd ${WRKSRC} && ${FIND} ${DATAFILES} -type f -exec ${INSTALL_DATA} "{}" ${STAGEDIR}${DATADIR}/"{}" ";"
+ 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}
cd "${WRKSRC}/docs" && ${COPYTREE_SHARE} . "${STAGEDIR}${DOCSDIR}"
${INSTALL_DATA} "${WRKSRC}"/*.html "${STAGEDIR}${DOCSDIR}"
.endif
-
.include <bsd.port.mk>