From f2f5fb9def4173d0c608ebd92a64dac1c5d47ffe Mon Sep 17 00:00:00 2001 From: Herve Quiroz Date: Mon, 20 Feb 2006 01:37:17 +0000 Subject: 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 --- games/ggo/Makefile | 38 ++++++++++++++++++++++++++++++++++++++ games/ggo/distinfo | 3 +++ games/ggo/files/ggo.sh.in | 5 +++++ games/ggo/pkg-descr | 6 ++++++ games/ggo/pkg-plist | 13 +++++++++++++ 5 files changed, 65 insertions(+) create mode 100644 games/ggo/Makefile create mode 100644 games/ggo/distinfo create mode 100644 games/ggo/files/ggo.sh.in create mode 100644 games/ggo/pkg-descr create mode 100644 games/ggo/pkg-plist (limited to 'games/ggo') 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 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%% -- cgit v1.2.3