summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-12-30 09:40:38 +0000
committerMike Frysinger <vapier@gentoo.org>2004-12-30 09:40:38 +0000
commit3fd202de5f30ac4e24e328155de8b0af72ca8044 (patch)
tree9008199ca599c1530b90554aff1d9d49bb21f7c3 /games-server
parentAdd new ebuild with version 0.5.0. (Manifest recommit) (diff)
downloadgentoo-2-3fd202de5f30ac4e24e328155de8b0af72ca8044.tar.gz
gentoo-2-3fd202de5f30ac4e24e328155de8b0af72ca8044.tar.bz2
gentoo-2-3fd202de5f30ac4e24e328155de8b0af72ca8044.zip
Add localization support #61260 by dju.
Diffstat (limited to 'games-server')
-rw-r--r--games-server/nwn-ded/ChangeLog5
-rw-r--r--games-server/nwn-ded/files/digest-nwn-ded-1.654
-rw-r--r--games-server/nwn-ded/nwn-ded-1.65.ebuild15
3 files changed, 20 insertions, 4 deletions
diff --git a/games-server/nwn-ded/ChangeLog b/games-server/nwn-ded/ChangeLog
index 2e038738410f..27847503b977 100644
--- a/games-server/nwn-ded/ChangeLog
+++ b/games-server/nwn-ded/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-server/nwn-ded
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-server/nwn-ded/ChangeLog,v 1.7 2004/12/30 08:45:11 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-server/nwn-ded/ChangeLog,v 1.8 2004/12/30 09:40:38 vapier Exp $
+
+ 30 Dec 2004; Mike Frysinger <vapier@gentoo.org> nwn-ded-1.65.ebuild:
+ Add localization support #61260 by dju.
*nwn-ded-1.65 (30 Dec 2004)
diff --git a/games-server/nwn-ded/files/digest-nwn-ded-1.65 b/games-server/nwn-ded/files/digest-nwn-ded-1.65
index de10e3954f3f..6b357c0d5945 100644
--- a/games-server/nwn-ded/files/digest-nwn-ded-1.65
+++ b/games-server/nwn-ded/files/digest-nwn-ded-1.65
@@ -1,3 +1,7 @@
MD5 1b232bc2da01e2bf20570e691abfb29e NWNDedicatedServer1.64.zip 267192756
MD5 d1d5daf93c1624058caa1ad6531e89dc linuxserverupdate1xxto165.tar.gz 165799221
+MD5 fec754c4608d468a73b394d66a32b6d5 NWNFrench1.65dialog.zip 6757948
+MD5 6843db125f8ade9a7127ee2cc8415719 NWNGerman1.65dialog.zip 7216305
+MD5 1430da71d0956166ad97c11c17916961 NWNItalian1.65dialog.zip 6718387
+MD5 40d296f0f24c742c96735142f13065d6 NWNSpanish1.65dialog.zip 6692674
MD5 7564b803aad04595058f3351e8606139 NWNEnglish1.65dialog.zip 3180152
diff --git a/games-server/nwn-ded/nwn-ded-1.65.ebuild b/games-server/nwn-ded/nwn-ded-1.65.ebuild
index 52351d5a7fdc..20b603ab9b7c 100644
--- a/games-server/nwn-ded/nwn-ded-1.65.ebuild
+++ b/games-server/nwn-ded/nwn-ded-1.65.ebuild
@@ -1,14 +1,22 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-server/nwn-ded/nwn-ded-1.65.ebuild,v 1.1 2004/12/30 08:45:11 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-server/nwn-ded/nwn-ded-1.65.ebuild,v 1.2 2004/12/30 09:40:38 vapier Exp $
inherit games
+DIALOG_URL_BASE=http://nwdownloads.bioware.com/neverwinternights/patch/dialog/
+
DESCRIPTION="Neverwinter Nights Dedicated server"
HOMEPAGE="http://nwn.bioware.com/downloads/standaloneserver.html"
SRC_URI="http://nwdownloads.bioware.com/neverwinternights/standaloneserver/NWNDedicatedServer1.64.zip
http://content.bioware.com/neverwinternights/linux/165/linuxserverupdate1xxto165.tar.gz
- http://nwdownloads.bioware.com/neverwinternights/patch/dialog/english/NWNEnglish1.65dialog.zip"
+ linguas_fr? ( ${DIALOG_URL_BASE}/french/NWNFrench${PV}dialog.zip )
+ linguas_de? ( ${DIALOG_URL_BASE}/german/NWNGerman${PV}dialog.zip )
+ linguas_it? ( ${DIALOG_URL_BASE}/italian/NWNItalian${PV}dialog.zip )
+ linguas_es? ( ${DIALOG_URL_BASE}/spanish/NWNSpanish${PV}dialog.zip )
+ !linguas_de? ( !linguas_fr? ( !linguas_es? ( !linguas_it? (
+ ${PATCH_URL_BASE}eng.tar.gz ${DIALOG_URL_BASE}/english/NWNEnglish${PV}dialog.zip
+ ) ) ) )"
LICENSE="NWN-EULA"
SLOT="0"
@@ -27,7 +35,8 @@ src_unpack() {
rm -f *dedserver*.{tar.gz,sit}
unpack linuxserverupdate1xxto165.tar.gz
- unpack NWNEnglish1.65dialog.zip
+ local Aarray=(${A})
+ unpack ${Aarray[2]}
}
src_install() {