/[gentoo-x86]/games-fps/quake3-teamarena/quake3-teamarena-1.32b.ebuild
Gentoo

Contents of /games-fps/quake3-teamarena/quake3-teamarena-1.32b.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Mon Mar 12 15:00:33 2007 UTC (12 years, 1 month ago) by genone
Branch: MAIN
Changes since 1.5: +8 -8 lines
Replacing einfo with elog
(Portage version: 2.1.2.2)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-teamarena/quake3-teamarena-1.32b.ebuild,v 1.5 2006/10/24 22:52:46 wolf31o2 Exp $
4
5 inherit eutils games
6
7 DESCRIPTION="Quake III Team Arena - data portion"
8 HOMEPAGE="http://icculus.org/quake3/"
9 SRC_URI="mirror://idsoftware/quake3/linux/linuxq3apoint-${PV}-3.x86.run"
10
11 LICENSE="Q3AEULA"
12 SLOT="0"
13 KEYWORDS="amd64 ~ppc x86 ~x86-fbsd"
14 IUSE="cdinstall"
15
16 RDEPEND="|| (
17 games-fps/quake3
18 games-fps/quake3-bin )"
19
20 S=${WORKDIR}
21
22 src_unpack() {
23 use cdinstall && cdrom_get_cds Setup/missionpack/PAK0.PK3
24 unpack_makeself
25 }
26
27 src_install() {
28 einfo "Copying Team Arena files from linux client ..."
29 insinto "${GAMES_DATADIR}"/quake3/missionpack
30 doins missionpack/*.pk3 || die "missionpack"
31
32 if use cdinstall ; then
33 einfo "Copying files from CD ..."
34 newins "${CDROM_ROOT}/Setup/missionpack/PAK0.PK3" pak0.pk3 \
35 || die "pak0"
36 eend 0
37 fi
38
39 find "${D}" -exec touch '{}' \;
40 prepgamesdirs
41 }
42
43 pkg_postinst() {
44 games_pkg_postinst
45 if ! use cdinstall ; then
46 elog "You need to copy PAK0.PK3 from your Team Arena CD into"
47 elog "${dir}/missionpack and name it pak0.pk3."
48 elog "Or if you have got a Window installation of Q3 make a symlink to save space."
49 elog
50 elog "Or, re-emerge quake3-teamarena with USE=cdinstall."
51 echo
52 fi
53 elog "There is currently no icon for Q3TA. This will be resolved soon."
54 }

  ViewVC Help
Powered by ViewVC 1.1.20