From 833c609d7c13aefbf3499237556e684cb709a476 Mon Sep 17 00:00:00 2001 From: hq Date: Thu, 8 Sep 2005 13:46:23 +0000 Subject: - Update to 5.8.0 (latest release from stable branch) - Add a FreeBSD-specific launcher shell script. It allows the user to specify Java VM args using PCGEN_OPTS --- games/pcgen/Makefile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'games/pcgen/Makefile') diff --git a/games/pcgen/Makefile b/games/pcgen/Makefile index 15f199291fc6..5c74b841d712 100644 --- a/games/pcgen/Makefile +++ b/games/pcgen/Makefile @@ -5,7 +5,7 @@ # $FreeBSD$ PORTNAME= pcgen -PORTVERSION= 5.7.15 +PORTVERSION= 5.8.0 CATEGORIES= games java MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= pcgen @@ -26,6 +26,8 @@ DATADIR= ${JAVASHAREDIR}/${PORTNAME} DATAFILES= characters data filepaths.ini lib outputsheets pcgen.jar plugins system PLIST_FILES+= bin/pcgen +SUB_FILES= pcgen.sh + .if !defined(NOPORTDOCS) PORTDOCS= acknowledgments faqpages gmgen greetings.html images \ index.html installationpages listfilepages menupages \ @@ -38,10 +40,6 @@ post-extract: do-configure: @${ECHO_CMD} "pcgen.filepaths=user" > ${WRKSRC}/filepaths.ini - @${SED} \ - -e 's|^java|JAVA_VERSION="1.4+" "${LOCALBASE}/bin/java"|' \ - -e 's|`dirname $$0`|"${DATADIR}"|' \ - ${WRKSRC}/pcgen.sh > ${WRKSRC}/pcgen.sh.bsd do-install: @${ECHO_MSG} -n ">> Installing in ${DATADIR}..." @@ -49,7 +47,7 @@ do-install: @cd ${WRKSRC} && ${FIND} ${DATAFILES} -type f -exec ${INSTALL_DATA} {} ${DATADIR}/{} ";" @${ECHO_MSG} " [ DONE ]" @${ECHO_MSG} -n ">> Installing launcher script as ${PREFIX}/bin/pcgen..." - @${INSTALL_SCRIPT} ${WRKSRC}/pcgen.sh.bsd ${PREFIX}/bin/pcgen + @${INSTALL_SCRIPT} ${WRKDIR}/pcgen.sh ${PREFIX}/bin/pcgen @${ECHO_MSG} " [ DONE ]" .if !defined(NOPORTDOCS) @${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..." -- cgit