summaryrefslogtreecommitdiff
blob: 3c8f4f3c43298bcb783b3feb3de8ca4ebb308ce5 (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2004-alienswarm/ut2004-alienswarm-1.31.ebuild,v 1.2 2006/10/05 21:50:22 wolf31o2 Exp $

AS_V="1.3"

MOD_DESC="Alien Swarm is an overhead view tactical squad-based shooter"
MOD_NAME="Alien Swarm"
MOD_BINS=alienswarm
MOD_TBZ2="alienswarm_${AS_V} alien.swarm_phalanx.campaign alien.swarm_telic.campaign"
MOD_ICON=alienswarm.xpm

MY_PV=${PV/./}
MY_MOD=${MOD_NAME/ /}

inherit games games-ut2k4mod

HOMEPAGE="http://www.blackcatgames.com/swarm/"
SRC_URI="mirror://liflg/alien.swarm_${AS_V}-english.run
	mirror://liflg/alien.swarm_phalanx.campaign-addon.run
	mirror://liflg/alien.swarm_telic.campaign-addon.run
	http://www.night-blade.com/AS/${MY_MOD}_${AS_V/./}_to_${MY_PV}_Patch.zip"

LICENSE="freedist"
RESTRICT="mirror strip"
IUSE=""

DEPEND="app-arch/unzip"

src_install() {
	games-ut2k4mod_src_install
	exeinto "${GAMES_PREFIX_OPT}"/ut2004
	doexe "${S}"/bin/* || die
	cp -pPR "${S}"/${MY_MOD} ${Ddir} || die
	prepgamesdirs
}