blob: 4cf26ebde689839c4c10d609fe7185319457f403 [file] [log] [blame]
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-fps/enemy-territory-fortress/enemy-territory-fortress-1.6-r3.ebuild,v 1.2 2009/10/10 17:08:29 nyhm Exp $
EAPI=2
GAME="enemy-territory"
MOD_DESC="a class-based teamplay modification"
MOD_NAME="Fortress"
MOD_DIR="etf"
MOD_ICON="etf.xpm"
inherit eutils games games-mods
HOMEPAGE="http://www.etfgame.com/"
SRC_URI="http://liflg.j0ke.net/files/final/etf_${PV}-english-5.run"
LICENSE="freedist"
KEYWORDS="amd64 x86"
IUSE="dedicated opengl"
QA_TEXTRELS="${GAMES_DATADIR:1}/${GAME}/omnibot_etf.so"
src_unpack() {
unpack_makeself
unpack ./etf.tar ./cfgnormal.tar.gz
}
src_prepare() {
mv -f etf.xpm ${MOD_DIR} || die
rm -rf bin setup.data
rm -f *.gz *.xml *.tar LICENSE README* *.sh
}