aboutsummaryrefslogtreecommitdiffstats
path: root/games/cgoban2
diff options
context:
space:
mode:
authorhq <hq@FreeBSD.org>2005-04-21 19:59:46 +0800
committerhq <hq@FreeBSD.org>2005-04-21 19:59:46 +0800
commit05d904dcb0e22f8041f2656d78b2f80a74d8b24d (patch)
tree8dfaab2a55d083563364c02d7ee9e7a31c58d3f2 /games/cgoban2
parent2883dccb7a7123df65826b2d8b6fe8f0cf4079d0 (diff)
downloadfreebsd-ports-gnome-05d904dcb0e22f8041f2656d78b2f80a74d8b24d.tar.gz
freebsd-ports-gnome-05d904dcb0e22f8041f2656d78b2f80a74d8b24d.tar.zst
freebsd-ports-gnome-05d904dcb0e22f8041f2656d78b2f80a74d8b24d.zip
- Update to 2.6.12 [2]
- Update to bsd.java.mk 2.0 - Use javavmwrapper 2.0 - Use DATADIR=${JAVASHAREDIR}/${PORTNAME} - Add 'java' category [3] PR: 79278 [1], 80182 [2] Submitted by: ceri [1], Adrian Steinmann <ast@marabu.ch> [2] Reported by: portlint [3] Approved by: maintainer timeout
Diffstat (limited to 'games/cgoban2')
-rw-r--r--games/cgoban2/Makefile21
-rw-r--r--games/cgoban2/distinfo4
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