blob: 10d75e516fd32e2ba69eb8b574354ed59ebf7098 (
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
|
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-fps/unreal-tournament-infiltration/unreal-tournament-infiltration-286.ebuild,v 1.3 2004/02/20 06:40:07 mr_bones_ Exp $
inherit games
INFFILE="Infiltration${PV}-MAN.zip"
INFMAPS="INFMapPacks123FULL-MAN.zip"
DESCRIPTION="Realistic mod for Unreal Tournament"
HOMEPAGE="http://infiltration.sentrystudios.net/"
SRC_URI="ftp://inffilemirror.theonlinegaming.com/INF286/Full-Zipped/${INFFILE}
ftp://inffilemirror.theonlinegaming.com/MapPacks/MapPackFull123/Full-Zipped/${INFMAPS}"
LICENSE="as-is"
SLOT="0"
KEYWORDS="x86"
DEPEND="app-arch/unzip
|| ( games-fps/unreal-tournament games-fps/unreal-tournament-goty )"
S=${WORKDIR}
src_install() {
local dir=${GAMES_PREFIX_OPT}/unreal-tournament
dodir ${dir}
mv ${S}/* ${D}/${dir}/
insinto ${dir}/System
[ -e ${dir}/System/Infiltration.ini ] \
&& newins ${FILESDIR}/Infiltration.ini Infiltration.ini.sample \
|| doins ${FILESDIR}/Infiltration.ini
dogamesbin ${FILESDIR}/ut-inf
prepgamesdirs
}
pkg_postinst() {
touch ${GAMES_PREFIX_OPT}/unreal-tournament/System/Infiltration.ini
games_pkg_postinst
}
|