diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-05-15 18:48:18 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-05-15 18:48:18 +0000 |
commit | e014d0abcb671c39daea181010779df9916a49a8 (patch) | |
tree | 353b7b8c464a9f9eaeaaea493f9dafd8a9a89061 /games-arcade/xbubble | |
parent | use toolchain-funcs.eclass instead of gcc.eclass (diff) | |
download | gentoo-2-e014d0abcb671c39daea181010779df9916a49a8.tar.gz gentoo-2-e014d0abcb671c39daea181010779df9916a49a8.tar.bz2 gentoo-2-e014d0abcb671c39daea181010779df9916a49a8.zip |
fix the localedir properly
(Portage version: 2.0.51.21-r1)
Diffstat (limited to 'games-arcade/xbubble')
-rw-r--r-- | games-arcade/xbubble/xbubble-0.5.8.ebuild | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/games-arcade/xbubble/xbubble-0.5.8.ebuild b/games-arcade/xbubble/xbubble-0.5.8.ebuild index 6726910b237c..e671d6c51d34 100644 --- a/games-arcade/xbubble/xbubble-0.5.8.ebuild +++ b/games-arcade/xbubble/xbubble-0.5.8.ebuild @@ -1,16 +1,16 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/xbubble/xbubble-0.5.8.ebuild,v 1.4 2004/11/22 13:57:26 sekretarz Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/xbubble/xbubble-0.5.8.ebuild,v 1.5 2005/05/15 18:48:18 vapier Exp $ inherit games DESCRIPTION="a Puzzle Bobble clone similar to Frozen-Bubble" -HOMEPAGE="http://www.nongnu.org/xbubble" +HOMEPAGE="http://www.nongnu.org/xbubble/" SRC_URI="http://www.ibiblio.org/pub/mirrors/gnu/ftp/savannah/files/xbubble/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="x86 ppc ~amd64" +KEYWORDS="~amd64 ppc x86" IUSE="nls" DEPEND="virtual/x11 @@ -20,8 +20,11 @@ src_unpack() { unpack ${A} cd "${S}" sed -i \ - -e "/^AM_CFLAGS/d" src/Makefile.in \ - || die "sed failed" + -e '/^AM_CFLAGS/d' \ + src/Makefile.in || die "sed cflags" + sed -i \ + -e '/^localedir/s:=.*:=/usr/share/locale:' \ + configure po/Makefile.in.in || die "sed locale" } src_compile() { @@ -29,15 +32,11 @@ src_compile() { --disable-dependency-tracking \ $(use_enable nls) \ || die - emake \ - localedir="/usr/share/locale" \ - || die "emake failed" + emake || die "emake failed" } src_install() { - make DESTDIR="${D}" \ - localedir="/usr/share/locale" \ - install || die "make install failed" + make DESTDIR="${D}" install || die "make install failed" dodoc AUTHORS ChangeLog NEWS NetworkProtocol README TODO prepgamesdirs } |