blob: 9258e17fc9b95db9f0c64da97f866112f84617d2 (
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
34
35
36
37
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-fps/quake1-teamfortress/quake1-teamfortress-2.9.ebuild,v 1.3 2005/11/05 22:42:43 vapier Exp $
inherit eutils games
DESCRIPTION="The classic Team Fortress Quake World mod"
HOMEPAGE="http://www.planetfortress.com/teamfortress/"
SRC_URI="mirror://gentoo/tf28.zip
mirror://gentoo/tf29qw.zip"
LICENSE="as-is"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
RDEPEND=""
DEPEND="app-arch/unzip"
S=${WORKDIR}
src_unpack() {
echo ">>> Unpacking tf28.zip to ${PWD}"
unzip -qoL "${DISTDIR}"/tf28.zip || die "unpacking tf28.zip failed"
cd fortress
echo ">>> Unpacking tf29qw.zip to ${PWD}"
unzip -qoL "${DISTDIR}"/tf29qw.zip || die "unpacking tf29qw.zip failed"
edos2unix $(find . -name '*.txt' -o -name '*.cfg')
mv server.cfg server.example.cfg
}
src_install() {
insinto "${GAMES_DATADIR}/quake1"
doins -r * || die
prepgamesdirs
}
|