summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <tristan@gentoo.org>2012-02-14 19:33:14 +0000
committerTristan Heaven <tristan@gentoo.org>2012-02-14 19:33:14 +0000
commitde520be826bef086bbbf260c5096fbbdb5536c53 (patch)
tree170c85bed97af8657264b5d5f088ddffeaf67d15 /games-puzzle
parent~ppc, preparing for #396359 (diff)
downloadgentoo-2-de520be826bef086bbbf260c5096fbbdb5536c53.tar.gz
gentoo-2-de520be826bef086bbbf260c5096fbbdb5536c53.tar.bz2
gentoo-2-de520be826bef086bbbf260c5096fbbdb5536c53.zip
Respect LINGUAS, bug #402311
(Portage version: 2.2.0_alpha86/cvs/Linux x86_64)
Diffstat (limited to 'games-puzzle')
-rw-r--r--games-puzzle/neverball/ChangeLog7
-rw-r--r--games-puzzle/neverball/neverball-1.5.4.ebuild14
2 files changed, 10 insertions, 11 deletions
diff --git a/games-puzzle/neverball/ChangeLog b/games-puzzle/neverball/ChangeLog
index 024f0fa1a5dd..b333786fec9e 100644
--- a/games-puzzle/neverball/ChangeLog
+++ b/games-puzzle/neverball/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-puzzle/neverball
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/neverball/ChangeLog,v 1.42 2011/06/22 04:48:42 tupone Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/neverball/ChangeLog,v 1.43 2012/02/14 19:33:14 tristan Exp $
+
+ 14 Feb 2012; Tristan Heaven <tristan@gentoo.org> neverball-1.5.4.ebuild:
+ Respect LINGUAS, bug #402311
22 Jun 2011; Tupone Alfredo <tupone@gentoo.org> neverball-1.5.4.ebuild,
+files/neverball-1.5.4-underlink.patch:
diff --git a/games-puzzle/neverball/neverball-1.5.4.ebuild b/games-puzzle/neverball/neverball-1.5.4.ebuild
index a811a337a7ce..7e264fcdca57 100644
--- a/games-puzzle/neverball/neverball-1.5.4.ebuild
+++ b/games-puzzle/neverball/neverball-1.5.4.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/neverball/neverball-1.5.4.ebuild,v 1.5 2011/06/22 04:48:42 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/neverball/neverball-1.5.4.ebuild,v 1.6 2012/02/14 19:33:14 tristan Exp $
EAPI=2
inherit eutils games
@@ -39,15 +39,10 @@ src_prepare() {
-e "/^MAPC_TARG/s/mapc/${PN}-mapc/" \
Makefile \
|| die "sed failed"
- sed -i \
- -e "s/LOCALEDIR/LLOCALEDIR/g" \
- po/Makefile \
- || die "sed failed"
epatch "${FILESDIR}"/${P}-underlink.patch
}
src_compile() {
- LINGUAS= \
emake \
ENABLE_NLS=$(use nls && echo 1 || echo 0) \
E_CFLAGS="${CFLAGS}" \
@@ -61,8 +56,9 @@ src_install() {
insinto "${GAMES_DATADIR}/${PN}"
doins -r data/* || die
rm -f "${D}${GAMES_DATADIR}/${PN}"/ttf/DejaVuSans-Bold.ttf
- dosym /usr/share/fonts/dejavu/DejaVuSans-Bold.ttf "${GAMES_DATADIR}/${PN}"/ttf/ || die
- if use nls ; then
+ dosym /usr/share/fonts/dejavu/DejaVuSans-Bold.ttf \
+ "${GAMES_DATADIR}/${PN}"/ttf/DejaVuSans-Bold.ttf || die
+ if [[ -d locale ]] ; then
insinto /usr/share
doins -r locale || die
fi