summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-10-05 04:29:01 +0000
committerMike Frysinger <vapier@gentoo.org>2004-10-05 04:29:01 +0000
commitd2154dd1e3bd2cda3b7536ec1164f12b4640c3ae (patch)
treec04a0461bf9971f0c7f7f23c198637aeaacc308b /games-fps
parentStable on sparc. (diff)
downloadhistorical-d2154dd1e3bd2cda3b7536ec1164f12b4640c3ae.tar.gz
historical-d2154dd1e3bd2cda3b7536ec1164f12b4640c3ae.tar.bz2
historical-d2154dd1e3bd2cda3b7536ec1164f12b4640c3ae.zip
initial ebuild #57067
Diffstat (limited to 'games-fps')
-rw-r--r--games-fps/doom3/ChangeLog8
-rw-r--r--games-fps/doom3/Manifest2
-rw-r--r--games-fps/doom3/doom3-1.1.1282.ebuild45
-rw-r--r--games-fps/doom3/files/digest-doom3-1.1.12821
-rw-r--r--games-fps/doom3/files/doom321
-rw-r--r--games-fps/doom3/metadata.xml5
6 files changed, 82 insertions, 0 deletions
diff --git a/games-fps/doom3/ChangeLog b/games-fps/doom3/ChangeLog
new file mode 100644
index 000000000000..f18b9f7c14bd
--- /dev/null
+++ b/games-fps/doom3/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for games-fps/doom3
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/doom3/ChangeLog,v 1.1 2004/10/05 04:29:01 vapier Exp $
+
+*doom3-1.1.1282 (05 Oct 2004)
+
+ 05 Oct 2004; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me for #57067.
diff --git a/games-fps/doom3/Manifest b/games-fps/doom3/Manifest
new file mode 100644
index 000000000000..de0104edf387
--- /dev/null
+++ b/games-fps/doom3/Manifest
@@ -0,0 +1,2 @@
+MD5 3abad90b22ef629b7248d56c64382d77 doom3-1.1.1282.ebuild 442
+MD5 615c25dcc4ae6f839477113ecc33b0b8 files/digest-doom3-1.1.1282 74
diff --git a/games-fps/doom3/doom3-1.1.1282.ebuild b/games-fps/doom3/doom3-1.1.1282.ebuild
new file mode 100644
index 000000000000..cf6e9d56d21c
--- /dev/null
+++ b/games-fps/doom3/doom3-1.1.1282.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/doom3/doom3-1.1.1282.ebuild,v 1.1 2004/10/05 04:29:01 vapier Exp $
+
+inherit games eutils
+
+DESCRIPTION="DOOM 3"
+HOMEPAGE="http://www.doom3.com/"
+SRC_URI="ftp://ftp.idsoftware.com/idstuff/doom3/linux/doom3-linux-${PV}.x86.run
+ mirror://gentoo/doom3-linux-${PV}.x86.run"
+
+LICENSE="DOOM3"
+SLOT="0"
+KEYWORDS="x86"
+IUSE=""
+RESTRICT="nostrip"
+
+DEPEND="sys-libs/glibc
+ virtual/x11"
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack_makeself
+}
+
+src_install() {
+ local dir="${GAMES_PREFIX_OPT}/${PN}"
+
+ insinto ${dir}
+ doins License.txt README version.info
+ exeinto ${dir}
+ doexe libgcc_s.so.1 libstdc++.so.5 || die "doexe libs"
+ doexe bin/Linux/x86/glibc-2.1/doom{,ded}.x86 || die "doexe exes"
+
+ insinto ${dir}/base
+ doins base/* || die "doins base"
+
+ dogamesbin ${FILESDIR}/doom3
+ dosed "s:DIR:${dir}:" ${GAMES_BINDIR}/doom3
+ dosed "s:EXE:doom.x86:" ${GAMES_BINDIR}/doom3
+ games_make_wrapper doom3-dedicated ./doomded.x86 "${dir}" .
+
+ prepgamesdirs
+}
diff --git a/games-fps/doom3/files/digest-doom3-1.1.1282 b/games-fps/doom3/files/digest-doom3-1.1.1282
new file mode 100644
index 000000000000..2a3a786a50ca
--- /dev/null
+++ b/games-fps/doom3/files/digest-doom3-1.1.1282
@@ -0,0 +1 @@
+MD5 342bb266010e610226b254605903230e doom3-linux-1.1.1282.x86.run 7620643
diff --git a/games-fps/doom3/files/doom3 b/games-fps/doom3/files/doom3
new file mode 100644
index 000000000000..c15b108352f1
--- /dev/null
+++ b/games-fps/doom3/files/doom3
@@ -0,0 +1,21 @@
+#!/bin/bash
+cd "DIR"
+
+cd_check_file() {
+ local n="$1"
+ local cdrom="$2"
+
+ if [ ! -e "base/pak00${n}.pk4" ] ; then
+ echo "Please copy pak00${n}.pk4 from the DOOM3 CD #${cdrom}"
+ echo "to DIR/base/ and try again!"
+ exit 1
+ fi
+}
+cd_check_file 0 2
+cd_check_file 1 2
+cd_check_file 2 1
+cd_check_file 3 3
+cd_check_file 4 3
+
+export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:."
+exec ./EXE "$@"
diff --git a/games-fps/doom3/metadata.xml b/games-fps/doom3/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-fps/doom3/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>