summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2006-11-03 00:41:24 +0000
committerTristan Heaven <nyhm@gentoo.org>2006-11-03 00:41:24 +0000
commita084b201f43403cf4e543fa60568d995cdddbe35 (patch)
tree5b60bd6f0d37857b331f564c60bdb85b7ebce90f /games-board/gnubg
parentNew upstream version (diff)
downloadgentoo-2-a084b201f43403cf4e543fa60568d995cdddbe35.tar.gz
gentoo-2-a084b201f43403cf4e543fa60568d995cdddbe35.tar.bz2
gentoo-2-a084b201f43403cf4e543fa60568d995cdddbe35.zip
Add nls dependencies
(Portage version: 2.1.2_rc1-r2)
Diffstat (limited to 'games-board/gnubg')
-rw-r--r--games-board/gnubg/ChangeLog5
-rw-r--r--games-board/gnubg/gnubg-0.14.3-r1.ebuild15
2 files changed, 14 insertions, 6 deletions
diff --git a/games-board/gnubg/ChangeLog b/games-board/gnubg/ChangeLog
index 69acda64fc2d..4927b6672926 100644
--- a/games-board/gnubg/ChangeLog
+++ b/games-board/gnubg/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-board/gnubg
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/gnubg/ChangeLog,v 1.27 2006/10/22 22:46:38 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/gnubg/ChangeLog,v 1.28 2006/11/03 00:41:24 nyhm Exp $
+
+ 03 Nov 2006; Tristan Heaven <nyhm@gentoo.org> gnubg-0.14.3-r1.ebuild:
+ Add nls dependencies
22 Oct 2006; <tupone@gentoo.org> gnubg-0.14.3-r1.ebuild:
Meant to put ~all in previous commit. So x86 and ppc64 -> testing
diff --git a/games-board/gnubg/gnubg-0.14.3-r1.ebuild b/games-board/gnubg/gnubg-0.14.3-r1.ebuild
index aa8763a0eae2..9b8ce9d9c16b 100644
--- a/games-board/gnubg/gnubg-0.14.3-r1.ebuild
+++ b/games-board/gnubg/gnubg-0.14.3-r1.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/gnubg/gnubg-0.14.3-r1.ebuild,v 1.2 2006/10/22 22:46:38 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/gnubg/gnubg-0.14.3-r1.ebuild,v 1.3 2006/11/03 00:41:24 nyhm Exp $
inherit flag-o-matic eutils games
@@ -21,11 +21,9 @@ IUSE="arts esd gdbm gtk guile nas nls opengl python readline X"
RESTRICT="test"
# FIXME does this need to DEPEND on netpbm?
-DEPEND="dev-libs/glib
- >=media-libs/freetype-2
+RDEPEND=">=media-libs/freetype-2
media-libs/libpng
dev-libs/libxml2
- sys-libs/zlib
arts? ( kde-base/arts )
esd? ( media-sound/esound )
gdbm? ( sys-libs/gdbm )
@@ -37,15 +35,22 @@ DEPEND="dev-libs/glib
)
guile? ( dev-util/guile )
nas? ( media-libs/nas )
+ nls? ( virtual/libintl )
python? ( dev-lang/python )
readline? ( sys-libs/readline )
X? ( x11-libs/libXmu )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ nls? ( sys-devel/gettext )"
src_unpack() {
unpack ${A}
cd "${S}"
mv ../${PN}.weights-${WPV} "${S}/${PN}.weights"
mv ../*bd .
+ sed -i 's:$(localedir):/usr/share/locale:' \
+ $(find . -name 'Makefile.in*') \
+ || die "sed failed"
epatch \
"${FILESDIR}/${P}"-gcc4.patch \
"${FILESDIR}/${P}"-64bits.patch \
@@ -99,7 +104,7 @@ src_compile() {
}
src_install() {
- make DESTDIR="${D}" install || die "make install failed"
+ emake DESTDIR="${D}" install || die "emake install failed"
insinto "${GAMES_DATADIR}/${PN}"
doins ${PN}.weights *bd || die "doins failed"
dodoc AUTHORS README NEWS