summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2006-10-04 16:24:33 +0000
committerTristan Heaven <nyhm@gentoo.org>2006-10-04 16:24:33 +0000
commitc777243bbb3f0e895f58472e8674d59e47977111 (patch)
tree463b2d7f08f9564ef0c33e34da2587777c521e4f /games-board
parentcatalyst's cdr support for now is Linux-specific, mask it until it's ported. (diff)
downloadgentoo-2-c777243bbb3f0e895f58472e8674d59e47977111.tar.gz
gentoo-2-c777243bbb3f0e895f58472e8674d59e47977111.tar.bz2
gentoo-2-c777243bbb3f0e895f58472e8674d59e47977111.zip
Fix nls support
(Portage version: 2.1.2_pre2-r2)
Diffstat (limited to 'games-board')
-rw-r--r--games-board/r-katro/ChangeLog7
-rw-r--r--games-board/r-katro/files/digest-r-katro-0.7.02
-rw-r--r--games-board/r-katro/r-katro-0.7.0.ebuild19
3 files changed, 22 insertions, 6 deletions
diff --git a/games-board/r-katro/ChangeLog b/games-board/r-katro/ChangeLog
index 552a7d65c4cb..07a7453035d0 100644
--- a/games-board/r-katro/ChangeLog
+++ b/games-board/r-katro/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-board/r-katro
-# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/r-katro/ChangeLog,v 1.5 2005/07/07 04:36:26 caleb Exp $
+# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/r-katro/ChangeLog,v 1.6 2006/10/04 16:24:33 nyhm Exp $
+
+ 04 Oct 2006; Tristan Heaven <nyhm@gentoo.org> r-katro-0.7.0.ebuild:
+ Fix nls support
07 Jul 2005; Caleb Tennis <caleb@gentoo.org> r-katro-0.7.0.ebuild:
Fix qt dep
diff --git a/games-board/r-katro/files/digest-r-katro-0.7.0 b/games-board/r-katro/files/digest-r-katro-0.7.0
index ded44d165570..37058793bb79 100644
--- a/games-board/r-katro/files/digest-r-katro-0.7.0
+++ b/games-board/r-katro/files/digest-r-katro-0.7.0
@@ -1 +1,3 @@
MD5 466747a4ef614ffcf4e627e841d36393 r-katro-0.7.0.tar.bz2 533377
+RMD160 6ba892128dd06237227d702bb4de7efba67c39ac r-katro-0.7.0.tar.bz2 533377
+SHA256 c4c207b1f114b4204575d84449699a42ecfa2b059a9eec200303cfa1fd1176b9 r-katro-0.7.0.tar.bz2 533377
diff --git a/games-board/r-katro/r-katro-0.7.0.ebuild b/games-board/r-katro/r-katro-0.7.0.ebuild
index 0de6453b77ec..839a84957ead 100644
--- a/games-board/r-katro/r-katro-0.7.0.ebuild
+++ b/games-board/r-katro/r-katro-0.7.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/r-katro/r-katro-0.7.0.ebuild,v 1.7 2006/04/23 06:38:10 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/r-katro/r-katro-0.7.0.ebuild,v 1.8 2006/10/04 16:24:33 nyhm Exp $
inherit games
@@ -13,8 +13,19 @@ SLOT="0"
KEYWORDS="~ppc x86"
IUSE="nls"
-DEPEND="=x11-libs/qt-3*
- virtual/glut"
+RDEPEND="=x11-libs/qt-3*
+ virtual/glut
+ nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i 's:$(localedir):/usr/share/locale:' \
+ $(find . -name 'Makefile.in*') \
+ || die "sed failed"
+}
src_compile() {
egamesconf $(use_enable nls) || die
@@ -23,7 +34,7 @@ src_compile() {
}
src_install() {
- make DESTDIR="${D}" install || die "make install failed"
+ emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS NEWS README TODO
prepgamesdirs
}