summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2012-04-12 07:21:10 +0000
committerAlfredo Tupone <tupone@gentoo.org>2012-04-12 07:21:10 +0000
commita21bfabb077c799b5e8cb45146c3486c8dcf3509 (patch)
tree02f3ff283a0b2e4f75204c14f0849016388ecf26 /games-kids/childsplay
parentVirtual X is required for test phase, pointed out by Michael (kensington) <ge... (diff)
downloadgentoo-2-a21bfabb077c799b5e8cb45146c3486c8dcf3509.tar.gz
gentoo-2-a21bfabb077c799b5e8cb45146c3486c8dcf3509.tar.bz2
gentoo-2-a21bfabb077c799b5e8cb45146c3486c8dcf3509.zip
Honor LINGUAS for locale files. Bug #409965
(Portage version: 2.1.10.56/cvs/Linux i686)
Diffstat (limited to 'games-kids/childsplay')
-rw-r--r--games-kids/childsplay/ChangeLog7
-rw-r--r--games-kids/childsplay/childsplay-0.90.2.ebuild12
2 files changed, 14 insertions, 5 deletions
diff --git a/games-kids/childsplay/ChangeLog b/games-kids/childsplay/ChangeLog
index 0b4be90cfad0..d14c0f70b598 100644
--- a/games-kids/childsplay/ChangeLog
+++ b/games-kids/childsplay/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-kids/childsplay
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-kids/childsplay/ChangeLog,v 1.18 2011/04/25 20:31:32 arfrever Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-kids/childsplay/ChangeLog,v 1.19 2012/04/12 07:21:10 tupone Exp $
+
+ 12 Apr 2012; Tupone Alfredo <tupone@gentoo.org> childsplay-0.90.2.ebuild:
+ Honor LINGUAS for locale files. Bug #409965 by Piotr Szymaniak
25 Apr 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
childsplay-0.90.2.ebuild:
diff --git a/games-kids/childsplay/childsplay-0.90.2.ebuild b/games-kids/childsplay/childsplay-0.90.2.ebuild
index 2b6e30d8233e..72666a9fcffd 100644
--- a/games-kids/childsplay/childsplay-0.90.2.ebuild
+++ b/games-kids/childsplay/childsplay-0.90.2.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-kids/childsplay/childsplay-0.90.2.ebuild,v 1.4 2011/04/25 20:31:32 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-kids/childsplay/childsplay-0.90.2.ebuild,v 1.5 2012/04/12 07:21:10 tupone Exp $
EAPI=3
PYTHON_DEPEND="2"
@@ -106,7 +106,13 @@ EOF
fi
done
- cp -r locale/* "${D}/${_LOCALEDIR}" || die
+ if [[ ${LINGUAS+set} ]]; then
+ for lang in $LINGUAS; do
+ [[ -d locale/$lang ]] && cp -r locale/$lang "${D}/${_LOCALEDIR}"
+ done
+ else
+ cp -r locale/* "${D}/${_LOCALEDIR}" || die
+ fi
cp -r assetml/* "${D}/${_ASSETMLDIR}" || die
# initialize the score file