# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ MOD_DESC="advanced FPS competition mod" MOD_NAME="Challenge Pro Mode Arena" MOD_DIR="cpma" inherit games games-mods HOMEPAGE="http://www.promode.org/" SRC_URI="http://www.challenge-tv.com/demostorage/files/cpm/cpma${PV//.}-nomaps.zip http://www.promode.org/files/cpma-mappack-full.zip" LICENSE="as-is" KEYWORDS="-* ~amd64 ~ppc ~x86" RDEPEND="ppc? ( games-fps/${GAME} ) !ppc? ( || ( games-fps/${GAME} games-fps/${GAME}-bin ) )" src_install() { insinto "${GAMES_DATADIR}/${GAME}/baseq3" doins "${WORKDIR}"/*.pk3 || die "pk3" games-mods_src_install }