summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-rpg/nwn/ChangeLog5
-rw-r--r--games-rpg/nwn/files/digest-nwn-1.658
-rw-r--r--games-rpg/nwn/nwn-1.65.ebuild22
-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
6 files changed, 48 insertions, 11 deletions
diff --git a/games-rpg/nwn/ChangeLog b/games-rpg/nwn/ChangeLog
index 56efe5f4fa3d..ffa7aa547bf0 100644
--- a/games-rpg/nwn/ChangeLog
+++ b/games-rpg/nwn/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-rpg/nwn
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn/ChangeLog,v 1.18 2004/12/30 09:06:24 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn/ChangeLog,v 1.19 2004/12/30 09:39:47 vapier Exp $
+
+ 30 Dec 2004; Mike Frysinger <vapier@gentoo.org> nwn-1.65.ebuild:
+ Add localization support #61260 by dju.
*nwn-1.65 (30 Dec 2004)
diff --git a/games-rpg/nwn/files/digest-nwn-1.65 b/games-rpg/nwn/files/digest-nwn-1.65
index c3408ca1a59e..9f3d2e136bce 100644
--- a/games-rpg/nwn/files/digest-nwn-1.65
+++ b/games-rpg/nwn/files/digest-nwn-1.65
@@ -1,4 +1,12 @@
MD5 73c6515fd6aa5f860802098a55000ae8 nwclient129.tar.gz 5504342
MD5 8222401efe25235b56d01b38ae880b5b nwresources129.tar.gz 1212356127
+MD5 957f1c9f398f08395328f62fa339ecfc linuxclientupdate1xxto165fre.tar.gz 79503385
+MD5 fec754c4608d468a73b394d66a32b6d5 NWNFrench1.65dialog.zip 6757948
+MD5 23ccde07c5adf2edee4a536b86e2923b linuxclientupdate1xxto165ger.tar.gz 80206618
+MD5 6843db125f8ade9a7127ee2cc8415719 NWNGerman1.65dialog.zip 7216305
+MD5 cf206a6c12fc2e7fcbe029c6b0e8dbee linuxclientupdate1xxto165ita.tar.gz 81141592
+MD5 1430da71d0956166ad97c11c17916961 NWNItalian1.65dialog.zip 6718387
+MD5 a693d5cc2447201a8d3320f057aa9328 linuxclientupdate1xxto165spa.tar.gz 81122706
+MD5 40d296f0f24c742c96735142f13065d6 NWNSpanish1.65dialog.zip 6692674
MD5 920e498efc0763b6a4f03d22ad689db7 linuxclientupdate1xxto165eng.tar.gz 80623755
MD5 7564b803aad04595058f3351e8606139 NWNEnglish1.65dialog.zip 3180152
diff --git a/games-rpg/nwn/nwn-1.65.ebuild b/games-rpg/nwn/nwn-1.65.ebuild
index 0ef646f65d0a..9c8ed5b19877 100644
--- a/games-rpg/nwn/nwn-1.65.ebuild
+++ b/games-rpg/nwn/nwn-1.65.ebuild
@@ -1,16 +1,24 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn/nwn-1.65.ebuild,v 1.1 2004/12/30 09:06:24 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn/nwn-1.65.ebuild,v 1.2 2004/12/30 09:39:47 vapier Exp $
inherit games
UPDATEVER=${PV//.}
+PATCH_URL_BASE=http://content.bioware.com/neverwinternights/linux/${UPDATEVER}/linuxclientupdate1xxto${UPDATEVER}
+DIALOG_URL_BASE=http://nwdownloads.bioware.com/neverwinternights/patch/dialog/
+
DESCRIPTION="Neverwinter Nights"
HOMEPAGE="http://nwn.bioware.com/downloads/linuxclient.html"
SRC_URI="http://nwdownloads.bioware.com/neverwinternights/linux/129/nwclient129.tar.gz
- nowin? ( http://www.tucows.iinet.net/pub/games/neverwinter/linux/nwresources129.tar.gz )
- http://content.bioware.com/neverwinternights/linux/${UPDATEVER}/linuxclientupdate1xxto${UPDATEVER}eng.tar.gz
- http://nwdownloads.bioware.com/neverwinternights/patch/dialog/english/NWNEnglish${PV}dialog.zip"
+ linguas_fr? ( ${PATCH_URL_BASE}fre.tar.gz ${DIALOG_URL_BASE}/french/NWNFrench${PV}dialog.zip )
+ linguas_de? ( ${PATCH_URL_BASE}ger.tar.gz ${DIALOG_URL_BASE}/german/NWNGerman${PV}dialog.zip )
+ linguas_it? ( ${PATCH_URL_BASE}ita.tar.gz ${DIALOG_URL_BASE}/italian/NWNItalian${PV}dialog.zip )
+ linguas_es? ( ${PATCH_URL_BASE}spa.tar.gz ${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
+ ) ) ) )
+ nowin? ( http://www.tucows.iinet.net/pub/games/neverwinter/linux/nwresources129.tar.gz )"
LICENSE="NWN-EULA"
SLOT="0"
@@ -33,8 +41,10 @@ src_unpack() {
use nowin && unpack nwresources129.tar.gz
cd ${S}
rm -rf override/*
- unpack linuxclientupdate1xxto${UPDATEVER}eng.tar.gz
- unpack NWNEnglish${PV}dialog.zip
+ # the following is so ugly, please pretend it doesnt exist
+ local Aarray=(${A})
+ unpack ${Aarray[1]}
+ unpack ${Aarray[2]}
}
src_install() {
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() {