- Update to 5.7.9
- Use the new features from java/javavmwrapper
This commit is contained in:
parent
7ba9a1bb67
commit
b91ac24c97
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=122414
@ -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}..."
|
||||
|
@ -1,2 +1,2 @@
|
||||
MD5 (pcgen578_partial.zip) = fcd591dce33e3a56076bf707cc547435
|
||||
SIZE (pcgen578_partial.zip) = 8248649
|
||||
MD5 (pcgen579_partial.zip) = 227806f827e3f74dea5088f907e1ad7c
|
||||
SIZE (pcgen579_partial.zip) = 8326896
|
||||
|
Loading…
Reference in New Issue
Block a user