summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2006-04-17 19:40:39 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2006-04-17 19:40:39 +0000
commit824095240381a3c63f1cab4204e19d4a7653d371 (patch)
tree84c46d0f40043a53679c41afc9d18f4eb18db467 /games-rpg
parentStable on ppc64; bug #128737 (diff)
downloadgentoo-2-824095240381a3c63f1cab4204e19d4a7653d371.tar.gz
gentoo-2-824095240381a3c63f1cab4204e19d4a7653d371.tar.bz2
gentoo-2-824095240381a3c63f1cab4204e19d4a7653d371.zip
Added new 1.52 versions and closing bug #81248 and bug #129900. There are two ebuilds here, 1.52 and 1.52-r1, which are different. The 1.52-r1 ebuild goes with the split nwn/nwn-data ebuilds and is now masked along with them. The 1.52 ebuild should work with the current stable 1.66 nwn ebuild.
(Portage version: 2.1_pre7-r5)
Diffstat (limited to 'games-rpg')
-rw-r--r--games-rpg/nwn-cep/ChangeLog14
-rw-r--r--games-rpg/nwn-cep/files/digest-nwn-cep-1.523
-rw-r--r--games-rpg/nwn-cep/files/digest-nwn-cep-1.52-r13
-rw-r--r--games-rpg/nwn-cep/nwn-cep-1.52-r1.ebuild70
-rw-r--r--games-rpg/nwn-cep/nwn-cep-1.52.ebuild38
5 files changed, 126 insertions, 2 deletions
diff --git a/games-rpg/nwn-cep/ChangeLog b/games-rpg/nwn-cep/ChangeLog
index bcc3995a2195..07fd75b403ba 100644
--- a/games-rpg/nwn-cep/ChangeLog
+++ b/games-rpg/nwn-cep/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for games-rpg/nwn-cep
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn-cep/ChangeLog,v 1.1 2005/01/20 06:48:15 vapier Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn-cep/ChangeLog,v 1.2 2006/04/17 19:40:39 wolf31o2 Exp $
+
+*nwn-cep-1.52-r1 (17 Apr 2006)
+*nwn-cep-1.52 (17 Apr 2006)
+
+ 17 Apr 2006; Chris Gianelloni <wolf31o2@gentoo.org> +nwn-cep-1.52.ebuild,
+ +nwn-cep-1.52-r1.ebuild:
+ Added new 1.52 versions and closing bug #81248 and bug #129900. There are
+ two ebuilds here, 1.52 and 1.52-r1, which are different. The 1.52-r1 ebuild
+ goes with the split nwn/nwn-data ebuilds and is now masked along with them.
+ The 1.52 ebuild should work with the current stable 1.66 nwn ebuild.
*nwn-cep-1.50 (20 Jan 2004)
diff --git a/games-rpg/nwn-cep/files/digest-nwn-cep-1.52 b/games-rpg/nwn-cep/files/digest-nwn-cep-1.52
new file mode 100644
index 000000000000..78568f932b77
--- /dev/null
+++ b/games-rpg/nwn-cep/files/digest-nwn-cep-1.52
@@ -0,0 +1,3 @@
+MD5 f153591c0fd81889ca43ee05208c4006 cepv152_man.zip 252314768
+RMD160 aa949239c1d221b08c888ebd11f710ee6b433422 cepv152_man.zip 252314768
+SHA256 cf4ef336afc75373812262202b5bd4a8bb3d45863467dc1864c1a5837921bbc2 cepv152_man.zip 252314768
diff --git a/games-rpg/nwn-cep/files/digest-nwn-cep-1.52-r1 b/games-rpg/nwn-cep/files/digest-nwn-cep-1.52-r1
new file mode 100644
index 000000000000..78568f932b77
--- /dev/null
+++ b/games-rpg/nwn-cep/files/digest-nwn-cep-1.52-r1
@@ -0,0 +1,3 @@
+MD5 f153591c0fd81889ca43ee05208c4006 cepv152_man.zip 252314768
+RMD160 aa949239c1d221b08c888ebd11f710ee6b433422 cepv152_man.zip 252314768
+SHA256 cf4ef336afc75373812262202b5bd4a8bb3d45863467dc1864c1a5837921bbc2 cepv152_man.zip 252314768
diff --git a/games-rpg/nwn-cep/nwn-cep-1.52-r1.ebuild b/games-rpg/nwn-cep/nwn-cep-1.52-r1.ebuild
new file mode 100644
index 000000000000..7829ec15247a
--- /dev/null
+++ b/games-rpg/nwn-cep/nwn-cep-1.52-r1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn-cep/nwn-cep-1.52-r1.ebuild,v 1.1 2006/04/17 19:40:39 wolf31o2 Exp $
+
+inherit games
+
+DESCRIPTION="The Community Expansion Pack is a high quality custom content addon"
+HOMEPAGE="http://nwn.bioware.com/players/cep.html"
+SRC_URI="cepv${PV//.}_man.zip"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE="hou sou"
+RESTRICT="fetch"
+
+DEPEND="app-arch/unzip"
+RDEPEND=">=games-rpg/nwn-1.66-r1"
+
+S=${WORKDIR}
+
+die_from_busted_nwn-data() {
+ local use=$*
+ ewarn "You must emerge games-rpg/nwn-data with USE=$use. You can fix this"
+ ewarn "by doing the following:"
+ echo
+ einfo "mkdir -p /etc/portage"
+ einfo "echo 'games-rpg/nwn-data $use' >> /etc/portage/package.use"
+ einfo "emerge --oneshot games-rpg/nwn-data"
+ die "nwn-data requires USE=$use"
+}
+
+pkg_nofetch() {
+ einfo "Please visit http://nwvault.ign.com/cep/downloads/"
+ einfo "and download the .zip version."
+ einfo "Then move the file you download to:"
+ einfo "${DISTDIR}/${A}"
+}
+
+pkg_setup() {
+ games_pkg_setup
+ if use sou
+ then
+ built_with_use games-rpg/nwn-data sou || die_from_busted_nwn-data sou
+ fi
+ if use hou
+ then
+ built_with_use games-rpg/nwn-data hou || die_from_busted_nwn-data hou
+ fi
+}
+
+src_install() {
+ dodir "${GAMES_PREFIX_OPT}"/nwn/{hak,tlk,modules,cep}
+ cp *.hak "${D}/${GAMES_PREFIX_OPT}"/nwn/hak/ || die "hak failed"
+
+ local hak
+ if use hou ; then
+ hak=HotU
+ elif use sou ; then
+ hak=SoU
+ else
+ hak=Live
+ fi
+
+ cp ${hak}/* "${D}/${GAMES_PREFIX_OPT}"/nwn/hak/ || die "hak2 failed"
+ cp cep.tlk "${D}/${GAMES_PREFIX_OPT}"/nwn/tlk/ || die "tlk failed"
+ cp *.mod "${D}/${GAMES_PREFIX_OPT}"/nwn/modules/ || die "mod failed"
+ cp *.pdf *.txt "${D}/${GAMES_PREFIX_OPT}"/nwn/cep/ || die "docs failed"
+ prepgamesdirs
+}
diff --git a/games-rpg/nwn-cep/nwn-cep-1.52.ebuild b/games-rpg/nwn-cep/nwn-cep-1.52.ebuild
new file mode 100644
index 000000000000..07cbadf48745
--- /dev/null
+++ b/games-rpg/nwn-cep/nwn-cep-1.52.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn-cep/nwn-cep-1.52.ebuild,v 1.1 2006/04/17 19:40:39 wolf31o2 Exp $
+
+inherit games
+
+DESCRIPTION="The Community Expansion Pack is a high quality custom content addon"
+HOMEPAGE="http://nwn.bioware.com/players/cep.html"
+SRC_URI="cepv${PV//.}_man.zip"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE=""
+RESTRICT="fetch"
+
+DEPEND="app-arch/unzip"
+RDEPEND=">=games-rpg/nwn-1.66"
+
+S=${WORKDIR}
+
+pkg_nofetch() {
+ einfo "Please visit http://nwvault.ign.com/cep/downloads/"
+ einfo "and download the .zip version."
+ einfo "Then move the file you download to:"
+ einfo "${DISTDIR}/${A}"
+}
+
+src_install() {
+ dodir "${GAMES_PREFIX_OPT}"/nwn/{hak,tlk,modules,cep}
+ cp *.hak "${D}/${GAMES_PREFIX_OPT}"/nwn/hak/ || die "hak failed"
+
+ cp Live/* "${D}/${GAMES_PREFIX_OPT}"/nwn/hak/ || die "hak2 failed"
+ cp cep.tlk "${D}/${GAMES_PREFIX_OPT}"/nwn/tlk/ || die "tlk failed"
+ cp *.mod "${D}/${GAMES_PREFIX_OPT}"/nwn/modules/ || die "mod failed"
+ cp *.pdf *.txt "${D}/${GAMES_PREFIX_OPT}"/nwn/cep/ || die "docs failed"
+ prepgamesdirs
+}