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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.3 Revision 1.7
1# Copyright 1999-2006 Gentoo Foundation 1# Copyright 1999-2008 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 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.3 2006/05/01 17:38:00 wolf31o2 Exp $ 3# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3-teamarena/quake3-teamarena-1.32b.ebuild,v 1.7 2008/09/26 18:42:52 zmedico Exp $
4 4
5inherit eutils games 5inherit eutils games
6 6
7DESCRIPTION="Quake III Team Arena - data portion" 7DESCRIPTION="Quake III Team Arena - data portion"
8HOMEPAGE="http://icculus.org/quake3/" 8HOMEPAGE="http://icculus.org/quake3/"
9SRC_URI="mirror://idsoftware/quake3/linux/linuxq3apoint-${PV}-3.x86.run" 9SRC_URI="mirror://idsoftware/quake3/linux/linuxq3apoint-${PV}-3.x86.run"
10 10
11LICENSE="Q3AEULA" 11LICENSE="Q3AEULA"
12SLOT="0" 12SLOT="0"
13KEYWORDS="amd64 ~ppc x86" 13KEYWORDS="amd64 ~ppc x86 ~x86-fbsd"
14IUSE="cdinstall" 14IUSE="cdinstall"
15PROPERTIES="cdinstall? ( interactive )"
15 16
16RDEPEND="|| ( 17RDEPEND="|| (
17 games-fps/quake3 18 games-fps/quake3
18 games-fps/quake3-bin )" 19 games-fps/quake3-bin )"
19 20
20S=${WORKDIR} 21S=${WORKDIR}
21 22
22pkg_setup() { 23src_unpack() {
23 games_pkg_setup
24 use cdinstall && cdrom_get_cds Setup/missionpack/PAK0.PK3 24 use cdinstall && cdrom_get_cds Setup/missionpack/PAK0.PK3
25}
26
27src_unpack() {
28 unpack_makeself 25 unpack_makeself
29} 26}
30 27
31src_install() { 28src_install() {
32 einfo "Copying Team Arena files from linux client ..." 29 einfo "Copying Team Arena files from linux client ..."
45} 42}
46 43
47pkg_postinst() { 44pkg_postinst() {
48 games_pkg_postinst 45 games_pkg_postinst
49 if ! use cdinstall ; then 46 if ! use cdinstall ; then
50 einfo "You need to copy PAK0.PK3 from your Team Arena CD into" 47 elog "You need to copy PAK0.PK3 from your Team Arena CD into"
51 einfo "${dir}/missionpack and name it pak0.pk3." 48 elog "${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." 49 elog "Or if you have got a Window installation of Q3 make a symlink to save space."
53 echo 50 elog
54 einfo "Or, re-emerge quake3-teamarena with USE=cdinstall." 51 elog "Or, re-emerge quake3-teamarena with USE=cdinstall."
55 echo 52 echo
56 fi 53 fi
57 einfo "There is currently no icon for Q3TA. This will be resolved soon." 54 elog "There is currently no icon for Q3TA. This will be resolved soon."
58} 55}

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.20