From 984c306321512c598a9dcb420ffd85314b357e17 Mon Sep 17 00:00:00 2001 From: Chris Gianelloni Date: Wed, 31 Jan 2007 21:01:31 +0000 Subject: [PATCH] Added 2.0 ebuild. Ebuild by Benedikt Morbach and modified by me. Closing bug #150195. Package-Manager: portage-2.1.2_rc4-r1 --- games-rpg/nwn-cep/ChangeLog | 11 ++++- games-rpg/nwn-cep/Manifest | 25 ++++++---- games-rpg/nwn-cep/files/digest-nwn-cep-2.0 | 6 +++ games-rpg/nwn-cep/nwn-cep-2.0.ebuild | 56 ++++++++++++++++++++++ 4 files changed, 88 insertions(+), 10 deletions(-) create mode 100644 games-rpg/nwn-cep/files/digest-nwn-cep-2.0 create mode 100644 games-rpg/nwn-cep/nwn-cep-2.0.ebuild 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 +nwn-cep-2.0.ebuild: + Added 2.0 ebuild. Ebuild by Benedikt Morbach + and modified by me. Closing bug + #150195. 20 Nov 2006; Chris Gianelloni -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/Manifest b/games-rpg/nwn-cep/Manifest index e4a0bb3f497b..6e3bef353b0d 100644 --- a/games-rpg/nwn-cep/Manifest +++ b/games-rpg/nwn-cep/Manifest @@ -4,14 +4,20 @@ Hash: SHA1 DIST CEP168.zip 1549479 RMD160 857f09c997a76a72e3b9033d3440649bf497c9dd SHA1 af4e65be2f4a39b7b57bd19cfcdfeb8f909344f4 SHA256 475bedeabacea5ad24024ed8d4efc9c58b2d9a3834d006faf7b87f039b9225bd DIST cepv152_man.zip 252314768 RMD160 aa949239c1d221b08c888ebd11f710ee6b433422 SHA1 cdaac8056bd76f097ec7278be47a3a260a1ab492 SHA256 cf4ef336afc75373812262202b5bd4a8bb3d45863467dc1864c1a5837921bbc2 DIST cepv153.zip 770520 RMD160 57de94403f0e66d70394fabc1ad98f0bfea5c969 SHA1 c7b0eb86f674251cd3685a7a18e59684ba7e7237 SHA256 a103c377986051c0b402f284ae7ffaf067158997d139f0bad3f6ba9d8faac818 +DIST cepv2_Part_A.zip 286831341 RMD160 7cf33f7e000de645fd27a13e37926137d3faa3dd SHA1 31c3c0c113fa0a57bf869cb73c28b4b50a7a39a7 SHA256 054220cfda019f12ef2c843c34695d12d9ede504dc9cd436d8415fb8f4e7cef3 +DIST cepv2_Part_B.zip 355035918 RMD160 7c10a633e546fd69b50a8789ca7edb760ed92695 SHA1 de57168d4fcf326050f7e27c3bfee172f18bdb7c SHA256 306de76a05569b2c9e44e632e9c5cb878c6cab38f3217ecd9ebd3080be031a5d EBUILD nwn-cep-1.68.ebuild 1626 RMD160 a231d269f960d5538ad7039d02499d382df42374 SHA1 0175d699064e2164ac5bafd9850a9ce2ec71f41d SHA256 94f26d1c97b598be40a455e159f16cb6c78926aa99f7acdd6d6d21ed04ff1257 MD5 0b53900c403190d5e128b373b0eeff7c nwn-cep-1.68.ebuild 1626 RMD160 a231d269f960d5538ad7039d02499d382df42374 nwn-cep-1.68.ebuild 1626 SHA256 94f26d1c97b598be40a455e159f16cb6c78926aa99f7acdd6d6d21ed04ff1257 nwn-cep-1.68.ebuild 1626 -MISC ChangeLog 1818 RMD160 3d26715e39d0f338eb2db629d3aebbe5e2c86df7 SHA1 b1cb3f971780016aa056f8ede707c222ee3fe842 SHA256 9fc8911ae1098f873f805ae0b4425f776ff151a55ceaaf515b0bd943cb6b3edc -MD5 88d951ff30a0049688b616b0a4e982ec ChangeLog 1818 -RMD160 3d26715e39d0f338eb2db629d3aebbe5e2c86df7 ChangeLog 1818 -SHA256 9fc8911ae1098f873f805ae0b4425f776ff151a55ceaaf515b0bd943cb6b3edc ChangeLog 1818 +EBUILD nwn-cep-2.0.ebuild 1413 RMD160 150e2890f17e14498f56f7acf4fe98f7f7b490fe SHA1 e6a303508300a0ecdbfd884633fd9573590fff67 SHA256 b2eee3c201da6bef03d6e9bbdee1862ddb38cf5f5b68ef598d8b16b9ff1e32f7 +MD5 77c2015d95d2314b810e16615b622464 nwn-cep-2.0.ebuild 1413 +RMD160 150e2890f17e14498f56f7acf4fe98f7f7b490fe nwn-cep-2.0.ebuild 1413 +SHA256 b2eee3c201da6bef03d6e9bbdee1862ddb38cf5f5b68ef598d8b16b9ff1e32f7 nwn-cep-2.0.ebuild 1413 +MISC ChangeLog 2057 RMD160 d3f6333f636c01cff0632d56d321449fcd5e0116 SHA1 4187673d9701cebad2115650515936fcf9ddbdde SHA256 1a3018bdadcd9ae6d0fd80ada2e18199c7fdbd3c7eafab7230cab1dc7d3c1853 +MD5 9d7925c8ad9451100a45e61120df6ab5 ChangeLog 2057 +RMD160 d3f6333f636c01cff0632d56d321449fcd5e0116 ChangeLog 2057 +SHA256 1a3018bdadcd9ae6d0fd80ada2e18199c7fdbd3c7eafab7230cab1dc7d3c1853 ChangeLog 2057 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158 @@ -19,10 +25,13 @@ SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata MD5 513270f7c157f2b73f725e6b289341be files/digest-nwn-cep-1.68 663 RMD160 99b2f547dd65697b87c4f598c1a1a129ff4fb50d files/digest-nwn-cep-1.68 663 SHA256 71d8de5b1cd7a099db23737c26053e4881f1fb3d761122dd4e855641321abddb files/digest-nwn-cep-1.68 663 +MD5 6484af3eb84a8017388299e944aa85e8 files/digest-nwn-cep-2.0 476 +RMD160 c16118edd58ef8edf34060c4e2b8ec157f708d9b files/digest-nwn-cep-2.0 476 +SHA256 51569746f91c019a4326bac854cfebcb3b79b0404fbcba59fe8cae42d69a0827 files/digest-nwn-cep-2.0 476 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.5 (GNU/Linux) +Version: GnuPG v2.0.1 (GNU/Linux) -iD8DBQFFYeQ9kT4lNIS36YERAoeKAJsH5knvKNPh5r7gANCEU5pNFPcRCQCdElJH -BxGusQDhkObJZUlHfF0QW2g= -=eW4r +iD8DBQFFwQPxkT4lNIS36YERAoTUAKCWnV82v4LTCnSHukg0LX8SwxI4bgCgsl2r +SirO1vyDUbeJoY3UE1jDbW8= +=ufoo -----END PGP SIGNATURE----- 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 +} -- 2.26.2