# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit games DESCRIPTION="UT2004 - Unreal Forever mod" HOMEPAGE="http://u4e.beyondunreal.com/" MOD_FILE="u4e/u4ev${PV}-zip.zip" SRC_URI="ftp://beyondunreal.gameservers.net/${MOD_FILE} ftp://ftp.edome.net/mirror/beyondunreal/${MOD_FILE}" LICENSE="freedist" SLOT="0" KEYWORDS="~x86" IUSE="" RESTRICT="nostrip" DEPEND=">=games-fps/ut2004-3369-r1 games-fps/ut2004-bonuspack-ece app-arch/unzip" S=${WORKDIR} dir=${GAMES_PREFIX_OPT}/ut2004 src_unpack() { # The zipfile has a problem with "/" vs "\", which can be ignored unzip "${DISTDIR}/${A}" } src_install() { insinto ${dir} doins -r * || die "doins failed" prepgamesdirs }