diff options
-rw-r--r-- | games-kids/childsplay/ChangeLog | 7 | ||||
-rw-r--r-- | games-kids/childsplay/childsplay-0.90.2.ebuild | 12 |
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 |