/[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.4 - (hide annotations) (download)
Wed May 24 23:25:59 2006 UTC (12 years, 2 months ago) by flameeyes
Branch: MAIN
Changes since 1.3: +2 -2 lines
Add ~x86-fbsd keyword.
(Portage version: 2.1_rc2-r2)

1 wolf31o2 1.1 # Copyright 1999-2006 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 flameeyes 1.4 # $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-teamarena/quake3-teamarena-1.32b.ebuild,v 1.3 2006/05/01 17:38:00 wolf31o2 Exp $
4 wolf31o2 1.1
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 flameeyes 1.4 KEYWORDS="amd64 ~ppc x86 ~x86-fbsd"
14 wolf31o2 1.1 IUSE="cdinstall"
15    
16     RDEPEND="|| (
17     games-fps/quake3
18     games-fps/quake3-bin )"
19    
20     S=${WORKDIR}
21    
22     pkg_setup() {
23     games_pkg_setup
24     use cdinstall && cdrom_get_cds Setup/missionpack/PAK0.PK3
25     }
26    
27     src_unpack() {
28     unpack_makeself
29     }
30    
31     src_install() {
32     einfo "Copying Team Arena files from linux client ..."
33     insinto "${GAMES_DATADIR}"/quake3/missionpack
34     doins missionpack/*.pk3 || die "missionpack"
35    
36     if use cdinstall ; then
37     einfo "Copying files from CD ..."
38     newins "${CDROM_ROOT}/Setup/missionpack/PAK0.PK3" pak0.pk3 \
39     || die "pak0"
40     eend 0
41     fi
42    
43     find "${D}" -exec touch '{}' \;
44     prepgamesdirs
45     }
46    
47     pkg_postinst() {
48     games_pkg_postinst
49     if ! use cdinstall ; then
50     einfo "You need to copy PAK0.PK3 from your Team Arena CD into"
51     einfo "${dir}/missionpack and name it pak0.pk3."
52     einfo "Or if you have got a Window installation of Q3 make a symlink to save space."
53     echo
54     einfo "Or, re-emerge quake3-teamarena with USE=cdinstall."
55     echo
56     fi
57     einfo "There is currently no icon for Q3TA. This will be resolved soon."
58     }

  ViewVC Help
Powered by ViewVC 1.1.20