| 1 |
# Copyright 1999-2012 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-cpma/quake3-cpma-1.48.ebuild,v 1.3 2011/12/11 14:45:11 mr_bones_ Exp $ |
| 4 |
|
| 5 |
EAPI=2 |
| 6 |
|
| 7 |
MOD_DESC="advanced FPS competition mod" |
| 8 |
MOD_NAME="Challenge Pro Mode Arena" |
| 9 |
MOD_DIR="cpma" |
| 10 |
|
| 11 |
inherit games games-mods |
| 12 |
|
| 13 |
HOMEPAGE="http://www.promode.org/" |
| 14 |
SRC_URI="http://www.slashquit.net/files/x/q3/cpma${PV//.}-nomaps.zip |
| 15 |
http://www.slashquit.net/files/x/q3/cpma-mappack-full.zip" |
| 16 |
|
| 17 |
LICENSE="as-is" |
| 18 |
KEYWORDS="~ppc x86" |
| 19 |
IUSE="dedicated opengl" |
| 20 |
|
| 21 |
src_prepare() { |
| 22 |
mv -f *.pk3 ${MOD_DIR} || die |
| 23 |
} |
| 24 |
|
| 25 |
pkg_postinst() { |
| 26 |
games-mods_pkg_postinst |
| 27 |
elog "To enable bots: +bot_enable 1" |
| 28 |
} |