# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit games DESCRIPTION="Semi-realistic total conversion mod for UT2004" HOMEPAGE="http://www.majestic12.modnmod.com/forums/" MOD_FILE="mods/majestic12-v1.zip" PATCH_FILE="mods/majestic_12_${PV}_msu.rar" SRC_URI="ftp://beyondunreal.gameservers.net/${MOD_FILE} ftp://ftp.edome.net/mirror/beyondunreal/${MOD_FILE} ftp://beyondunreal.gameservers.net/${PATCH_FILE} ftp://ftp.edome.net/mirror/beyondunreal/${PATCH_FILE}" LICENSE="freedist" SLOT="0" KEYWORDS="~x86" IUSE="" RESTRICT="nostrip" DEPEND=">=games-fps/ut2004-3369-r1 app-arch/unzip" S=${WORKDIR} dir=${GAMES_PREFIX_OPT}/ut2004 MOD="Majestic12" src_install() { # Install patch cp -r "Majestic 12 ${PV} MSU"/${MOD}/* ${MOD}/ || die "cp failed" insinto ${dir} doins -r ${MOD} || die "doins failed" games_make_wrapper ${PN} "ut2004 -mod=${MOD}" make_desktop_entry ${PN} "UT2004 - Majestic 12" "ut2004.xpm" prepgamesdirs }