diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2003-10-03 22:15:43 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2003-10-03 22:15:43 +0000 |
commit | 1a693799fc3281bbb44f0621e916492e4f635235 (patch) | |
tree | 5489020e6a65bc7088d3162f6322b32ee9e11699 | |
parent | Add back into portage. Add check_license function. (diff) | |
download | gentoo-2-1a693799fc3281bbb44f0621e916492e4f635235.tar.gz gentoo-2-1a693799fc3281bbb44f0621e916492e4f635235.tar.bz2 gentoo-2-1a693799fc3281bbb44f0621e916492e4f635235.zip |
Add back into portage. Add check_license function.
-rw-r--r-- | games-fps/enemy-territory/ChangeLog | 40 | ||||
-rw-r--r-- | games-fps/enemy-territory/Manifest | 8 | ||||
-rw-r--r-- | games-fps/enemy-territory/enemy-territory-2.56.ebuild | 83 | ||||
-rw-r--r-- | games-fps/enemy-territory/files/digest-enemy-territory-2.56 | 2 | ||||
-rw-r--r-- | games-fps/enemy-territory/files/et | 3 | ||||
-rw-r--r-- | games-fps/enemy-territory/files/et-ded | 3 | ||||
-rw-r--r-- | games-fps/enemy-territory/files/et-ded.rc | 26 | ||||
-rw-r--r-- | games-fps/enemy-territory/metadata.xml | 12 |
8 files changed, 172 insertions, 5 deletions
diff --git a/games-fps/enemy-territory/ChangeLog b/games-fps/enemy-territory/ChangeLog new file mode 100644 index 000000000000..ed084f59e138 --- /dev/null +++ b/games-fps/enemy-territory/ChangeLog @@ -0,0 +1,40 @@ +# ChangeLog for games-fps/enemy-territory +# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-fps/enemy-territory/ChangeLog,v 1.6 2003/10/03 22:15:41 wolf31o2 Exp $ + +*enemy-territory-2.56 (03 Oct 2003) + + 03 Oct 2003; Chris Gianelloni <wolf31o2@gentoo.org> + enemy-territory-2.56.ebuild, metadata.xml, files/et, files/et-ded, + files/et-ded.rc: + Add back into portage. Add check_license function. + + 14 Sep 2003; Chris Gianelloni <wolf31o2@gentoo.org> + enemy-territory-2.56.ebuild: + Added more mirrors. Closing bug #28634. + +*enemy-territory-2.56 (12 Sep 2003) + + 12 Sep 2003; Chris Gianelloni <wolf31o2@gentoo.org> + enemy-territory-2.56.ebuild: + Version bump. Closing bug #28473. + + 05 Aug 2003; Chris Gianelloni <wolf31o2@gentoo.org> + enemy-territory-2.55.ebuild: + Updated description + + 16 Jul 2003; Chris Gianelloni <wolf31o2@gentoo.org> + enemy-territory-2.55.ebuild, files/et-ded, files/et-ded.rc, files/etded, + files/etded.rc, files/startetded: + Add support for unpack_makeself, KDE/Gnome .desktop entries, and USE=dedicated. + + 27 Jun 2003; <msterret@gentoo.org> enemy-territory-2.55.ebuild: + spell "Wolfenstein" correctly + use correct license + +*enemy-territory-2.55 (21 Jun 2003) + + 21 Jun 2003; Mike Frysinger <vapier@gentoo.org> : + Initial import. Ebuilds submitted by: + Chris Gianelloni <wolf31o2@hotmail.com> #21902 + Frederic Mangeant <frederic.mangeant@free.fr> #22152 diff --git a/games-fps/enemy-territory/Manifest b/games-fps/enemy-territory/Manifest index 93b5b8aea78e..13a6fc435207 100644 --- a/games-fps/enemy-territory/Manifest +++ b/games-fps/enemy-territory/Manifest @@ -1,9 +1,7 @@ -MD5 077fa1c9b988d3978548f07a2169f2f6 enemy-territory-2.56.ebuild 2385 -MD5 8d9b6bbad11a7b69bb493d1dc86c0457 ChangeLog 1234 +MD5 f1fcb320264b37bea5edcff913576686 enemy-territory-2.56.ebuild 2464 +MD5 f9e2337d1c0a206bf9609be3e5a75ff5 ChangeLog 1468 MD5 f414f5eb26874bc33efe3ac1f0beab5d metadata.xml 1049 -MD5 11799f598d95c7ef0487ec15256fc2bb enemy-territory-2.55.ebuild 1864 MD5 5f3586b482e10ee426bcaa398abc0920 files/et 36 MD5 40dd956b40e4c3547e66819eaac04bd1 files/et-ded 197 -MD5 069a856385baa8afb3ddc48088c8fa25 files/digest-enemy-territory-2.55 69 MD5 0a5b68d99b2b2e9096689def2e319476 files/digest-enemy-territory-2.56 143 -MD5 289040174183090d4eed1944a4d19e8b files/et-ded.rc 652 +MD5 ff61497e070da14e06f2c9fb53ab53f5 files/et-ded.rc 654 diff --git a/games-fps/enemy-territory/enemy-territory-2.56.ebuild b/games-fps/enemy-territory/enemy-territory-2.56.ebuild new file mode 100644 index 000000000000..ebee42785394 --- /dev/null +++ b/games-fps/enemy-territory/enemy-territory-2.56.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 + +inherit games eutils + +DESCRIPTION="Return to Castle Wolfenstein: Enemy Territory - standalone multi-player game based on Return to Castle Wolfenstein" +HOMEPAGE="http://www.idsoftware.com/" +SRC_URI="ftp://3dgamers.in-span.net/pub/3dgamers3/games/wolfensteinet/et-linux-2.55.x86.run + ftp://theuser:Xyz3y@ftp4.3dgamers.com/pub/3dgamers/games/wolfensteinet/et-linux-2.55.x86.run + http://3dgamers.planetmirror.com/pub/3dgamers/games/wolfensteinet/et-linux-2.55.x86.run + ftp://freeftp.game.net/pub/games/enemyterritory/full_game/et-linux-2.55.x86.run + http://sjcredirvip.xlontech.net/100083/games/wolfensteinet/et-linux-${PV}-update.x86.run + ftp://3dgamers.in-span.net/pub/3dgamers3/games/wolfensteinet/et-linux-${PV}-update.x86.run + ftp://theuser:Xyz3y@ftp4.3dgamers.com/pub/3dgamers/games/wolfensteinet/et-linux-${PV}-update.x86.run" + +LICENSE="RTCW-ETEULA" +SLOT="0" +KEYWORDS="x86" +IUSE="dedicated opengl" +RESTRICT="nomirror nostrip" + +DEPEND="virtual/glibc" +RDEPEND="dedicated? ( app-misc/screen ) + !dedicated? ( virtual/opengl ) + opengl? ( virtual/opengl )" + +S=${WORKDIR} + +pkg_setup() { + check_license || die "License check failed" + games_pkg_setup +} + +src_unpack() { + unpack_makeself et-linux-2.55.x86.run + unpack_makeself et-linux-2.56-update.x86.run +} + +src_install() { + local dir=${GAMES_PREFIX_OPT}/${PN} + dodir ${dir} + + cp -r Docs pb etmain ${D}/${dir}/ + + exeinto ${dir} ; doexe bin/Linux/x86/* openurl.sh + insinto ${dir} ; doins CHANGES v1.02_Readme.htm + insinto /usr/share/pixmaps ; doins ET.xpm + + dogamesbin ${FILESDIR}/et + dosed "s:GENTOO_DIR:${dir}:" ${GAMES_BINDIR}/et + if [ "`use dedicated`" ]; + then + dogamesbin ${FILESDIR}/et-ded + dosed "s:GENTOO_DIR:${dir}:" ${GAMES_BINDIR}/et-ded + dosed "s:GAMES_USER_DED:${GAMES_USER_DED}:" ${GAMES_BINDIR}/et-ded + exeinto /etc/init.d + newexe ${FILESDIR}/et-ded.rc et-ded + dosed "s:GENTOO_DIR:${dir}:" /etc/init.d/et-ded + fi + + prepgamesdirs + make_desktop_entry et "Enemy Territory" ET.xpm +} + +pkg_postinst() { + echo + einfo "To play the game run:" + einfo " et" + + if [ "`use dedicated`" ]; + then + echo + einfo "To start a dedicated server run:" + einfo " /etc/init.d/et-ded start" + echo + einfo "To run the dedicated server at boot, type:" + einfo " rc-update add et-ded default" + echo + einfo "The dedicated server is started under the ${GAMES_USER_DED} user account" + fi + + games_pkg_postinst +} diff --git a/games-fps/enemy-territory/files/digest-enemy-territory-2.56 b/games-fps/enemy-territory/files/digest-enemy-territory-2.56 new file mode 100644 index 000000000000..397ae48beb67 --- /dev/null +++ b/games-fps/enemy-territory/files/digest-enemy-territory-2.56 @@ -0,0 +1,2 @@ +MD5 71d938bbc6afddbfab73390333964e9d et-linux-2.55.x86.run 270588258 +MD5 b75971eaf9c8b740f213bf1e20249f23 et-linux-2.56-update.x86.run 7022390 diff --git a/games-fps/enemy-territory/files/et b/games-fps/enemy-territory/files/et new file mode 100644 index 000000000000..1bcc18de19b2 --- /dev/null +++ b/games-fps/enemy-territory/files/et @@ -0,0 +1,3 @@ +#!/bin/sh +cd GENTOO_DIR +./et.x86 $* diff --git a/games-fps/enemy-territory/files/et-ded b/games-fps/enemy-territory/files/et-ded new file mode 100644 index 000000000000..b562c6ccf35b --- /dev/null +++ b/games-fps/enemy-territory/files/et-ded @@ -0,0 +1,3 @@ +#!/bin/sh +cd GENTOO_DIR +./etded.x86 +set com_hunkmegs 64 +set sv_maxrate 9000 +set com_zonemegs 32 +set dedicated 2 +set sv_hostname "my server" +set g_motd "my motd" +map mp_village +set ttycon 0 diff --git a/games-fps/enemy-territory/files/et-ded.rc b/games-fps/enemy-territory/files/et-ded.rc new file mode 100644 index 000000000000..c9fee6edb877 --- /dev/null +++ b/games-fps/enemy-territory/files/et-ded.rc @@ -0,0 +1,26 @@ +#!/sbin/runscript +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-fps/enemy-territory/files/et-ded.rc,v 1.3 2003/10/03 22:15:41 wolf31o2 Exp $ + +depend() { + need net +} + +start() { + ebegin "Starting Enemy Territory dedicated server..." + export HOME=/opt/enemy-territory + screen -A -m -d -S et-ded su - GAMES_USER_DED -c GENTOO_DIR/etded + eend $? +} + +stop() { + ebegin "Stopping Enemy Territory dedicated server..." + pid=`screen -list | grep etded | awk -F . '{print $1}' | sed -e s/.//` + kill $pid + eend $? +} + +status() { + screen -list | grep etded +} diff --git a/games-fps/enemy-territory/metadata.xml b/games-fps/enemy-territory/metadata.xml new file mode 100644 index 000000000000..3034313ec605 --- /dev/null +++ b/games-fps/enemy-territory/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>games</herd> +<maintainer> + <email>wolf31o2@gentoo.org</email> + <name>Chris Gianelloni</name> +</maintainer> +<longdescription> +Enemy Territory is a first-person 3-D shooter based loosely on the original Wolfenstein series by id software. The game takes place in North Africa and Europe during World War II and allows you to play as either the Axis or the Allies. There are several classes of characters you can play, each with their own special abilities and weapon choices. You can also gain proficiency in your specialties and increase your abilities by performing your class's specialized duties, which helps promote teamwork. Enemy Territory was originally to be a single and milti-player add-on for Return to Castle Wofenstein, but John Carmack and company were not happy with the progress they had made on it, so instead, they released it as a multi-player stand-alone game. +</longdescription> +</pkgmetadata> |