summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-09-26 18:33:36 +0000
committerMike Frysinger <vapier@gentoo.org>2003-09-26 18:33:36 +0000
commitc3e223b6b6c814fc435a63de996aa8c897a4a87c (patch)
treed2f7930118a41058dc971672ffa0926b1253f1ce /games-server
parentinitial ebuild #29466 (diff)
downloadgentoo-2-c3e223b6b6c814fc435a63de996aa8c897a4a87c.tar.gz
gentoo-2-c3e223b6b6c814fc435a63de996aa8c897a4a87c.tar.bz2
gentoo-2-c3e223b6b6c814fc435a63de996aa8c897a4a87c.zip
initial ebuild #29465
Diffstat (limited to 'games-server')
-rw-r--r--games-server/jedioutcast-ded/ChangeLog8
-rw-r--r--games-server/jedioutcast-ded/Manifest2
-rw-r--r--games-server/jedioutcast-ded/files/digest-jedioutcast-ded-1.041
-rw-r--r--games-server/jedioutcast-ded/files/jk2ded3
-rw-r--r--games-server/jedioutcast-ded/jedioutcast-ded-1.04.ebuild47
5 files changed, 61 insertions, 0 deletions
diff --git a/games-server/jedioutcast-ded/ChangeLog b/games-server/jedioutcast-ded/ChangeLog
new file mode 100644
index 000000000000..74937352fbb6
--- /dev/null
+++ b/games-server/jedioutcast-ded/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for games-server/jedioutcast-ded
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/jedioutcast-ded/ChangeLog,v 1.1 2003/09/26 18:33:36 vapier Exp $
+
+*jedioutcast-ded-1.04 (26 Sep 2003)
+
+ 26 Sep 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by Bryan Hoover <malketh@malkethius.net> #29465.
diff --git a/games-server/jedioutcast-ded/Manifest b/games-server/jedioutcast-ded/Manifest
new file mode 100644
index 000000000000..6f573d09541b
--- /dev/null
+++ b/games-server/jedioutcast-ded/Manifest
@@ -0,0 +1,2 @@
+MD5 212ddf77255317362723907431096815 jedioutcast-ded-1.04.ebuild 806
+MD5 1cf501107417cff985cdf8b39770d4cd files/digest-jedioutcast-ded-1.04 63
diff --git a/games-server/jedioutcast-ded/files/digest-jedioutcast-ded-1.04 b/games-server/jedioutcast-ded/files/digest-jedioutcast-ded-1.04
new file mode 100644
index 000000000000..719021403c0b
--- /dev/null
+++ b/games-server/jedioutcast-ded/files/digest-jedioutcast-ded-1.04
@@ -0,0 +1 @@
+MD5 4ecadc71a46239da19f1c9e5718b25b3 jk2linuxded104.zip 577334
diff --git a/games-server/jedioutcast-ded/files/jk2ded b/games-server/jedioutcast-ded/files/jk2ded
new file mode 100644
index 000000000000..3ec5de5f506d
--- /dev/null
+++ b/games-server/jedioutcast-ded/files/jk2ded
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd GENTOO_DIR
+exec ./jk2ded "$@"
diff --git a/games-server/jedioutcast-ded/jedioutcast-ded-1.04.ebuild b/games-server/jedioutcast-ded/jedioutcast-ded-1.04.ebuild
new file mode 100644
index 000000000000..00641959ec98
--- /dev/null
+++ b/games-server/jedioutcast-ded/jedioutcast-ded-1.04.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/jedioutcast-ded/jedioutcast-ded-1.04.ebuild,v 1.1 2003/09/26 18:33:36 vapier Exp $
+
+inherit games eutils
+
+DESCRIPTION="Jedi Outcast Linux Dedicated Server"
+HOMEPAGE="http://www.lucasarts.com/products/jediacademy/"
+SRC_URI="jk2linuxded104.zip"
+
+LICENSE="jedioutcast-ded"
+SLOT="0"
+KEYWORDS="x86"
+RESTRICT="fetch"
+
+S=${WORKDIR}
+
+pkg_nofetch() {
+ einfo "Please download ${A} from"
+ einfo "http://www.jk2files.com/file.info?ID=3826"
+ einfo "and put into ${DISTDIR}"
+}
+
+src_unpack() {
+ unpack ${A}
+ edos2unix readme.txt "server options.txt" base/server.cfg
+ rm "Disclaimer-Jedi Outcast-Linux Dedicated Server Binary.doc"
+ chmod a+x jk2ded
+ chmod -R og-w *
+ mv base/{server,jk2mpserver}.cfg
+}
+
+src_install() {
+ local dir=${GAMES_PREFIX_OPT}/${PN}
+ dodir ${dir}
+ cp -r * ${D}/${dir}/
+ dogamesbin ${FILESDIR}/jk2ded
+ dosed "s:GENTOO_DIR:${dir}:" ${GAMES_BINDIR}/jk2ded
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ ewarn "NOTE: You must copy over the .pak files from a previously"
+ ewarn " installed and patched windows installation for this"
+ ewarn " to run properly."
+}