summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2006-11-07 19:28:54 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2006-11-07 19:28:54 +0000
commitb4c963b9cc023d20d10b0406cdd3dc473a3a7554 (patch)
tree9f50e1f26cc1d1bf4ec994d03d039343c4a83d29 /games-fps/ut2004-bonuspack-mega
parentAdded new revision for testing which uses the brand-spankin-new games-mods.ec... (diff)
downloadgentoo-2-b4c963b9cc023d20d10b0406cdd3dc473a3a7554.tar.gz
gentoo-2-b4c963b9cc023d20d10b0406cdd3dc473a3a7554.tar.bz2
gentoo-2-b4c963b9cc023d20d10b0406cdd3dc473a3a7554.zip
Added new revision for testing which uses the brand-spankin-new games-mods.eclass to reduce ebuild code.
(Portage version: 2.1.2_rc1-r4)
Diffstat (limited to 'games-fps/ut2004-bonuspack-mega')
-rw-r--r--games-fps/ut2004-bonuspack-mega/ChangeLog9
-rw-r--r--games-fps/ut2004-bonuspack-mega/files/digest-ut2004-bonuspack-mega-1-r23
-rw-r--r--games-fps/ut2004-bonuspack-mega/ut2004-bonuspack-mega-1-r2.ebuild64
3 files changed, 75 insertions, 1 deletions
diff --git a/games-fps/ut2004-bonuspack-mega/ChangeLog b/games-fps/ut2004-bonuspack-mega/ChangeLog
index dbec065de5ae..2b6ab54a57bd 100644
--- a/games-fps/ut2004-bonuspack-mega/ChangeLog
+++ b/games-fps/ut2004-bonuspack-mega/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for games-fps/ut2004-bonuspack-mega
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2004-bonuspack-mega/ChangeLog,v 1.7 2006/09/26 14:56:28 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2004-bonuspack-mega/ChangeLog,v 1.8 2006/11/07 19:28:54 wolf31o2 Exp $
+
+*ut2004-bonuspack-mega-1-r2 (07 Nov 2006)
+
+ 07 Nov 2006; Chris Gianelloni <wolf31o2@gentoo.org>
+ +ut2004-bonuspack-mega-1-r2.ebuild:
+ Added new revision for testing which uses the brand-spankin-new
+ games-mods.eclass to reduce ebuild code.
26 Sep 2006; Chris Gianelloni <wolf31o2@gentoo.org>
ut2004-bonuspack-mega-1-r1.ebuild:
diff --git a/games-fps/ut2004-bonuspack-mega/files/digest-ut2004-bonuspack-mega-1-r2 b/games-fps/ut2004-bonuspack-mega/files/digest-ut2004-bonuspack-mega-1-r2
new file mode 100644
index 000000000000..38b19955bc69
--- /dev/null
+++ b/games-fps/ut2004-bonuspack-mega/files/digest-ut2004-bonuspack-mega-1-r2
@@ -0,0 +1,3 @@
+MD5 098be93d06823c5fd416fa701e83418f ut2004megapack-linux.tar.bz2 203124107
+RMD160 8a5fa450c0a5cb9c3a66c5996a2a92bff2a1302f ut2004megapack-linux.tar.bz2 203124107
+SHA256 b9122c8c405945d29c3cdf61f57fe4d21e886b79ea9caa0d8e0ca2e520aa472c ut2004megapack-linux.tar.bz2 203124107
diff --git a/games-fps/ut2004-bonuspack-mega/ut2004-bonuspack-mega-1-r2.ebuild b/games-fps/ut2004-bonuspack-mega/ut2004-bonuspack-mega-1-r2.ebuild
new file mode 100644
index 000000000000..87d413236eed
--- /dev/null
+++ b/games-fps/ut2004-bonuspack-mega/ut2004-bonuspack-mega-1-r2.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2004-bonuspack-mega/ut2004-bonuspack-mega-1-r2.ebuild,v 1.1 2006/11/07 19:28:54 wolf31o2 Exp $
+
+MOD_DESC="Megapack bonus pack"
+MOD_NAME="Megapack"
+
+inherit games games-mods
+
+MY_P="ut2004megapack-linux.tar.bz2"
+MY_PN="Megapack"
+
+HOMEPAGE="http://www.unrealtournament2004.com/"
+SRC_URI="mirror://3dgamers/unrealtourn2k4/Missions/${MY_P}
+ http://0day.icculus.org/ut2004/${MY_P}
+ ftp://ftp.games.skynet.be/pub/misc/${MY_P}
+ http://sonic-lux.net/data/mirror/ut2004/${MY_P}"
+
+LICENSE="ut2003"
+
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="games-fps/ut2004-data"
+
+S=${WORKDIR}/UT2004MegaPack
+dir=${GAMES_PREFIX_OPT}/ut2004
+Ddir=${D}/${dir}
+
+src_unpack() {
+ games-mods_src_unpack
+ cd "${S}"
+ # Remove files in Megapack which are already installed
+ rm -r Animations Speech Web
+
+ rm Help/{ReadMePatch.int.txt,UT2004Logo.bmp}
+ mv Help/BonusPackReadme.txt Help/${MY_PN}Readme.txt
+
+ rm Maps/ONS-{Adara,IslandHop,Tricky,Urban}.ut2
+ rm Sounds/{CicadaSnds,DistantBooms,ONSBPSounds}.uax
+ rm StaticMeshes/{BenMesh02,BenTropicalSM01,HourAdara,ONS-BPJW1,PC_UrbanStatic}.usx
+
+ # System
+ rm System/{AL,AS-,B,b,C,D,E,F,G,I,L,O,o,S,s,U,V,W,X,x}*
+ rm System/{ucc,ut2004}-bin
+ rm System/{ucc,ut2004}-bin-linux-amd64
+ rm Textures/{AW-2k4XP,BenTex02,BenTropical01,BonusParticles,CicadaTex,Construction_S,HourAdaraTexor,jwfasterfiles,ONSBP_DestroyedVehicles,ONSBPTextures,PC_UrbanTex,UT2004ECEPlayerSkins}.utx
+}
+
+src_install() {
+ # Backup files which a future bonuspack may try to overwrite
+ for n in {Manifest.in{i,t},Packages.md5} ; do
+ cp System/${n} System/${n}-${MY_PN}
+ done
+
+ # Install Megapack
+ for n in {Help,Maps,Music,Sounds,StaticMeshes,System,Textures} ; do
+ # doins is not used because of its unnecessary overhead
+ dodir "${dir}"/${n}
+ cp -r "${S}"/${n}/* "${Ddir}"/${n} \
+ || die "copying ${n} from ${MY_PN}"
+ done
+
+ prepgamesdirs
+}