summaryrefslogtreecommitdiff
blob: 16ebc3d31501c3bb24488ab1cf20d64f5ae6bd87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=2

MOD_DESC="Editor's Choice Edition bonus pack"
MOD_NAME="Editor's Choice Edition"

inherit games games-mods

MY_P="ut2004megapack-linux.tar.bz2"
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"
IUSE=""

src_prepare() {
	mv -f UT2004MegaPack/* . || die
	rmdir UT2004MegaPack

	rm -r Music Speech

	# Remove megapack files which are not in ece
	rm Animations/ONSNewTank-A.ukx
	rm Help/ReadMePatch.int.txt
	# Help/{DebuggerLogo.bmp,InstallerLogo.bmp,Unreal.ico,UnrealEd.ico}
	# are not in megapack.
	# Keep new Help/UT2004Logo.bmp
	# Manual dir does not exist in megapack
	rm Maps/{AS*,CTF*,DM*}
	rm Sounds/A_Announcer_BP2.uax
	rm StaticMeshes/{JumpShipObjects.usx,Ty_RocketSMeshes.usx}
	rm System/{A*,b*,B*,CacheRecords.ucl}
	rm System/{*.det,*.est,*.frt,*.itt,*.kot}
	rm System/{CTF*,D*,Editor*,G*,I*,L*,ONS-Arc*,Onslaught.*,*.md5}
	rm System/{u*,U*,V*,X*,Core.u,Engine.u,F*,*.ucl,Sk*}
	rm Textures/{J*,j*,T*}
	rm -r Web

	# The file lists of ut2004-3369-r1 and -r2 are identical
	# Remove files owned by ut2004-3369-r2
	rm Help/UT2004Logo.bmp
	# The 2 Manifest files have not changed
	rm System/{Manifest.in{i,t},OnslaughtFull.int}
	rm System/{Core.int,Engine.int,Setup.int,Window.int}
	rm System/{OnslaughtFull.u,OnslaughtBP.u}
}