summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-12-20 22:30:29 +0100
committerDavid Seifert <soap@gentoo.org>2017-12-21 02:52:12 +0100
commitcc775e9464914715894ca2371374ac79e836aa35 (patch)
tree6cdf885d8a3ef2d77921db5400778ee55bc6edfa /games-server
parentgames-server/mtavc: Remove old (diff)
downloadgentoo-cc775e9464914715894ca2371374ac79e836aa35.tar.gz
gentoo-cc775e9464914715894ca2371374ac79e836aa35.tar.bz2
gentoo-cc775e9464914715894ca2371374ac79e836aa35.zip
games-server/nwn-ded: Remove old
Package-Manager: Portage-2.3.16, Repoman-2.3.6
Diffstat (limited to 'games-server')
-rw-r--r--games-server/nwn-ded/nwn-ded-1.69.ebuild70
1 files changed, 0 insertions, 70 deletions
diff --git a/games-server/nwn-ded/nwn-ded-1.69.ebuild b/games-server/nwn-ded/nwn-ded-1.69.ebuild
deleted file mode 100644
index 98c5d1e2455..00000000000
--- a/games-server/nwn-ded/nwn-ded-1.69.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit games
-
-LANGUAGES="linguas_en"
-DIALOG_URL_BASE=http://files.bioware.com/neverwinternights/dialog/
-
-DESCRIPTION="Neverwinter Nights Dedicated server"
-HOMEPAGE="http://nwn.bioware.com/downloads/standaloneserver.html"
-SRC_URI="http://files.bioware.com/neverwinternights/updates/windows/server/NWNDedicatedServer${PV}.zip
- linguas_en? ( ${DIALOG_URL_BASE}/english/NWNEnglish${PV}dialog.zip )"
-
-LICENSE="NWN-EULA"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~x86"
-IUSE="${LANGUAGES}"
-RESTRICT="mirror strip"
-
-DEPEND="app-arch/unzip"
-
-S=${WORKDIR}
-
-dir=${GAMES_PREFIX_OPT}/${PN}
-QA_PREBUILT="${dir:1}/common/nwserver"
-
-src_unpack() {
- mkdir common || die
- cd common || die
- unpack NWNDedicatedServer${PV}.zip
- tar -zxf linuxdedserver${PV/./}.tar.gz || die
- rm -f *dedserver*.{tar.gz,sit,zip} *.exe *.dll
- cd ..
- local currentlocale=""
- local a
- for a in ${A}
- do
- if [ -z "${a/*dialog*/}" ] ; then
- if [ -z "${a/*English*/}" ]; then currentlocale="en"; fi
- if [ -z "${a/*French*/}" ]; then currentlocale="fr"; fi
- if [ -z "${a/*German*/}" ]; then currentlocale="de"; fi
- if [ -z "${a/*Italian*/}" ]; then currentlocale="it"; fi
- if [ -z "${a/*Spanish*/}" ]; then currentlocale="es"; fi
- if [ -z "${a/*Japanese*/}" ]; then currentlocale="ja"; fi
- mkdir ${currentlocale} || die
- cd ${currentlocale}
- cp -rfl ../common/* . || die
- unpack "${a}"
- cd ..
- fi
- done
-}
-
-src_install() {
- dodir ${dir}
-
- local currentlocale
- for currentlocale in * ; do
- if [[ ${currentlocale} != "common" ]]
- then
- games_make_wrapper nwserver-${currentlocale} ./nwserver "${dir}/${currentlocale}" "${dir}/${currentlocale}"
- fi
- done
-
- mv * "${D}/${dir}"/ || die
-
- prepgamesdirs
- chmod -R g+w "${D}/${dir}"
-}