summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <tristan@gentoo.org>2009-10-08 03:24:18 +0000
committerTristan Heaven <tristan@gentoo.org>2009-10-08 03:24:18 +0000
commitc1d2868fdb1408e97f7135f39ee0d23a3a0bba88 (patch)
tree30a31279582c8bd19a029f5a6e59091e3de0ae84 /games-fps
parentStable on amd64, bug #281427 (diff)
downloadhistorical-c1d2868fdb1408e97f7135f39ee0d23a3a0bba88.tar.gz
historical-c1d2868fdb1408e97f7135f39ee0d23a3a0bba88.tar.bz2
historical-c1d2868fdb1408e97f7135f39ee0d23a3a0bba88.zip
EAPI=2; RESTRICT=fetch
Package-Manager: portage-2.2_rc44/cvs/Linux x86_64
Diffstat (limited to 'games-fps')
-rw-r--r--games-fps/doom3-hellcampaign/ChangeLog8
-rw-r--r--games-fps/doom3-hellcampaign/Manifest10
-rw-r--r--games-fps/doom3-hellcampaign/doom3-hellcampaign-1-r1.ebuild40
3 files changed, 37 insertions, 21 deletions
diff --git a/games-fps/doom3-hellcampaign/ChangeLog b/games-fps/doom3-hellcampaign/ChangeLog
index 44cbed84e934..e556d171f34d 100644
--- a/games-fps/doom3-hellcampaign/ChangeLog
+++ b/games-fps/doom3-hellcampaign/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-fps/doom3-hellcampaign
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/doom3-hellcampaign/ChangeLog,v 1.5 2008/02/15 00:36:44 wolf31o2 Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/doom3-hellcampaign/ChangeLog,v 1.6 2009/10/08 03:24:18 nyhm Exp $
+
+ 08 Oct 2009; Tristan Heaven <nyhm@gentoo.org>
+ doom3-hellcampaign-1-r1.ebuild:
+ EAPI=2; RESTRICT=fetch
15 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org>
-doom3-hellcampaign-1.ebuild, doom3-hellcampaign-1-r1.ebuild:
diff --git a/games-fps/doom3-hellcampaign/Manifest b/games-fps/doom3-hellcampaign/Manifest
index 657e648b3538..e47a502713a7 100644
--- a/games-fps/doom3-hellcampaign/Manifest
+++ b/games-fps/doom3-hellcampaign/Manifest
@@ -3,13 +3,13 @@ Hash: SHA1
DIST hardcorehellcampaign_patch.zip 532844 RMD160 6f5c31ba947552e5ca454d3f478c86f24cb23570 SHA1 051eeef62f6e3c70dbd67f6fd37286d9d68cc362 SHA256 98d0619e0dcd8f12bbb596c635831a37b396cab5fd49e004e95f6b8d0deefd92
DIST sp_hc_final.zip 113992555 RMD160 de405f4c50761d2e34fb38104df8c0e3b235b3f2 SHA1 f652e63def4dc1dd6f4d6a007b99a5db09003da9 SHA256 3b0c4b19139f5c3341a09d4169760f1eac1029e87587a44651cde4a4bc46bcd4
-EBUILD doom3-hellcampaign-1-r1.ebuild 1063 RMD160 1b982f0aa69d90d6fe872d526345f0f0a2eca38c SHA1 951458b7d8b6cb349f0c6e17aa5074387b3568f0 SHA256 42cea6696ef3d7255060381027f5c22fc1c621fd98ec2c1ad07173fd05806a89
-MISC ChangeLog 1324 RMD160 5a4a73254564f4ad310a1cc995892dbd788caedd SHA1 b948536bb3af18fb17dfa75dcdfdbd64b3e7f575 SHA256 4dbf6e9673ed4533b4b8568d6817fca9cfd2ab20dc88ed7f5ac4abb92d103d26
+EBUILD doom3-hellcampaign-1-r1.ebuild 1220 RMD160 22c46b58f7aa73720f4c74954f85ff566554a5e9 SHA1 5dfa511e0779378879d7d5f3c26890ae9c12c7b6 SHA256 4b464254ee79041741ecd6c262d530c2220b4ba24771d94aa02e4090b5767e14
+MISC ChangeLog 1428 RMD160 13b520ea93b13ae74ed0b42903473e7a9c3c3513 SHA1 99e72855a2c55efd98a75ebc40419ccceeedf893 SHA256 cefb6b5be658a603cc5eb6a2399bf65a5a5e13b3e84543c4333d9529a4091c4e
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
-iEYEARECAAYFAkrFFu0ACgkQdz7hIScOURE1IACgg2gLsUKQcfLQK0dNBG8MFWjk
-M9IAoJi2FlWx0FZecctrcQ2GK0n/wqFD
-=hjob
+iEYEARECAAYFAkrNW2gACgkQdz7hIScOURGSxwCgl5j2XFtdCf/VZLq4Xcg1vADb
+nXMAoPW1W3IhR7qfiLTXmaWR8RxZHYUT
+=3my8
-----END PGP SIGNATURE-----
diff --git a/games-fps/doom3-hellcampaign/doom3-hellcampaign-1-r1.ebuild b/games-fps/doom3-hellcampaign/doom3-hellcampaign-1-r1.ebuild
index fe110316efa2..83afee6593d1 100644
--- a/games-fps/doom3-hellcampaign/doom3-hellcampaign-1-r1.ebuild
+++ b/games-fps/doom3-hellcampaign/doom3-hellcampaign-1-r1.ebuild
@@ -1,35 +1,47 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/doom3-hellcampaign/doom3-hellcampaign-1-r1.ebuild,v 1.3 2009/10/01 20:54:00 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/doom3-hellcampaign/doom3-hellcampaign-1-r1.ebuild,v 1.4 2009/10/08 03:24:18 nyhm Exp $
+
+EAPI=2
MOD_DESC="map pack for Doom 3"
MOD_NAME="Hell Campaign"
MOD_DIR="hell_campaign"
-MOD_BINS="hellcampaign"
inherit games games-mods
HOMEPAGE="http://doom3.filefront.com/file/The_Ultimate_Hell_Campaign;52013"
-SRC_URI="mirror://filefront/Doom_III/Maps/Map_Packs/sp_hc_final.zip
- mirror://filefront/Doom_III/Maps/Map_Packs/hardcorehellcampaign_patch.zip"
+SRC_URI="sp_hc_final.zip
+ hardcorehellcampaign_patch.zip"
LICENSE="as-is"
KEYWORDS="amd64 x86"
IUSE="dedicated opengl"
+RESTRICT="fetch"
-S=${WORKDIR}
+pkg_nofetch() {
+ elog "Please download the following files:"
+ elog "http://www.filefront.com/4445166"
+ elog "http://www.filefront.com/4593578"
+ elog "and move them to ${DISTDIR}"
+}
src_unpack() {
- games-mods_src_unpack
- cd "${S}"
+ mkdir ${MOD_DIR}
+ cd ${MOD_DIR}
+ unpack ${A}
+}
+
+src_prepare() {
+ cd ${MOD_DIR}
# Prevent "non-portable" upper-case-filename warnings in Doom 3
- mv "Hardcore Hell Campaign.pk4" hardcore_hell_campaign.pk4
- mv Q2Textures.pk4 q2Textures.pk4
- mv Q3Textures.pk4 q3Textures.pk4
+ mv -f "Hardcore Hell Campaign.pk4" hardcore_hell_campaign.pk4 || die
+ mv -f Q2Textures.pk4 q2Textures.pk4 || die
+ mv -f Q3Textures.pk4 q3Textures.pk4 || die
+
+ mv -f "Hardcore Hell Campaign.rtf" readme.rtf || die
# Show nice description in "mods" menu within Doom 3
- echo 'Hell Campaign' > description.txt
- mkdir -p ${MOD_DIR}
- mv *.txt *.pk4 ${MOD_DIR} || die
+ echo "${MOD_NAME}" > description.txt
}