diff options
-rw-r--r-- | games-rpg/nwn/ChangeLog | 5 | ||||
-rw-r--r-- | games-rpg/nwn/nwn-1.66-r1.ebuild | 11 |
2 files changed, 13 insertions, 3 deletions
diff --git a/games-rpg/nwn/ChangeLog b/games-rpg/nwn/ChangeLog index fe8aa664848a..8ff518396f9e 100644 --- a/games-rpg/nwn/ChangeLog +++ b/games-rpg/nwn/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-rpg/nwn # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn/ChangeLog,v 1.29 2005/11/01 20:07:45 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn/ChangeLog,v 1.30 2005/11/02 22:54:52 wolf31o2 Exp $ + + 02 Nov 2005; Chris Gianelloni <wolf31o2@gentoo.org> nwn-1.66-r1.ebuild: + Added license checking and initial language support information. 01 Nov 2005; Chris Gianelloni <wolf31o2@gentoo.org> nwn-1.66-r1.ebuild: fperm is supposed to be fperms. diff --git a/games-rpg/nwn/nwn-1.66-r1.ebuild b/games-rpg/nwn/nwn-1.66-r1.ebuild index 70550d56469d..14745c3bd6a9 100644 --- a/games-rpg/nwn/nwn-1.66-r1.ebuild +++ b/games-rpg/nwn/nwn-1.66-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn/nwn-1.66-r1.ebuild,v 1.5 2005/11/01 20:07:45 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn/nwn-1.66-r1.ebuild,v 1.6 2005/11/02 22:54:52 wolf31o2 Exp $ inherit eutils games @@ -52,6 +52,8 @@ RDEPEND="games-rpg/nwn-data amd64? ( app-emulation/emul-linux-x86-baselibs )" S="${WORKDIR}/nwn" + +GAMES_LICENSE_CHECK="yes" dir="${GAMES_PREFIX_OPT}/${PN}" Ddir="${D}/${dir}" @@ -68,6 +70,12 @@ die_from_busted_nwn-data() { } pkg_setup() { + games_pkg_setup + declare -a LANGarray=($LINGUAS) + if [ "${#LANGarray[*]}" == "0" ] + then + einfo "Setting default language to English." + fi if use sou then built_with_use games-rpg/nwn-data sou || die_from_busted_nwn-data sou @@ -96,7 +104,6 @@ pkg_setup() { built_with_use games-rpg/nwn-data linguas_de || \ die_from_busted_nwn-data linguas_de fi - games_pkg_setup } src_unpack() { |