# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit games DESCRIPTION="UT Unreal 1 like Singleplayer Modification" HOMEPAGE="http://www.planetunreal.com/teamvortex/help/" SRC_URI="http://www.beyondunreal.com/dl.php/mods/onp120.zip ftp://ftp.edome.net/mirror/beyondunreal/mods/onp120.zip ftp://ftp.fragzone.se/pub/spel/ut/onp/onp120.zip ftp://netcastel.mine.nu/download/onp120.zip http://download.beyondunreal.com/get.php/1/astaley/unrealenh.zip http://download.beyondunreal.com/get.php/6/astaley/unrealenh.zip http://download.beyondunreal.com/get.php/3/astaley/unrealenh.zip http://193.43.183.23/sgxzcpe4/operationnapali_patch_120_to_130.zip http://www.unreal.pl/d.pl?ut/mody/operationnapali_patch_120_to_130.zip ftp://netcastel.mine.nu/download/operationnapali_patch_120_to_130.zip" LICENSE="as-is" SLOT="0" KEYWORDS="-* ~amd64 ~x86" IUSE="nounrealenh" DEPEND="app-arch/unzip || ( games-fps/unreal-tournament games-fps/unreal-tournament-goty ) games-util/umodpack" RDEPEND="X? ( virtual/x11 )" S=${WORKDIR} src_install() { # unpack the umods umod -v -b `pwd` -x oldskool239.umod || die "could not unpack oldskool239.umod" umod -v -b `pwd` -x Operation Na Pali.umod || die "could not unpack Operation Na Pali.umod" # prepare the files unzip -d Help Readme.zip mv NP02DavidM.unr Maps mv olextras.u mv onp120to130.txt Help if use nounrealenh ; then rm UnrealENH.int UnrealEnh.u unrealenh.txt else mv UnrealENH.int UnrealEnh.u System mv unrealenh.txt Help fi rm oldskool239.umod Operation Na Pali.umod readme.txt Readme.zip # final operations local dir=${GAMES_PREFIX_OPT}/unreal-tournament dodir ${dir} mv * ${D}/${dir}/ prepgamesdirs }