games-rpg/drascula: Migrate from LINGUAS to L10N.
authorUlrich Müller <ulm@gentoo.org>
Sun, 26 Jun 2016 07:57:02 +0000 (09:57 +0200)
committerUlrich Müller <ulm@gentoo.org>
Sun, 26 Jun 2016 07:57:02 +0000 (09:57 +0200)
Package-Manager: portage-2.3.0

games-rpg/drascula/drascula-1.0-r2.ebuild

index 3eda74a23b49485536b2d78505070b9528f1b0fd..2a6bcfc0088079494463761c36f49bd947db176b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -14,15 +14,15 @@ HOMEPAGE="http://www.alcachofasoft.com/"
 SRC_URI="mirror://sourceforge/scummvm/drascula-${PV}.zip
        https://github.com/scummvm/scummvm/raw/v1.5.0/dists/engine-data/drascula.dat -> drascula-${DAT_PV}.dat
        sound? ( mirror://sourceforge/scummvm/drascula-audio-${AUD_PV}.zip )
-       linguas_es? ( ${INT_URI} )
-       linguas_de? ( ${INT_URI} )
-       linguas_fr? ( ${INT_URI} )
-       linguas_it? ( ${INT_URI} )"
+       l10n_es? ( ${INT_URI} )
+       l10n_de? ( ${INT_URI} )
+       l10n_fr? ( ${INT_URI} )
+       l10n_it? ( ${INT_URI} )"
 
 LICENSE="drascula"
 SLOT="0"
 KEYWORDS="amd64 x86"
-IUSE="linguas_es linguas_de linguas_fr linguas_it +sound"
+IUSE="l10n_es l10n_de l10n_fr l10n_it +sound"
 RESTRICT="mirror"
 
 RDEPEND=">=games-engines/scummvm-0.13.1"
@@ -32,7 +32,7 @@ DEPEND="${RDEPEND}
 S=${WORKDIR}
 
 src_unpack() {
-       if use linguas_es || use linguas_de || use linguas_fr || use linguas_it; then
+       if use l10n_es || use l10n_de || use l10n_fr || use l10n_it; then
                unpack drascula-int-${INT_PV}.zip
        fi
        if use sound; then
@@ -47,7 +47,7 @@ src_install() {
        games_make_wrapper ${PN} "scummvm -f -p \"${GAMES_DATADIR}/${PN}\" drascula" .
        for lang in es de fr it
        do
-               if use linguas_${lang} ; then
+               if use l10n_${lang} ; then
                        games_make_wrapper ${PN}-${lang} "scummvm -q ${lang} -f -p \"${GAMES_DATADIR}/${PN}\" drascula" .
                        make_desktop_entry ${PN}-${lang} "Drascula: The Vampire Strikes Back (${lang})" ${PN}
                fi