games-board/cgoban2: remove deprecated games eclass
authorAustin English <wizardedit@gentoo.org>
Thu, 8 Sep 2016 23:33:06 +0000 (18:33 -0500)
committerAustin English <wizardedit@gentoo.org>
Wed, 14 Sep 2016 17:26:33 +0000 (12:26 -0500)
Also update to EAPI 6

Gentoo-Bug: https://bugs.gentoo.org/574082

Package-Manager: portage-2.3.0

games-board/cgoban2/cgoban2-2.6.12-r1.ebuild [new file with mode: 0644]

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 (file)
index 0000000..43b7caf
--- /dev/null
@@ -0,0 +1,26 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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
+}