summaryrefslogtreecommitdiff
blob: e62f57acc3ac7a7bf8b4dd69dec546a3957bff57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Copyright 1999-2012 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.3 2012/02/05 06:02:27 vapier 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 unpacker 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
}