summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2007-01-31 21:01:31 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2007-01-31 21:01:31 +0000
commitee181c11c57458977c39f684bb8850b3a5bb2975 (patch)
tree1d6f936443905d76260343bab2cd3e20c5e150f9 /games-rpg/nwn-cep
parentStable on ppc64; bug #163699 (diff)
downloadgentoo-2-ee181c11c57458977c39f684bb8850b3a5bb2975.tar.gz
gentoo-2-ee181c11c57458977c39f684bb8850b3a5bb2975.tar.bz2
gentoo-2-ee181c11c57458977c39f684bb8850b3a5bb2975.zip
Added 2.0 ebuild. Ebuild by Benedikt Morbach <benedikt.morbach+bugzilla@googlemail.com> and modified by me. Closing bug #150195.
(Portage version: 2.1.2_rc4-r1)
Diffstat (limited to 'games-rpg/nwn-cep')
-rw-r--r--games-rpg/nwn-cep/ChangeLog11
-rw-r--r--games-rpg/nwn-cep/files/digest-nwn-cep-2.06
-rw-r--r--games-rpg/nwn-cep/nwn-cep-2.0.ebuild56
3 files changed, 71 insertions, 2 deletions
diff --git a/games-rpg/nwn-cep/ChangeLog b/games-rpg/nwn-cep/ChangeLog
index 9226da4e1275..90cd07a6800c 100644
--- a/games-rpg/nwn-cep/ChangeLog
+++ b/games-rpg/nwn-cep/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for games-rpg/nwn-cep
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn-cep/ChangeLog,v 1.7 2006/11/20 17:11:21 wolf31o2 Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn-cep/ChangeLog,v 1.8 2007/01/31 21:01:31 wolf31o2 Exp $
+
+*nwn-cep-2.0 (31 Jan 2007)
+
+ 31 Jan 2007; Chris Gianelloni <wolf31o2@gentoo.org> +nwn-cep-2.0.ebuild:
+ Added 2.0 ebuild. Ebuild by Benedikt Morbach
+ <benedikt.morbach+bugzilla@googlemail.com> and modified by me. Closing bug
+ #150195.
20 Nov 2006; Chris Gianelloni <wolf31o2@gentoo.org> -nwn-cep-1.52.ebuild,
-nwn-cep-1.52-r1.ebuild, -nwn-cep-1.53.ebuild, -nwn-cep-1.53-r1.ebuild,
diff --git a/games-rpg/nwn-cep/files/digest-nwn-cep-2.0 b/games-rpg/nwn-cep/files/digest-nwn-cep-2.0
new file mode 100644
index 000000000000..6d4e6b060d51
--- /dev/null
+++ b/games-rpg/nwn-cep/files/digest-nwn-cep-2.0
@@ -0,0 +1,6 @@
+MD5 50bdb604c9fff239f39b07ca6034e153 cepv2_Part_A.zip 286831341
+RMD160 7cf33f7e000de645fd27a13e37926137d3faa3dd cepv2_Part_A.zip 286831341
+SHA256 054220cfda019f12ef2c843c34695d12d9ede504dc9cd436d8415fb8f4e7cef3 cepv2_Part_A.zip 286831341
+MD5 b50e55730afb1ea16e6eefe92e62401b cepv2_Part_B.zip 355035918
+RMD160 7c10a633e546fd69b50a8789ca7edb760ed92695 cepv2_Part_B.zip 355035918
+SHA256 306de76a05569b2c9e44e632e9c5cb878c6cab38f3217ecd9ebd3080be031a5d cepv2_Part_B.zip 355035918
diff --git a/games-rpg/nwn-cep/nwn-cep-2.0.ebuild b/games-rpg/nwn-cep/nwn-cep-2.0.ebuild
new file mode 100644
index 000000000000..d2931f835317
--- /dev/null
+++ b/games-rpg/nwn-cep/nwn-cep-2.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn-cep/nwn-cep-2.0.ebuild,v 1.1 2007/01/31 21:01:31 wolf31o2 Exp $
+
+
+inherit eutils games
+
+DESCRIPTION="The Community Expansion Pack is a high quality custom content addon for Neverwinter Nights"
+HOMEPAGE="http://nwn.bioware.com/players/cep.html"
+SRC_URI="cepv2_Part_A.zip cepv2_Part_B.zip"
+
+LICENSE="as-is"
+SLOT="2"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE=""
+RESTRICT="fetch"
+
+DEPEND="app-arch/unzip"
+RDEPEND=">=games-rpg/nwn-1.68"
+
+S=${WORKDIR}
+
+dir=${GAMES_PREFIX_OPT}/nwn
+Ddir=${D}/${dir}
+
+pkg_nofetch() {
+ einfo "Please visit http://nwvault.ign.com/cep/downloads/"
+ einfo "and download the .zip versions of ${A}."
+ einfo "Then move the files you downloaded to:"
+ einfo "${DISTDIR}"
+}
+
+pkg_setup() {
+ games_pkg_setup
+ if ! built_with_use games-rpg/nwn-data sou || ! built_with_use games-rpg/nwn-data hou
+ then
+ eerror "${P} requires NWN v1.68, Shadows of Undrentide, and Hordes of"
+ eerror "the Underdark. Please make sure you have all three before using"
+ eerror "this patch."
+ die "Requirements not met"
+ fi
+}
+
+src_install() {
+ local i
+ for i in hak tlk erf
+ do
+ insinto "${dir}"/${i}
+ doins *.${i} || die "${i} failed"
+ done
+ insinto "${dir}"/modules
+ doins *.mod || die "mod failed"
+ insinto "${dir}"/cep
+ doins *.pdf || die "pdf failed"
+ prepgamesdirs
+}