summaryrefslogtreecommitdiff
path: root/games-board/cgoban2
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /games-board/cgoban2
reinit the tree, so we can have metadata
Diffstat (limited to 'games-board/cgoban2')
-rw-r--r--games-board/cgoban2/Manifest7
-rw-r--r--games-board/cgoban2/cgoban2-2.6.12-r1.ebuild25
-rw-r--r--games-board/cgoban2/cgoban2-2.6.12.ebuild27
-rw-r--r--games-board/cgoban2/files/cgoban211
-rw-r--r--games-board/cgoban2/metadata.xml12
5 files changed, 82 insertions, 0 deletions
diff --git a/games-board/cgoban2/Manifest b/games-board/cgoban2/Manifest
new file mode 100644
index 000000000000..b1583c6dca78
--- /dev/null
+++ b/games-board/cgoban2/Manifest
@@ -0,0 +1,7 @@
+AUX cgoban2 324 SHA256 0ac830714bc4037205749749de6bcf0fab085d8546ff5364abbd99d1ee510752 SHA512 67b89373238fde6c8589719b36af7e08d6bfe42c945265f6416e7f7553cb66f90c70f03d48ab99c8d7d7ef039a93e77d285f29a1af96069201b227a8a1970e4b WHIRLPOOL d21171ff21071e16f4dce96494ffe2f1c49d0c8722f1cb4056c2a207a43cf60f4e7c420be10749cf8c368bfd94facf9e1c7866444cc3b021df0daf3bfc760858
+DIST cgoban-unix-2.6.12.tar.bz2 1180638 SHA256 08547991722300871c54536b0fc8498b93c543cd746e2ff874e0fc2319cce2cf SHA512 70725778ea25d4054d6944a25b512fe247ebc2280395cb0f4ee58e2f3c96dc6405ea3ed2ec03637ea3b3f2d4be470110181b117cedc13fad28bf8f66d146f6a3 WHIRLPOOL 569bc68bbbbca4870d1dd934453d63daa9b9d16ac7387ce6e79b78e6c53020915374b27f318aa75b83ca862b1c07022118901fba3c9da6cfa9429d599b5d1644
+EBUILD cgoban2-2.6.12-r1.ebuild 558 SHA256 d2fdca065625f9d27cdda7e9ef4128d17c0dc232cde29c350bf02cdbc471f20c SHA512 df53ce9d38b331d94e07e717686215e10952067ff07468e236b0633a7b1d46e89d34656d2eaa80622f1c505e7a3dfc67f1e5b6606076414e4fb123be3c41c502 WHIRLPOOL c02de1d4f00d28628d3bb5c43c0cff9cd164c0efdd2bae19a5c2037c92f24a4ad8097b13742fe7323cc34df00404b3a2be9e662f657da7fbc8da4b7d7518f4be
+EBUILD cgoban2-2.6.12.ebuild 615 SHA256 2cabe4d96504b9db99283d87ba6c00158faba98e678c67fa26693e45c3f517c0 SHA512 2a8a6db0e755e46dd7b13a6fc2a451b104dbb769488115c2009081f3e2b515bb97204634ea2e5de9b7f2c1f8cbff593f7d4455dea30370960beb1acc692e8f9f WHIRLPOOL 3da05e712a0b74046609600142442a11708bec5bbc37f363feb4f850ad2a3ee267454f524bd289abf06cf422eff2bc4c843459a5c1ba66967f12895d5606754d
+MISC ChangeLog 2843 SHA256 66a30888d2133b3faa7559c0275e8583d58ad704f351db2f6c57061b03afbde9 SHA512 fd53f16ec490de124280483be6320d4741fae433f079b824848eec1c3f14b2f81e5161431ebae2812a3bc2d5213830692af7a9e4d3e64ff1c49d78a8b2c71196 WHIRLPOOL d27a7d238d058b42b4f3ba088b2c472b6f765df663045164ccc2590f3db4972a5f767533348e4d02c4eba0164ee8adc728b7a58e073be1495bcb6e2640e0132b
+MISC ChangeLog-2015 4109 SHA256 5c530b88bfcc8e04aea202f623d53bb4da0b4252178c730e3e28e64cfba1d58e SHA512 730ab70bee1630162af269fc8a5bd06d913f855c72a549c5cd316fe30bd773a0a7e24692c35c7ab82967004b876cec25a019a78f0df53544ed77463221805a65 WHIRLPOOL d377f481d8be58ca7054566807cb54a726fd241547a04ff94596e8bd4aeb77041295fbb676c586cf4925112a4597654fb0e3fc9ce1ba15b961f85b6f035e840e
+MISC metadata.xml 354 SHA256 5f6f45cb678beb6c0bef4372deccd5e1c46231463de61c80f9c16d1d1a6803c0 SHA512 fb9e4b832f3eddf1f15ef7c5510a51c03e0b358ed63a24436711c695ffbb6a9e44761ea2776e3d8d81b36adea8399232f5f8939bd2e0aee37923a37b13f5307e WHIRLPOOL 2bb474894bc6834102f113f433028769e38b95ab73446df7073703b5bd68930299bd6f309ac6854cc3ed53b3988762e0d09d5b7528ddeaef639fe0828ee6ef48
diff --git a/games-board/cgoban2/cgoban2-2.6.12-r1.ebuild b/games-board/cgoban2/cgoban2-2.6.12-r1.ebuild
new file mode 100644
index 000000000000..4a06481597fd
--- /dev/null
+++ b/games-board/cgoban2/cgoban2-2.6.12-r1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="A Java client for the Kiseido Go Server, and a SGF editor"
+HOMEPAGE="http://www.gokgs.com/"
+SRC_URI="mirror://gentoo/cgoban-unix-${PV}.tar.bz2"
+
+LICENSE="freedist"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.3"
+
+S=${WORKDIR}/cgoban
+
+src_install() {
+ dodir /usr/bin
+ sed -e "s:INSTALL_DIR:/usr/share/${PN}:" \
+ "${FILESDIR}/${PN}" > "${D}/usr/bin/${PN}" || die
+ insinto /usr/share/${PN}
+ doins cgoban.jar
+}
diff --git a/games-board/cgoban2/cgoban2-2.6.12.ebuild b/games-board/cgoban2/cgoban2-2.6.12.ebuild
new file mode 100644
index 000000000000..bfb63ad45b94
--- /dev/null
+++ b/games-board/cgoban2/cgoban2-2.6.12.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit games
+
+DESCRIPTION="A Java client for the Kiseido Go Server, and a SGF editor"
+HOMEPAGE="http://www.gokgs.com/"
+SRC_URI="mirror://gentoo/cgoban-unix-${PV}.tar.bz2"
+
+LICENSE="freedist"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.3"
+
+S=${WORKDIR}/cgoban
+
+src_install() {
+ dodir "${GAMES_BINDIR}"
+ sed -e "s:INSTALL_DIR:${GAMES_DATADIR}/${PN}:" \
+ "${FILESDIR}/${PN}" > "${D}${GAMES_BINDIR}/${PN}" || die
+ insinto "${GAMES_DATADIR}/${PN}"
+ doins cgoban.jar
+ prepgamesdirs
+}
diff --git a/games-board/cgoban2/files/cgoban2 b/games-board/cgoban2/files/cgoban2
new file mode 100644
index 000000000000..db6cd5b371d0
--- /dev/null
+++ b/games-board/cgoban2/files/cgoban2
@@ -0,0 +1,11 @@
+#!/bin/sh
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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/metadata.xml b/games-board/cgoban2/metadata.xml
new file mode 100644
index 000000000000..a3bfec4ccf24
--- /dev/null
+++ b/games-board/cgoban2/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+<email>mr_bones_@gentoo.org</email>
+<name>Michael Sterrett</name>
+</maintainer>
+<maintainer type="project">
+<email>games@gentoo.org</email>
+<name>Gentoo Games Project</name>
+</maintainer>
+</pkgmetadata>