diff options
Diffstat (limited to 'games-fps/unreal-tournament-infiltration/unreal-tournament-infiltration-286.ebuild')
-rw-r--r-- | games-fps/unreal-tournament-infiltration/unreal-tournament-infiltration-286.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/games-fps/unreal-tournament-infiltration/unreal-tournament-infiltration-286.ebuild b/games-fps/unreal-tournament-infiltration/unreal-tournament-infiltration-286.ebuild new file mode 100644 index 000000000000..8cc925ffa3eb --- /dev/null +++ b/games-fps/unreal-tournament-infiltration/unreal-tournament-infiltration-286.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2003 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.1 2003/09/09 18:10:15 vapier 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 + || ( app-games/unreal-tournament app-games/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 +} |