# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit games DESCRIPTION="Excessive UT" # Homepage, not used by Portage directly but handy for developer reference HOMEPAGE="http://excessiveoverkill.com/" # Point to any required sources; these will be automatically downloaded by # Portage. SRC_URI="http://excessiveoverkill.com/downloads/Excessive${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 Excessive${PV/./}.umod || die "could not unpack Excessive${PV/./}.umod" # move stuff around rm Excessive${PV/./}.umod mkdir Help mv System/Excessive.txt Help/ # install it all local dir=${GAMES_PREFIX_OPT}/unreal-tournament dodir ${dir} mv * ${D}/${dir}/ prepgamesdirs }