summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2007-01-09 21:28:10 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2007-01-09 21:28:10 +0000
commit2f8016a688155cccfc4123a0e0a428098369b242 (patch)
tree69b24447f78b634e30cfc3fe694b37a96b30f9b8 /games-action
parentRevision bump, including a fix for =net-www/apache-2.2* (hopefully fixing #12... (diff)
downloadgentoo-2-2f8016a688155cccfc4123a0e0a428098369b242.tar.gz
gentoo-2-2f8016a688155cccfc4123a0e0a428098369b242.tar.bz2
gentoo-2-2f8016a688155cccfc4123a0e0a428098369b242.zip
Initial import. Ebuild by Paul Bredbury <brebs@sent.com> based loosely on the games-action/d2x ebuild. Closing bug #137307.
(Portage version: 2.1.2_rc4-r1)
Diffstat (limited to 'games-action')
-rw-r--r--games-action/descent2-data/ChangeLog11
-rw-r--r--games-action/descent2-data/Manifest15
-rw-r--r--games-action/descent2-data/descent2-data-1.0.ebuild79
-rw-r--r--games-action/descent2-data/files/digest-descent2-data-1.00
-rw-r--r--games-action/descent2-data/metadata.xml5
5 files changed, 110 insertions, 0 deletions
diff --git a/games-action/descent2-data/ChangeLog b/games-action/descent2-data/ChangeLog
new file mode 100644
index 000000000000..304f7899d191
--- /dev/null
+++ b/games-action/descent2-data/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for games-action/descent2-data
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/descent2-data/ChangeLog,v 1.1 2007/01/09 21:28:10 wolf31o2 Exp $
+
+*descent2-data-1.0 (09 Jan 2007)
+
+ 09 Jan 2007; Chris Gianelloni <wolf31o2@gentoo.org> +metadata.xml,
+ +descent2-data-1.0.ebuild:
+ Initial import. Ebuild by Paul Bredbury <brebs@sent.com> based loosely on
+ the games-action/d2x ebuild. Closing bug #137307.
+
diff --git a/games-action/descent2-data/Manifest b/games-action/descent2-data/Manifest
new file mode 100644
index 000000000000..6ec856d4ae9f
--- /dev/null
+++ b/games-action/descent2-data/Manifest
@@ -0,0 +1,15 @@
+EBUILD descent2-data-1.0.ebuild 1708 RMD160 723422c282e500c40b07a7de20f6d002288d85ca SHA1 56f4cd3f9fbf988dc21f1ea49c9d98456299f8f7 SHA256 6257740dfc23653fb85e49ca1e234bc1c89561fbf70b90bbbcb018686744f67e
+MD5 b25b947fe5ae183cd4d98d601d7bff48 descent2-data-1.0.ebuild 1708
+RMD160 723422c282e500c40b07a7de20f6d002288d85ca descent2-data-1.0.ebuild 1708
+SHA256 6257740dfc23653fb85e49ca1e234bc1c89561fbf70b90bbbcb018686744f67e descent2-data-1.0.ebuild 1708
+MISC ChangeLog 388 RMD160 60a381d26beb542275a634286a8668cd0644fdfe SHA1 3b8b1fba9141240225d38a1c35314868e4b01531 SHA256 e9e852e6ab56fc6583c69f9e6de5097fc44d76020238718fa12db806f78433ed
+MD5 1c9778093fca5ef1c59abc3e7ced80c5 ChangeLog 388
+RMD160 60a381d26beb542275a634286a8668cd0644fdfe ChangeLog 388
+SHA256 e9e852e6ab56fc6583c69f9e6de5097fc44d76020238718fa12db806f78433ed ChangeLog 388
+MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
+MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
+SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata.xml 158
+MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-descent2-data-1.0 0
+RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-descent2-data-1.0 0
+SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-descent2-data-1.0 0
diff --git a/games-action/descent2-data/descent2-data-1.0.ebuild b/games-action/descent2-data/descent2-data-1.0.ebuild
new file mode 100644
index 000000000000..061d209cbd47
--- /dev/null
+++ b/games-action/descent2-data/descent2-data-1.0.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/descent2-data/descent2-data-1.0.ebuild,v 1.1 2007/01/09 21:28:10 wolf31o2 Exp $
+
+inherit eutils games
+
+MY_PV=${PV/./}
+SOW="descent2.sow"
+
+DESCRIPTION="Data files for Descent 2"
+HOMEPAGE="http://www.interplay.com/games/product.asp?GameID=109"
+SRC_URI=""
+# Don't have a method of applying the ver 1.2 patch in Linux
+# ftp://ftp.interplay.com/pub/patches/d2ptch${MY_PV}.exe
+# mirror://3dgamers/descent2/d2ptch${MY_PV}.exe
+
+# See readme.txt
+LICENSE="${PN}"
+SLOT="0"
+KEYWORDS="~ppc ~x86"
+IUSE=""
+
+# d2x-0.2.5-r2 may include the CD data itself.
+# d2x-0.2.5-r3 does not include the CD data.
+# d2x-rebirth is favoured because it is stable.
+RDEPEND="|| (
+ games-action/d2x-rebirth
+ games-action/d2x-xl
+ >=games-action/d2x-0.2.5-r3 )"
+DEPEND="!<games-action/d2x-0.2.5-r3
+ app-arch/unarj"
+
+S=${WORKDIR}
+dir=${GAMES_DATADIR}/d2x
+
+pkg_setup() {
+ games_pkg_setup
+
+ # Could have the $SOW file in $FILESDIR, in a local overlay
+ if [[ -e "${FILESDIR}/${SOW}" ]] ; then
+ einfo "Using ${SOW} from ${FILESDIR}"
+ else
+ cdrom_get_cds d2data
+ if [[ -e "${CDROM_ROOT}/d2data/${SOW}" ]] ; then
+ einfo "Found the original Descent 2 CD."
+ else
+ die "You need the original Descent 2 CD"
+ fi
+ fi
+}
+
+src_unpack() {
+ local f="${FILESDIR}/${SOW}"
+ [[ -e "${f}" ]] || f="${CDROM_ROOT}/d2data/${SOW}"
+ unarj e "${f}" || die "unarj ${f} failed"
+
+ rm endnote.txt
+ mkdir doc
+ mv *.txt doc
+
+ # Remove files not needed by any Linux native client
+ rm *.{bat,dll,exe,ini,lst}
+}
+
+src_install() {
+ insinto "${dir}"
+ doins * || die "doins * failed"
+
+ dodoc doc/*
+
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+
+ elog "A client is needed to run the game, e.g. games-action/d2x-rebirth."
+ echo
+}
diff --git a/games-action/descent2-data/files/digest-descent2-data-1.0 b/games-action/descent2-data/files/digest-descent2-data-1.0
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/games-action/descent2-data/files/digest-descent2-data-1.0
diff --git a/games-action/descent2-data/metadata.xml b/games-action/descent2-data/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-action/descent2-data/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>