aboutsummaryrefslogtreecommitdiffstats
path: root/games/pcgen
diff options
context:
space:
mode:
authorhq <hq@FreeBSD.org>2004-11-26 00:33:05 +0800
committerhq <hq@FreeBSD.org>2004-11-26 00:33:05 +0800
commitd767b77f128d3620d8f10347bcb5d810a36eaa97 (patch)
treee0dd459811bc7389e18f8425a41967c0f9176c6d /games/pcgen
parentd45d73f46c5b7a09c710ebafcddd6baa9ee0de72 (diff)
downloadfreebsd-ports-gnome-d767b77f128d3620d8f10347bcb5d810a36eaa97.tar.gz
freebsd-ports-gnome-d767b77f128d3620d8f10347bcb5d810a36eaa97.tar.zst
freebsd-ports-gnome-d767b77f128d3620d8f10347bcb5d810a36eaa97.zip
- Update to 5.7.9
- Use the new features from java/javavmwrapper
Diffstat (limited to 'games/pcgen')
-rw-r--r--games/pcgen/Makefile13
-rw-r--r--games/pcgen/distinfo4
2 files changed, 11 insertions, 6 deletions
diff --git a/games/pcgen/Makefile b/games/pcgen/Makefile
index 80118dabe90e..d8d25c19aa94 100644
--- a/games/pcgen/Makefile
+++ b/games/pcgen/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= pcgen
-PORTVERSION= 5.7.8
+PORTVERSION= 5.7.9
CATEGORIES= games java
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= pcgen
@@ -14,6 +14,8 @@ DISTNAME= pcgen${PORTVERSION:S/.//g}_partial
MAINTAINER= hq@FreeBSD.org
COMMENT= A Java-based RPG character generator and maintenance program
+RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper
+
USE_ZIP= YES
WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION:S/.//g}
USE_JAVA= YES
@@ -36,15 +38,18 @@ post-extract:
do-configure:
@${ECHO_MSG} "pcgen.filepaths=user" > ${WRKSRC}/filepaths.ini
- @cd ${WRKSRC} && ${SED} "s|^java|${JAVA}|" pcgen.sh | ${SED} 's|`dirname $$0`|${DATADIR}|' > pcgen.sh.bsd
+ @${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}..."
@cd ${WRKSRC} && ${FIND} ${DATAFILES} -type d -exec ${MKDIR} ${DATADIR}/{} ";"
@cd ${WRKSRC} && ${FIND} ${DATAFILES} -type f -exec ${INSTALL_DATA} {} ${DATADIR}/{} ";"
@${ECHO_MSG} " [ DONE ]"
- @${ECHO_MSG} -n ">> Installing script as ${PREFIX}/bin/pcgen..."
- @cd ${WRKSRC} && ${INSTALL_SCRIPT} pcgen.sh.bsd ${PREFIX}/bin/pcgen
+ @${ECHO_MSG} -n ">> Installing launcher script as ${PREFIX}/bin/pcgen..."
+ @${INSTALL_SCRIPT} ${WRKSRC}/pcgen.sh.bsd ${PREFIX}/bin/pcgen
@${ECHO_MSG} " [ DONE ]"
.if !defined(NOPORTDOCS)
@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."
diff --git a/games/pcgen/distinfo b/games/pcgen/distinfo
index 21eec8b9c186..ba528d3fadfc 100644
--- a/games/pcgen/distinfo
+++ b/games/pcgen/distinfo
@@ -1,2 +1,2 @@
-MD5 (pcgen578_partial.zip) = fcd591dce33e3a56076bf707cc547435
-SIZE (pcgen578_partial.zip) = 8248649
+MD5 (pcgen579_partial.zip) = 227806f827e3f74dea5088f907e1ad7c
+SIZE (pcgen579_partial.zip) = 8326896