| 1 |
# Copyright 1999-2008 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/games-fps/unreal-tournament-strikeforce/unreal-tournament-strikeforce-1.81.ebuild,v 1.8 2004/11/03 00:29:29 vapier Exp $ |
| 4 |
|
| 5 |
inherit games |
| 6 |
|
| 7 |
MY_PV=${PV/./} |
| 8 |
DESCRIPTION="A UT addon where you fight terrorists as part of an elite strikeforce" |
| 9 |
HOMEPAGE="http://www.strike-force.com/" |
| 10 |
#http://strikeforce.redconcepts.net:8888/sf_180_server_files.tar.gz |
| 11 |
SRC_URI="mirror://gentoo/sf_180_server_files.tar.gz |
| 12 |
mirror://gentoo/${P}.tar.bz2 |
| 13 |
mirror://gentoo/sf180lnx.zip" |
| 14 |
#http://www.hut.fi/~kalyytik/sf/linux-sf.html |
| 15 |
|
| 16 |
LICENSE="as-is" |
| 17 |
SLOT="0" |
| 18 |
KEYWORDS="x86" |
| 19 |
IUSE="" |
| 20 |
|
| 21 |
RDEPEND="|| ( |
| 22 |
games-fps/unreal-tournament |
| 23 |
games-fps/unreal-tournament-goty |
| 24 |
)" |
| 25 |
DEPEND="app-arch/unzip" |
| 26 |
|
| 27 |
S=${WORKDIR} |
| 28 |
|
| 29 |
src_unpack() { |
| 30 |
unpack sf_180_server_files.tar.gz |
| 31 |
unpack ${P}.tar.bz2 |
| 32 |
unpack sf180lnx.zip |
| 33 |
mv "README - sf orm mappack.txt" Strikeforce/SFDoc/ |
| 34 |
rm -rf Help/OpenGL\ Alternate |
| 35 |
rm System/*.{dll,lnk,exe} System/ServerAdds.zip |
| 36 |
rm Strikeforce/SF_System/*.bat |
| 37 |
find -type f -exec chmod a-x '{}' + |
| 38 |
} |
| 39 |
|
| 40 |
src_install() { |
| 41 |
local dir=${GAMES_PREFIX_OPT}/unreal-tournament |
| 42 |
dodir "${dir}" |
| 43 |
mv * "${D}/${dir}/" |
| 44 |
prepgamesdirs |
| 45 |
} |