summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-12-13 18:37:14 +0000
committerMike Frysinger <vapier@gentoo.org>2003-12-13 18:37:14 +0000
commit72c901fe338124ce6d7771f51389665e2fdbb2e3 (patch)
tree4fdd05617350a7ce1233b2c80386f7d77dc598ab /games-fps
parentremove bugged 2.0.6 (diff)
downloadhistorical-72c901fe338124ce6d7771f51389665e2fdbb2e3.tar.gz
historical-72c901fe338124ce6d7771f51389665e2fdbb2e3.tar.bz2
historical-72c901fe338124ce6d7771f51389665e2fdbb2e3.zip
also install a wolfsp shell script
Diffstat (limited to 'games-fps')
-rw-r--r--games-fps/rtcw/files/wolfsp3
-rw-r--r--games-fps/rtcw/rtcw-1.41.ebuild6
2 files changed, 6 insertions, 3 deletions
diff --git a/games-fps/rtcw/files/wolfsp b/games-fps/rtcw/files/wolfsp
new file mode 100644
index 000000000000..493206713ce6
--- /dev/null
+++ b/games-fps/rtcw/files/wolfsp
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd GENTOO_DIR
+exec ./wolfsp.x86 "$@"
diff --git a/games-fps/rtcw/rtcw-1.41.ebuild b/games-fps/rtcw/rtcw-1.41.ebuild
index b2864ac54c09..b76846d2c94f 100644
--- a/games-fps/rtcw/rtcw-1.41.ebuild
+++ b/games-fps/rtcw/rtcw-1.41.ebuild
@@ -32,7 +32,6 @@ pkg_setup() {
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() {
@@ -50,8 +49,9 @@ src_install() {
dogamesbin ${FILESDIR}/wolf-ded
dosed "s:GENTOO_DIR:${dir}:" ${GAMES_BINDIR}/wolf-ded
fi
- dogamesbin ${FILESDIR}/wolf
+ dogamesbin ${FILESDIR}/wolf ${FILESDIR}/wolfsp
dosed "s:GENTOO_DIR:${dir}:" ${GAMES_BINDIR}/wolf
+ dosed "s:GENTOO_DIR:${dir}:" ${GAMES_BINDIR}/wolfsp
if [ "`use dedicated`" ];
then
@@ -74,6 +74,7 @@ src_install() {
}
pkg_postinst() {
+ games_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
@@ -90,5 +91,4 @@ pkg_postinst() {
echo
einfo "The dedicated server is started under the ${GAMES_USER_DED} user account"
fi
- games_pkg_postinst
}