summaryrefslogtreecommitdiff
path: root/games-board/grhino
diff options
context:
space:
mode:
Diffstat (limited to 'games-board/grhino')
-rw-r--r--games-board/grhino/Manifest1
-rw-r--r--games-board/grhino/grhino-0.16.1-r2.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/games-board/grhino/Manifest b/games-board/grhino/Manifest
index 7c2805bfb365..e12d40098daf 100644
--- a/games-board/grhino/Manifest
+++ b/games-board/grhino/Manifest
@@ -1,3 +1,4 @@
DIST grhino-0.16.1.tar.gz 1178091 BLAKE2B aa5d0c7aab142aabc39d849cbf18cce5aeb57d42f74ad1e2117c57e735d9a6b383fc284cae82c64d5ed8ac809eb364568133e06f42a1062312512becf87df315 SHA512 17fd5539a9d74a715237a51cbf2f3119feae2bed6a26496b02d7882385d5567571ba4b4c4018554944d07322e5a0c3b3235e141579281621f5a030acbe6480e2
EBUILD grhino-0.16.1-r1.ebuild 961 BLAKE2B bb979c3934c7a110f9bd1f9999716abf14240e18c5433a0af211dc77c69c2130fad8d9f537493916a7f9c7a9a4e5f9e371f9409e870a9d6bf89f8d29b42f0e47 SHA512 e399e36b3bc2e812d64cc8770bd27186c8c16e6950b42b6b514ee7b77fb2551300ac39b3e89d5995af9226866ed2dd052244aa373575081c9eb40717be38c65e
+EBUILD grhino-0.16.1-r2.ebuild 680 BLAKE2B 1a4c7d6dd9ac0ff256b236b51486741cacc1bf3743f1c188b2997f097cdfc7229b92b92dac0d243ea2cb9c0df597b146f438615e0830b0c3729f3130d58d5220 SHA512 f9b5d42d27d5d78e52a8ecac328dea1c7c6a10ed8c7f546746258b5da38d6e54286f047bc5e2d35acef78df0c9db0073d811d8d529fbebc761727452556c4074
MISC metadata.xml 513 BLAKE2B a54919c1b021a9e66b91ba91a110e75b9dd687538bc0da2c2beb5f738615e0f034954a7f19273022199efeb47cf1d3933ab5db7ddd8649a492846fd6a020eb05 SHA512 783fb713c40369df38b8aebba6ac6234ee646e097c1992b1ebeb790c3ddd1fa1915c5fcf4f1505f1b6450d9a4ca85e6be7eb38613316a3a475b625906fea6fc4
diff --git a/games-board/grhino/grhino-0.16.1-r2.ebuild b/games-board/grhino/grhino-0.16.1-r2.ebuild
new file mode 100644
index 000000000000..004aa040e4f2
--- /dev/null
+++ b/games-board/grhino/grhino-0.16.1-r2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils
+
+DESCRIPTION="Reversi game for GNOME, supporting the Go/Game Text Protocol"
+HOMEPAGE="http://rhino.sourceforge.net/"
+SRC_URI="mirror://sourceforge/rhino/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="nls"
+
+RDEPEND="
+ nls? ( virtual/libintl )
+"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )
+"
+
+src_prepare() {
+ default
+
+ sed -i '/^(\|locale\|help\|omf\|icon\|)/s:@datadir@:/usr/share:' \
+ Makefile.in || die
+}
+
+src_configure() {
+ econf \
+ --localedir=/usr/share/locale \
+ --enable-gtp \
+ --disable-gnome \
+ $(use_enable nls)
+}