aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorhq <hq@FreeBSD.org>2006-02-20 09:37:17 +0800
committerhq <hq@FreeBSD.org>2006-02-20 09:37:17 +0800
commit556479c03f9a10bc54bf345c836c251db23b46b4 (patch)
treed7c407116fa32bc7c5b076ea050389168fff5bb4 /games
parentb62fb2a42b829cda59a1749974dd3684c0c33cb6 (diff)
downloadfreebsd-ports-gnome-556479c03f9a10bc54bf345c836c251db23b46b4.tar.gz
freebsd-ports-gnome-556479c03f9a10bc54bf345c836c251db23b46b4.tar.zst
freebsd-ports-gnome-556479c03f9a10bc54bf345c836c251db23b46b4.zip
PANDA-gGo is a Go board, SGF editor, client for the Internet Go Server
and an interface for playing with GNU Go. gGo is written in Java and available for any Java-enabled platform. gGo is distributed free of charge. Go is an ancient boardgame, very common in Japan, China and Korea. PR: 93261 Submitted by: Jonathan Chen <jonc@chen.org.nz>
Diffstat (limited to 'games')
-rw-r--r--games/Makefile1
-rw-r--r--games/ggo/Makefile38
-rw-r--r--games/ggo/distinfo3
-rw-r--r--games/ggo/files/ggo.sh.in5
-rw-r--r--games/ggo/pkg-descr6
-rw-r--r--games/ggo/pkg-plist13
6 files changed, 66 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 0a5bc993dcfc..2e39667104b3 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -203,6 +203,7 @@
SUBDIR += geki2
SUBDIR += geki3
SUBDIR += gemdropx
+ SUBDIR += ggo
SUBDIR += ggz-client-libs
SUBDIR += ggz-gtk-client
SUBDIR += ggz-sdl-games
diff --git a/games/ggo/Makefile b/games/ggo/Makefile
new file mode 100644
index 000000000000..fecacae1014d
--- /dev/null
+++ b/games/ggo/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: gGo
+# Date created: 12 February 2005
+# Whom: jonc@chen.org.nz
+#
+# $FreeBSD$
+#
+
+PORTNAME= ggo
+PORTVERSION= 1.0
+CATEGORIES= games java
+MASTER_SITES= http://www.pandanet.co.jp/java/gGo/download/
+DISTNAME= gGo-${PORTVERSION}
+
+MAINTAINER= jonc@chen.org.nz
+COMMENT= PandaNet's IGS Client, GNU Go Client and SGF Editor
+
+RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper
+
+USE_JAVA= yes
+JAVA_VERSION= 1.3+
+NO_BUILD= yes
+NO_WRKSUBDIR= yes
+RESTRICTED= Redistribution is restricted
+STRIP=
+SUB_FILES= ggo.sh
+
+post-extract:
+ @cd ${WRKDIR} && ${TAR} xf gGo.ss
+
+do-install:
+ ${MKDIR} ${DATADIR}
+ for JAR in ${WRKDIR}/usr/local/gGo/lib/*.jar ${WRKDIR}/usr/local/gGo/lib/*.zip ; \
+ do \
+ ${INSTALL_DATA} $${JAR} ${DATADIR}; \
+ done
+ ${INSTALL_SCRIPT} ${WRKDIR}/ggo.sh ${PREFIX}/bin/ggo
+
+.include <bsd.port.mk>
diff --git a/games/ggo/distinfo b/games/ggo/distinfo
new file mode 100644
index 000000000000..7769bab4737b
--- /dev/null
+++ b/games/ggo/distinfo
@@ -0,0 +1,3 @@
+MD5 (gGo-1.0.tar.gz) = 36252ab21b1331ab08c8376d6b179449
+SHA256 (gGo-1.0.tar.gz) = 2b21f0f9dbb260ec62e7c0780257e8ea71091ecd9b71208929bff23ea879d13a
+SIZE (gGo-1.0.tar.gz) = 2754581
diff --git a/games/ggo/files/ggo.sh.in b/games/ggo/files/ggo.sh.in
new file mode 100644
index 000000000000..7801f908b8a4
--- /dev/null
+++ b/games/ggo/files/ggo.sh.in
@@ -0,0 +1,5 @@
+#!/bin/sh
+#
+# $FreeBSD$
+
+JAVA_VERSION="%%JAVA_VERSION%%" "%%LOCALBASE%%/bin/java" -jar "%%DATADIR%%/gGo.jar"
diff --git a/games/ggo/pkg-descr b/games/ggo/pkg-descr
new file mode 100644
index 000000000000..05d7610afe88
--- /dev/null
+++ b/games/ggo/pkg-descr
@@ -0,0 +1,6 @@
+PANDA-gGo is a Go board, SGF editor, client for the Internet Go Server
+and an interface for playing with GNU Go. gGo is written in Java and
+available for any Java-enabled platform. gGo is distributed free of
+charge.
+
+Go is an ancient boardgame, very common in Japan, China and Korea.
diff --git a/games/ggo/pkg-plist b/games/ggo/pkg-plist
new file mode 100644
index 000000000000..96f2f185bafd
--- /dev/null
+++ b/games/ggo/pkg-plist
@@ -0,0 +1,13 @@
+@comment $FreeBSD$
+bin/ggo
+%%DATADIR%%/gGo.jar
+%%DATADIR%%/LiquidLnF.jar
+%%DATADIR%%/ggohelp.jar
+%%DATADIR%%/jh.jar
+%%DATADIR%%/kunststoff.jar
+%%DATADIR%%/metouia.jar
+%%DATADIR%%/plastic.jar
+%%DATADIR%%/playerdb.jar
+%%DATADIR%%/skinlf.jar
+%%DATADIR%%/themepack.zip
+@dirrm %%DATADIR%%