summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-09-09 18:10:15 +0000
committerMike Frysinger <vapier@gentoo.org>2003-09-09 18:10:15 +0000
commitad69522f5e6b57d5350a46ebda16dbe091d0e4b6 (patch)
tree1580e46b57d69a004ab7bafb3f19590605890684 /games-fps/rtcw
parentNew version 'n cleanup (diff)
downloadhistorical-ad69522f5e6b57d5350a46ebda16dbe091d0e4b6.tar.gz
historical-ad69522f5e6b57d5350a46ebda16dbe091d0e4b6.tar.bz2
historical-ad69522f5e6b57d5350a46ebda16dbe091d0e4b6.zip
games-fps uNF uNF uNF
Diffstat (limited to 'games-fps/rtcw')
-rw-r--r--games-fps/rtcw/ChangeLog23
-rw-r--r--games-fps/rtcw/Manifest7
-rw-r--r--games-fps/rtcw/files/digest-rtcw-1.412
-rw-r--r--games-fps/rtcw/files/wolf3
-rw-r--r--games-fps/rtcw/files/wolf-ded3
-rw-r--r--games-fps/rtcw/files/wolf-ded.rc25
-rw-r--r--games-fps/rtcw/metadata.xml12
-rw-r--r--games-fps/rtcw/rtcw-1.41.ebuild77
8 files changed, 152 insertions, 0 deletions
diff --git a/games-fps/rtcw/ChangeLog b/games-fps/rtcw/ChangeLog
new file mode 100644
index 000000000000..ba9045203a8b
--- /dev/null
+++ b/games-fps/rtcw/ChangeLog
@@ -0,0 +1,23 @@
+# ChangeLog for app-games/rtcw
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/rtcw/ChangeLog,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+ 06 Aug 2003; Chris Gianelloni <wolf31o2@gentoo.org> rtcw-1.41.ebuild:
+ Making sure icon pixmap is put in /usr/share/pixmaps for the .desktop entry
+
+ 05 Aug 2003; Chris Gianelloni <wolf31o2@gentoo.org> rtcw-1.41.ebuild:
+ Fixed my bad spelling
+
+ 16 Jul 2003; Chris Gianelloni <wolf31o2@gentoo.org> rtcw-1.41.ebuild,
+ files/wolf-ded, files/wolf-ded.rc, files/wolfded, files/wolfded.rc,
+ files/wolfmp, files/wolfsp:
+ Add support for unpack_makeself, USE=dedicated, Gnome/KDE .desktop entries,
+ and rename dedicated files to match dedicated scheme
+
+*rtcw-1.41 (07 Jul 2003)
+
+ 07 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by
+ Chris Gianelloni <wolf31o2@hotmail.com>
+ Frederic Mangeant <frederic.mangeant@free.fr>
+ #22151 #22626.
diff --git a/games-fps/rtcw/Manifest b/games-fps/rtcw/Manifest
new file mode 100644
index 000000000000..dab06a6c7042
--- /dev/null
+++ b/games-fps/rtcw/Manifest
@@ -0,0 +1,7 @@
+MD5 ca2393719b8688e04899382660b61aa5 rtcw-1.41.ebuild 2299
+MD5 1dd73682e5f57e52fdb60c26854ba13e files/digest-rtcw-1.41 150
+MD5 3d58eca1ff127b6845b7aa8c1ec0f0bc files/wolf 43
+MD5 4a1d56772b4785b78b72797a2aa67167 files/wolf-ded 46
+MD5 21c77872e8e5895ab6dd6894f5489420 files/wolf-ded.rc 583
+MD5 bb5dd39c730fad5632b5d2067f442387 ChangeLog 990
+MD5 1a77de647b19faf58f4561b4b22e675d metadata.xml 1053
diff --git a/games-fps/rtcw/files/digest-rtcw-1.41 b/games-fps/rtcw/files/digest-rtcw-1.41
new file mode 100644
index 000000000000..c47e06895b3e
--- /dev/null
+++ b/games-fps/rtcw/files/digest-rtcw-1.41
@@ -0,0 +1,2 @@
+MD5 87c3ebf106b107b60b472863aeec20c4 wolf-linux-1.4-full.x86.run 73536309
+MD5 df2997a5bbf66ee5a6c552f9624f6770 wolf-linux-update-1.41.x86.run 5015509
diff --git a/games-fps/rtcw/files/wolf b/games-fps/rtcw/files/wolf
new file mode 100644
index 000000000000..4022f75261f4
--- /dev/null
+++ b/games-fps/rtcw/files/wolf
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd GENTOO_DIR
+exec ./wolf.x86 $*
diff --git a/games-fps/rtcw/files/wolf-ded b/games-fps/rtcw/files/wolf-ded
new file mode 100644
index 000000000000..fafa1c464703
--- /dev/null
+++ b/games-fps/rtcw/files/wolf-ded
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd GENTOO_DIR
+exec ./wolfded.x86 $*
diff --git a/games-fps/rtcw/files/wolf-ded.rc b/games-fps/rtcw/files/wolf-ded.rc
new file mode 100644
index 000000000000..fec963422e76
--- /dev/null
+++ b/games-fps/rtcw/files/wolf-ded.rc
@@ -0,0 +1,25 @@
+#!/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/rtcw/files/wolf-ded.rc,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting RTCW dedicated server..."
+ screen -A -m -d -S rtcw su - dedicated -c GENTOO_DIR/startwolfded
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping RTCW dedicated server..."
+ kill `screen -list | grep rtcw | awk -F . '{ print $1 }' | sed -e s/.//`
+ eend $?
+
+}
+
+status() {
+ screen -list | grep rtcwded
+}
diff --git a/games-fps/rtcw/metadata.xml b/games-fps/rtcw/metadata.xml
new file mode 100644
index 000000000000..40060ace7726
--- /dev/null
+++ b/games-fps/rtcw/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>
+Return to Castle Wolfenstein is a first-person 3-D shooter based loosely on the original Wolfenstein series by id software. The game takes place in Europe during World War II. In the single player game, you play as a US military special operative sent behind enemy lines to stop the Nazi studies into the supernatural and the occult. The multi-player game is a team-based, goal-oriented series of missions 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. The port to Linux was done by TTimo of id software and is an unsupported binary release. This game is commercial software and requires data from the retail Windows version to play.
+</longdescription>
+</pkgmetadata>
diff --git a/games-fps/rtcw/rtcw-1.41.ebuild b/games-fps/rtcw/rtcw-1.41.ebuild
new file mode 100644
index 000000000000..9d2791579315
--- /dev/null
+++ b/games-fps/rtcw/rtcw-1.41.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+
+inherit games
+
+DESCRIPTION="Return to Castle Wolfenstein - Long awaited sequel to Wolfenstein 3D"
+SRC_URI="ftp://ftp.idsoftware.com/idstuff/wolf/linux/wolf-linux-1.4-full.x86.run
+ ftp://3dgamers.in-span.net/pub/3dgamers3/games/returnwolfenstein/wolf-linux-1.4-full.x86.run
+ ftp://ftp.idsoftware.com/idstuff/wolf/linux/wolf-linux-update-${PV}.x86.run
+ ftp://3dgamers.in-span.net/pub/3dgamers3/games/returnwolfenstein/wolf-linux-update-${PV}.x86.run"
+
+HOMEPAGE="http://games.activision.com/games/wolfenstein/"
+
+LICENSE="RTCW"
+SLOT="0"
+KEYWORDS="x86"
+RESTRICT="nostrip"
+IUSE="opengl dedicated"
+
+DEPEND="virtual/glibc"
+RDEPEND="dedicated? ( app-misc/screen )
+ !dedicated? ( virtual/opengl )
+ opengl? ( virtual/opengl )"
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack_makeself wolf-linux-1.4-full.x86.run
+ unpack_makeself wolf-linux-update-${PV}.x86.run
+# tail +179 ${DISTDIR}/wolf-linux-1.4-full.x86.run | gzip -cd | tar xf - || die "full"
+}
+
+src_install() {
+ local dir=${GAMES_PREFIX_OPT}/${PN}
+ dodir ${dir}
+
+ cp -r main Docs pb ${D}/${dir}/
+
+ exeinto ${dir}
+ doexe bin/x86/*.x86 ${FILESDIR}/wolf-ded openurl.sh
+ dosed "s:GENTOO_DIR:${dir}:" ${dir}/wolf-ded
+ dogamesbin ${FILESDIR}/wolf ${FILESDIR}/wolf-ded
+ dosed "s:GENTOO_DIR:${dir}:" ${GAMES_BINDIR}/wolf
+ dosed "s:GENTOO_DIR:${dir}:" ${GAMES_BINDIR}/wolf-ded
+
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/wolf-ded.rc wolf-ded
+ dosed "s:GENTOO_DIR:${dir}:" /etc/init.d/wolf-ded
+
+ insinto ${dir}
+ doins WolfMP.xpm WolfSP.xpm INSTALL QUICKSTART CHANGES RTCW-README-1.4.txt
+ insinto /usr/share/pixmaps
+ doins WolfMP.xpm
+
+ prepgamesdirs
+ make_desktop_entry wolf "RtCW" WolfMP.xpm
+}
+
+pkg_postinst() {
+ einfo "You need to copy pak0.pk3, mp_pak0.pk3, mp_pak1.pk3, mp_pak2.pk3,"
+ einfo "sp_pak1.pk3 and sp_pak2.pk3 from a Window installation into ${dir}/main/"
+ echo
+ einfo "To play the game run:"
+ einfo " wolf"
+ if [ "`use dedicated`" ];
+ then
+ echo
+ einfo "To start a dedicated server run:"
+ einfo " /etc/init.d/wolf-ded start"
+ echo
+ einfo "To run the dedicated server at boot, type:"
+ einfo " rc-update add wolf-ded default"
+ echo
+ einfo "The dedicated server is started under the ${GAMES_USER_DED} user account"
+ fi
+ games_pkg_postinst
+}