summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <tristan@gentoo.org>2007-06-11 13:51:25 +0000
committerTristan Heaven <tristan@gentoo.org>2007-06-11 13:51:25 +0000
commit632ab97ae473a10fdfc5bac91a2f0cefb1b82d5b (patch)
tree3c78321b612421aed9f17928eaa9531f9f3cd64e /games-board
parentRemove jdbc-mssqlserver from package.mask (diff)
downloadhistorical-632ab97ae473a10fdfc5bac91a2f0cefb1b82d5b.tar.gz
historical-632ab97ae473a10fdfc5bac91a2f0cefb1b82d5b.tar.bz2
historical-632ab97ae473a10fdfc5bac91a2f0cefb1b82d5b.zip
Add nls USE flag
Package-Manager: portage-2.1.2.9
Diffstat (limited to 'games-board')
-rw-r--r--games-board/grhino/ChangeLog5
-rw-r--r--games-board/grhino/Manifest24
-rw-r--r--games-board/grhino/grhino-0.16.0.ebuild37
3 files changed, 43 insertions, 23 deletions
diff --git a/games-board/grhino/ChangeLog b/games-board/grhino/ChangeLog
index d98d43e24008..139fbfb4a513 100644
--- a/games-board/grhino/ChangeLog
+++ b/games-board/grhino/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-board/grhino
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/grhino/ChangeLog,v 1.4 2007/01/09 23:57:00 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/grhino/ChangeLog,v 1.5 2007/06/11 13:51:25 nyhm Exp $
+
+ 11 Jun 2007; Tristan Heaven <nyhm@gentoo.org> grhino-0.16.0.ebuild:
+ Add nls USE flag
09 Jan 2007; <tupone@gentoo.org> grhino-0.16.0.ebuild:
Install menu entry only if gnome use flag has been specified
diff --git a/games-board/grhino/Manifest b/games-board/grhino/Manifest
index f06da0155602..93388bd07e30 100644
--- a/games-board/grhino/Manifest
+++ b/games-board/grhino/Manifest
@@ -2,14 +2,14 @@
Hash: SHA1
DIST grhino-0.16.0.tar.gz 1172321 RMD160 f91415e5263eec3837a2a0cb06b610f0ba64668f SHA1 ca76895fc2370995e4942aec98e4359ce5549925 SHA256 67c3263bcfeb064b859149b25ee3c1c7d33a07ff4f83955eb501e9517069b9cf
-EBUILD grhino-0.16.0.ebuild 998 RMD160 e401a3025622bdd6b059ef3c6ac32124a8b90598 SHA1 5c7c2fbdd158c01f3cd20722f2e3bd5b2035d4a1 SHA256 9c03aa4f71c77b02e0ecca80e40584f38eee34d661b0bafbcd079c161b63a8da
-MD5 4ae0cb2d091b717703bb49aa0e2b57ad grhino-0.16.0.ebuild 998
-RMD160 e401a3025622bdd6b059ef3c6ac32124a8b90598 grhino-0.16.0.ebuild 998
-SHA256 9c03aa4f71c77b02e0ecca80e40584f38eee34d661b0bafbcd079c161b63a8da grhino-0.16.0.ebuild 998
-MISC ChangeLog 669 RMD160 03511c89b23943dfd56791bd6677885ce2e25e58 SHA1 6182f67746a555bf6773fa19a5787723804cc928 SHA256 06d9f7a32b25571995a92194d955cac5d4b5dc93eb8c2e08cf523a0d0e51e1e7
-MD5 98cf00627a07e67834fc257f5f7478d4 ChangeLog 669
-RMD160 03511c89b23943dfd56791bd6677885ce2e25e58 ChangeLog 669
-SHA256 06d9f7a32b25571995a92194d955cac5d4b5dc93eb8c2e08cf523a0d0e51e1e7 ChangeLog 669
+EBUILD grhino-0.16.0.ebuild 1271 RMD160 382e5d2082caa51dd8c723da9c2f6dcf42911a73 SHA1 04105b0e0dffb5b831d0a1746c6abc6d8b9962ba SHA256 2637a49df1a13a39ba82ee07b56ce79f6ed5198510d8af25700997ca70e0ce78
+MD5 16a87f9416a36f1c0238dfc35215fd25 grhino-0.16.0.ebuild 1271
+RMD160 382e5d2082caa51dd8c723da9c2f6dcf42911a73 grhino-0.16.0.ebuild 1271
+SHA256 2637a49df1a13a39ba82ee07b56ce79f6ed5198510d8af25700997ca70e0ce78 grhino-0.16.0.ebuild 1271
+MISC ChangeLog 757 RMD160 c04584ae17d3c88c5843a249a66da2aefc0fd448 SHA1 707148020ac3b5ad9669e9cf98c1d0f9cf0e6ad3 SHA256 5c3ac5399e7f82f59f8e0b7752a3f65529acc8a8b0dab270d38d2f6c3c45750f
+MD5 036e0095be95184c3aaed5dd3f04b8ef ChangeLog 757
+RMD160 c04584ae17d3c88c5843a249a66da2aefc0fd448 ChangeLog 757
+SHA256 5c3ac5399e7f82f59f8e0b7752a3f65529acc8a8b0dab270d38d2f6c3c45750f ChangeLog 757
MISC metadata.xml 238 RMD160 8872b2ed83510b48c76de3a803f2a210700dd788 SHA1 06e93b70ce65d919134523c7a0e4eea53f24bbaf SHA256 6074371c0e97117a7c74e35f1a976752b7d0a35696304999f64ee050109da08a
MD5 53c3ea18e0d4b2ec8f23a1726fd2598f metadata.xml 238
RMD160 8872b2ed83510b48c76de3a803f2a210700dd788 metadata.xml 238
@@ -18,9 +18,9 @@ MD5 1645af6c8a185076c03cdaafbfba0a4e files/digest-grhino-0.16.0 244
RMD160 b945239b8bf0fab4e496ad2832ab86250004f7e1 files/digest-grhino-0.16.0 244
SHA256 8770b2359a20e7941d67bf5580fcb9daf99ac39f7016fdbc67debeb76a70161d files/digest-grhino-0.16.0 244
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.6 (GNU/Linux)
+Version: GnuPG v2.0.4 (GNU/Linux)
-iD8DBQFFpCvWbfN2jvlVAhwRAv7tAJ4lWQIie/cpCDtdYLiNlaN4UPZvQACeOYI+
-awM6tS5/WFOPyhjNYE1/eHM=
-=hOUe
+iD8DBQFGbVNjdz7hIScOURERAo2UAKCWQx/ePH+TjKtHMcglAFoYVg7LhQCfVoCM
+QLekULKKiUBevc1kfr91Qko=
+=hd8e
-----END PGP SIGNATURE-----
diff --git a/games-board/grhino/grhino-0.16.0.ebuild b/games-board/grhino/grhino-0.16.0.ebuild
index 8320856afc88..4fef6b652c1f 100644
--- a/games-board/grhino/grhino-0.16.0.ebuild
+++ b/games-board/grhino/grhino-0.16.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/grhino/grhino-0.16.0.ebuild,v 1.4 2007/01/09 23:57:00 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/grhino/grhino-0.16.0.ebuild,v 1.5 2007/06/11 13:51:25 nyhm Exp $
inherit eutils games
@@ -11,30 +11,47 @@ SRC_URI="mirror://sourceforge/rhino/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
-IUSE="gnome gtp"
-
-DEPEND="gnome? ( =gnome-base/libgnomeui-2* )"
+IUSE="gnome gtp nls"
+
+RDEPEND="gnome? ( =gnome-base/libgnomeui-2* )
+ nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i '/^(\|locale\|help\|omf\|icon\|)/s:@datadir@:/usr/share:' \
+ Makefile.in \
+ || die "sed failed"
+}
src_compile() {
if use gnome || use gtp; then
egamesconf \
+ --localedir=/usr/share/locale \
$(use_enable gnome) \
$(use_enable gtp) \
- || die "egamesconf failed"
+ $(use_enable nls) \
+ || die
else
- egamesconf --enable-gtp || die "egamesconf failed"
+ egamesconf \
+ --enable-gtp \
+ --disable-gnome \
+ --localedir=/usr/share/locale \
+ $(use_enable nls) \
+ || die
fi
emake || die "emake failed"
}
src_install() {
- make install DESTDIR=${D} || die "make install failed"
+ emake DESTDIR="${D}" install || die "emake install failed"
- dodoc ChangeLog NEWS README TODO || die "installing docs failed"
+ dodoc ChangeLog NEWS README TODO
if use gnome; then
- doicon ${PN}.png
- make_desktop_entry ${PN} "GRhino" ${PN}.png
+ make_desktop_entry ${PN} GRhino
fi
prepgamesdirs