# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit games DESCRIPTION="Futuristic FPS (bonus packs)" HOMEPAGE="http://www.unrealtournament.com/" # UT has 4 official bonus packs ... # [UTBonusPack] -> not included in games-fps/unreal-tournament but in goty # [UTBonusPack2] -> not included in games-fps/unreal-tournament but in goty # [UTiNoxxPack] -> not included in games-fps/unreal-tournament but in goty # [UTBonusPack4] -> neither in games-fps/unreal-tournament nor in goty included SRC_URI="ftp://ftp.infogrames.net/patches/ut/UTBonusPack1.zip ftp://ftp.infogrames.net/patches/ut/UTBonusPack2.zip ftp://ftp.infogrames.net/patches/ut/UTInoxxPack.zip ftp://ftp.infogrames.net/patches/ut/UTBonusPack4.zip" LICENSE="as-is" SLOT="0" KEYWORDS="-* amd64 x86" IUSE="X" DEPEND="app-arch/unzip games-fps/unreal-tournament games-util/umodpack" RDEPEND="X? ( virtual/x11 )" S=${WORKDIR} src_install() { # unpack the BonusPacks umod -v -b `pwd` -x UTBonusPack1.umod || die "could not unpack UTBonusPack.umod" umod -v -b `pwd` -x DE.umod || die "could not unpack DE.umod" umod -v -b `pwd` -x UTInoxxPack.umod || die "could not unpack UTInoxxPack.umod" umod -v -b `pwd` -x UTBonusPack4.umod || die "could not unpack UTBonusPack4.umod" # move stuff around rm UTBonusPack.umod rm DE.umod rm UTInoxxPack.umod rm UTBonusPack4.umod mv CTF-HallOfGiants.unr CTF-Orbital.unr Maps mv system System mv textures Textures # install it all local dir=${GAMES_PREFIX_OPT}/unreal-tournament dodir ${dir} mv * ${D}/${dir}/ prepgamesdirs }