diff options
Diffstat (limited to 'games/cgoban2')
-rw-r--r-- | games/cgoban2/Makefile | 21 | ||||
-rw-r--r-- | games/cgoban2/distinfo | 4 |
2 files changed, 13 insertions, 12 deletions
diff --git a/games/cgoban2/Makefile b/games/cgoban2/Makefile index 2139a77c0b83..21e809260cc6 100644 --- a/games/cgoban2/Makefile +++ b/games/cgoban2/Makefile @@ -6,32 +6,33 @@ # PORTNAME= cgoban2 -PORTVERSION= 2.6.8 -CATEGORIES= games +PORTVERSION= 2.6.12 +CATEGORIES= games java MASTER_SITES= http://kgs.kiseido.com/ DISTNAME= cgoban-unix-${PORTVERSION} MAINTAINER= philip.reynolds@rfc-networks.ie COMMENT= Internet Go Server client and game editor -BROKEN= Unfetchable +RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper WRKSRC= ${WRKDIR}/cgoban -INSTALLDIR= ${PREFIX}/share/java/cgoban2 +DATADIR= ${JAVASHAREDIR}/${PORTNAME} -USE_JAVA= 1.3+ +USE_JAVA= yes +JAVA_VERSION= 1.3+ NO_BUILD= yes -PLIST_FILES= bin/cgoban2 share/java/cgoban2/cgoban.jar -PLIST_DIRS= share/java/cgoban2 +PLIST_FILES= bin/cgoban2 %%DATADIR%%/cgoban.jar +PLIST_DIRS= %%DATADIR%% post-patch: - ${SED} -e 's|_DIR=.|_DIR=${INSTALLDIR}| ; s|^java|javavm|'\ + ${SED} -e 's|_DIR=.|_DIR=${DATADIR}| ; s|^java|JAVA_VERSION="${JAVA_VERSION}" "${LOCALBASE}/bin/java"|'\ < ${WRKSRC}/cgoban.sh.in > ${WRKSRC}/cgoban2 do-install: - ${MKDIR} ${INSTALLDIR} - ${INSTALL_DATA} ${WRKSRC}/cgoban.jar ${INSTALLDIR} + ${MKDIR} ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/cgoban.jar ${DATADIR} ${INSTALL_SCRIPT} ${WRKSRC}/cgoban2 ${PREFIX}/bin/cgoban2 .include <bsd.port.mk> diff --git a/games/cgoban2/distinfo b/games/cgoban2/distinfo index 71d5fe781e5a..b36d0f56bd91 100644 --- a/games/cgoban2/distinfo +++ b/games/cgoban2/distinfo @@ -1,2 +1,2 @@ -MD5 (cgoban-unix-2.6.8.tar.gz) = e482ecd4504d708e475146ab121a5bd0 -SIZE (cgoban-unix-2.6.8.tar.gz) = 1121708 +MD5 (cgoban-unix-2.6.12.tar.gz) = 7abfec74878fd811224fff14a9033da8 +SIZE (cgoban-unix-2.6.12.tar.gz) = 1177049 |