diff options
author | Denis Dupeyron <calchan@gentoo.org> | 2008-08-13 21:10:36 +0000 |
---|---|---|
committer | Denis Dupeyron <calchan@gentoo.org> | 2008-08-13 21:10:36 +0000 |
commit | 33291b5c0261108831f1204ddde210a9f85676d0 (patch) | |
tree | f05fc27bcea66a2cfeb5df40956e7d2eda822351 /games-rpg/nwn-cep | |
parent | Really early testing for new Amanda version. Should work with libtool-2.2 unl... (diff) | |
download | gentoo-2-33291b5c0261108831f1204ddde210a9f85676d0.tar.gz gentoo-2-33291b5c0261108831f1204ddde210a9f85676d0.tar.bz2 gentoo-2-33291b5c0261108831f1204ddde210a9f85676d0.zip |
Rewrote ebuild for version 1.68. Tested and it works with nwn-1.69 too.
(Portage version: 2.2_rc7/cvs/Linux 2.6.25-gentoo-r6 i686)
Diffstat (limited to 'games-rpg/nwn-cep')
-rw-r--r-- | games-rpg/nwn-cep/ChangeLog | 7 | ||||
-rw-r--r-- | games-rpg/nwn-cep/nwn-cep-1.68-r1.ebuild | 41 | ||||
-rw-r--r-- | games-rpg/nwn-cep/nwn-cep-2.0.ebuild | 4 |
3 files changed, 49 insertions, 3 deletions
diff --git a/games-rpg/nwn-cep/ChangeLog b/games-rpg/nwn-cep/ChangeLog index 9266e0a00c6a..f9caf6c1da38 100644 --- a/games-rpg/nwn-cep/ChangeLog +++ b/games-rpg/nwn-cep/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for games-rpg/nwn-cep # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn-cep/ChangeLog,v 1.11 2008/07/28 17:40:09 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn-cep/ChangeLog,v 1.12 2008/08/13 21:10:36 calchan Exp $ + +*nwn-cep-1.68-r1 (13 Aug 2008) + + 13 Aug 2008; Denis Dupeyron <calchan@gentoo.org> +nwn-cep-1.68-r1.ebuild: + Rewrote ebuild for version 1.68. Tested and it works with nwn-1.69 too. 28 Jul 2008; Chris Gianelloni <wolf31o2@gentoo.org> metadata.xml: Removing myself from metadata.xml since I am retiring from the project. diff --git a/games-rpg/nwn-cep/nwn-cep-1.68-r1.ebuild b/games-rpg/nwn-cep/nwn-cep-1.68-r1.ebuild new file mode 100644 index 000000000000..2fdf1f74d8b2 --- /dev/null +++ b/games-rpg/nwn-cep/nwn-cep-1.68-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2008 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.68-r1.ebuild,v 1.1 2008/08/13 21:10:36 calchan Exp $ + +inherit games + +DESCRIPTION="The Community Expansion Pack for Neverwinter Nights" +HOMEPAGE="http://nwn.bioware.com/players/cep.html" +SRC_URI="http://c.vnfiles.ign.com/nwvault.ign.com/fms/files/hakpaks/6057/cepv152_man.rar + http://c.vnfiles.ign.com/nwvault.ign.com/fms/files/hakpaks/6974/CEP168.rar" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="" + +DEPEND="app-arch/unrar" +RDEPEND=">=games-rpg/nwn-1.68" + +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() { + dodir "${GAMES_PREFIX_OPT}"/nwn/{hak,tlk,texturepacks,modules,cep} + + # Using mv below instead of doins due to large file sizes + mv *.hak HotU/*.hak "${D}/${GAMES_PREFIX_OPT}"/nwn/hak/ || die "Installing hak files failed" + mv *.tlk "${D}/${GAMES_PREFIX_OPT}"/nwn/tlk/ || die "Installing tlk files failed" + mv *.erf "${D}/${GAMES_PREFIX_OPT}"/nwn/texturepacks/ || die "Installing erf files failed" + mv *.mod "${D}/${GAMES_PREFIX_OPT}"/nwn/modules/ || die "Installing mod files failed" + mv *.pdf *.txt "${D}/${GAMES_PREFIX_OPT}"/nwn/cep/ || die "Installing documentation failed" + prepgamesdirs +} diff --git a/games-rpg/nwn-cep/nwn-cep-2.0.ebuild b/games-rpg/nwn-cep/nwn-cep-2.0.ebuild index c303f1b290a7..f0657e8e9999 100644 --- a/games-rpg/nwn-cep/nwn-cep-2.0.ebuild +++ b/games-rpg/nwn-cep/nwn-cep-2.0.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 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.5 2007/09/12 20:53:35 nyhm Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn-cep/nwn-cep-2.0.ebuild,v 1.6 2008/08/13 21:10:36 calchan Exp $ inherit eutils games |