summaryrefslogtreecommitdiff
blob: 31f5713f761682f954975faeeb0c8d917a1b87bd (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
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-fps/unreal-tournament-strikeforce/unreal-tournament-strikeforce-1.81.ebuild,v 1.1 2003/10/03 07:51:17 vapier Exp $

inherit games

MY_PV=${PV/./}
DESCRIPTION="A UT addon where you fight terrorists as part of an elite strikeforce"
HOMEPAGE="http://www.strike-force.com/"
SRC_URI="ftp://ftp.freenet.de/pub/4players/strikeforce/final/sf_180_server_files.tar.gz
	http://strikeforce.redconcepts.net/sf_180_server_files.tar.gz
	mirror://gentoo/${P}.tar.bz2"
#http://www.hut.fi/~kalyytik/sf/linux-sf.html

LICENSE="as-is"
SLOT="0"
KEYWORDS="x86"

DEPEND="|| ( app-games/unreal-tournament app-games/unreal-tournament-goty )"

S="${WORKDIR}"

src_unpack() {
	unpack sf_180_server_files.tar.gz
	unpack ${P}.tar.bz2
	mv "README - sf orm mappack.txt" Strikeforce/SFDoc/
	rm -rf Help/OpenGL\ Alternate
	rm System/*.{dll,lnk,exe} System/ServerAdds.zip
	rm Strikeforce/SF_System/*.bat
	find -type f -exec chmod a-x '{}' \;
}

src_install() {
	local dir=${GAMES_PREFIX_OPT}/unreal-tournament
	dodir ${dir}
	mv * ${D}/${dir}/
	prepgamesdirs
}