summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-board/cgoban2/ChangeLog8
-rw-r--r--games-board/cgoban2/Manifest6
-rw-r--r--games-board/cgoban2/cgoban2-2.5.2.ebuild27
-rw-r--r--games-board/cgoban2/files/cgoban220
-rw-r--r--games-board/cgoban2/files/digest-cgoban2-2.5.21
5 files changed, 49 insertions, 13 deletions
diff --git a/games-board/cgoban2/ChangeLog b/games-board/cgoban2/ChangeLog
index d92bcf63b647..a14debdae1b5 100644
--- a/games-board/cgoban2/ChangeLog
+++ b/games-board/cgoban2/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-board/cgoban2
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/cgoban2/ChangeLog,v 1.3 2003/09/27 01:19:12 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/cgoban2/ChangeLog,v 1.4 2003/09/27 01:26:06 mr_bones_ Exp $
+
+*cgoban2-2.5.2 (26 Sep 2003)
+
+ 26 Sep 2003; Michael Sterrett <msterret@gentoo.org> cgoban2-2.5.2.ebuild,
+ files/cgoban2:
+ version bump
*cgoban2-2.5.1 (17 Jul 2003)
diff --git a/games-board/cgoban2/Manifest b/games-board/cgoban2/Manifest
index 5f2cbdd36185..46d251b5bc07 100644
--- a/games-board/cgoban2/Manifest
+++ b/games-board/cgoban2/Manifest
@@ -1,6 +1,6 @@
-MD5 2479aa199feeb9560c99010625952cf6 ChangeLog 772
+MD5 dc43b0508c7f62fd95fb7effcfee1ae9 ChangeLog 775
MD5 b476ee644550397f5a927b06187150fc cgoban2-2.5.1.ebuild 706
-MD5 f03828c050f03798efaa466ca1455286 cgoban2-2.5.2.ebuild 660
-MD5 7cf04248d3e5fe36637c8bdef86fe652 files/cgoban2 341
+MD5 6c5881d6e590fc98574f10d5355001d6 cgoban2-2.5.2.ebuild 766
+MD5 43df47e140b323e55581eda8401299a9 files/cgoban2 440
MD5 37a97ab008e09ff0c6ff2f31153974a2 files/digest-cgoban2-2.5.1 70
MD5 99d452bbe726a5470dff8f82a51a9392 files/digest-cgoban2-2.5.2 70
diff --git a/games-board/cgoban2/cgoban2-2.5.2.ebuild b/games-board/cgoban2/cgoban2-2.5.2.ebuild
new file mode 100644
index 000000000000..4dd9df3364f5
--- /dev/null
+++ b/games-board/cgoban2/cgoban2-2.5.2.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/cgoban2/cgoban2-2.5.2.ebuild,v 1.1 2003/09/27 01:26:06 mr_bones_ Exp $
+
+inherit games
+
+DESCRIPTION="A Java client for the Kiseido Go Server, and a SGF editor"
+HOMEPAGE="http://kgs.kiseido.com/"
+SRC_URI="http://kgs.kiseido.com/cgoban-unix-${PV}.tar.bz2"
+
+LICENSE="freedist"
+SLOT="0"
+KEYWORDS="x86"
+
+RDEPEND=">=virtual/jre-1.3
+ virtual/x11"
+
+S=${WORKDIR}/cgoban
+
+src_install() {
+ insinto ${GAMES_BINDIR}
+ sed -e "s:INSTALL_DIR:${GAMES_DATADIR}/${PN}:" \
+ ${FILESDIR}/${PN} > ${D}${GAMES_BINDIR}/${PN}
+ insinto ${GAMES_DATADIR}/${PN}
+ doins cgoban.jar || die "doins failed"
+ prepgamesdirs
+}
diff --git a/games-board/cgoban2/files/cgoban2 b/games-board/cgoban2/files/cgoban2
index f5f054f53433..86531fd351ce 100644
--- a/games-board/cgoban2/files/cgoban2
+++ b/games-board/cgoban2/files/cgoban2
@@ -1,10 +1,12 @@
#!/bin/sh
-cd GENTOO_DIR
-javabin="`which java 2>/dev/null`"
-if [ -z "${javabin}" ] ; then
- echo "No 'java' binary found."
- echo "You should run 'java-config' to choose your default VM."
- exit 1
-else
- exec java -jar cgoban.jar "$@"
-fi
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/cgoban2/files/cgoban2,v 1.2 2003/09/27 01:26:06 mr_bones_ Exp $
+
+which java > /dev/null 2>&1 && \
+ java -jar INSTALL_DIR/cgoban.jar $* && \
+ exit 0
+
+echo "No \"java\" binary found in your PATH."
+echo "You should run \"java-config\" to choose your default VM."
+exit 1
diff --git a/games-board/cgoban2/files/digest-cgoban2-2.5.2 b/games-board/cgoban2/files/digest-cgoban2-2.5.2
new file mode 100644
index 000000000000..70e05109fc48
--- /dev/null
+++ b/games-board/cgoban2/files/digest-cgoban2-2.5.2
@@ -0,0 +1 @@
+MD5 052a7a96bc8e4ca095d4d4d72606d41e cgoban-unix-2.5.2.tar.bz2 778048