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/neverball/neverball-1.5.4.ebuild
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/neverball/neverball-1.5.4.ebuild')
-rw-r--r--games-puzzle/neverball/neverball-1.5.4.ebuild14
1 files changed, 5 insertions, 9 deletions
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