# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit games DESCRIPTION="Marginally enhanced UT" # Homepage, not used by Portage directly but handy for developer reference HOMEPAGE="http://www.pseudorandom.co.uk/2002/paradox/ut/marginal/" # Point to any required sources; these will be automatically downloaded by # Portage. SRC_URI="http://www.pseudorandom.co.uk/2002/paradox/ut/marginal/ut-marginally_enhanced-${PV/./}.zip" LICENSE="as-is" SLOT="0" KEYWORDS="-* ~amd64 ~x86" IUSE="" 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 umod umod -v -b `pwd` -x ut-marginally_enhanced-${PV/./}.umod || die "could not unpack ut-marginally_enhanced-${PV/./}.umod" # move stuff around rm ut-marginally_enhanced-${PV/./}.umod marginal.png MarginallyEnhancedUT.html # install it all local dir=${GAMES_PREFIX_OPT}/unreal-tournament dodir ${dir} mv * ${D}/${dir}/ prepgamesdirs }