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
commitc22ea1f9962983b3583d00085024413d77102212 (patch)
treeacd80fa59d92f27b0609b3d58893ef500cd09925 /games-fps/quake2-data
parentNew version 'n cleanup (diff)
downloadgentoo-2-c22ea1f9962983b3583d00085024413d77102212.tar.gz
gentoo-2-c22ea1f9962983b3583d00085024413d77102212.tar.bz2
gentoo-2-c22ea1f9962983b3583d00085024413d77102212.zip
games-fps uNF uNF uNF
Diffstat (limited to 'games-fps/quake2-data')
-rw-r--r--games-fps/quake2-data/ChangeLog11
-rw-r--r--games-fps/quake2-data/Manifest3
-rw-r--r--games-fps/quake2-data/files/digest-quake2-data-3.201
-rw-r--r--games-fps/quake2-data/quake2-data-3.20.ebuild76
4 files changed, 91 insertions, 0 deletions
diff --git a/games-fps/quake2-data/ChangeLog b/games-fps/quake2-data/ChangeLog
new file mode 100644
index 000000000000..993dd2644546
--- /dev/null
+++ b/games-fps/quake2-data/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-games/quake2-data
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake2-data/ChangeLog,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+*quake2-data-3.20 (29 Jun 2003)
+
+ 30 Jun 2003; Mike Frysinger <vapier@gentoo.org> :
+ Updated for the quake2 rename.
+
+ 29 Jun 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by Daniel Mannarino <thesnark@operamail.com> #11506.
diff --git a/games-fps/quake2-data/Manifest b/games-fps/quake2-data/Manifest
new file mode 100644
index 000000000000..88c970cfe7c4
--- /dev/null
+++ b/games-fps/quake2-data/Manifest
@@ -0,0 +1,3 @@
+MD5 fa664478fddb8c7aa9f30aff3e180d41 ChangeLog 484
+MD5 d0b5231783cf0549a387d676ce236d66 quake2-data-3.20.ebuild 2211
+MD5 ac38ac21c5b1dd48241c3d7da6065bd7 files/digest-quake2-data-3.20 71
diff --git a/games-fps/quake2-data/files/digest-quake2-data-3.20 b/games-fps/quake2-data/files/digest-quake2-data-3.20
new file mode 100644
index 000000000000..4ec0d014ee5e
--- /dev/null
+++ b/games-fps/quake2-data/files/digest-quake2-data-3.20
@@ -0,0 +1 @@
+MD5 490557d4a90ff346a175d865a2bade87 q2-3.20-x86-full-ctf.exe 19267584
diff --git a/games-fps/quake2-data/quake2-data-3.20.ebuild b/games-fps/quake2-data/quake2-data-3.20.ebuild
new file mode 100644
index 000000000000..cb7e95d07ef9
--- /dev/null
+++ b/games-fps/quake2-data/quake2-data-3.20.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake2-data/quake2-data-3.20.ebuild,v 1.1 2003/09/09 18:10:14 vapier Exp $
+
+inherit games
+
+DESCRIPTION="iD Software's Quake 2 ... the data files"
+HOMEPAGE="http://www.idsoftware.com/"
+SRC_URI="ftp://ftp.idsoftware.com/idstuff/quake2/q2-${PV}-x86-full-ctf.exe"
+
+LICENSE="Q2EULA"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="videos"
+
+DEPEND="app-arch/unzip
+ virtual/x11"
+
+S=${WORKDIR}
+
+src_unpack() {
+ unzip -L -q ${DISTDIR}/q2-${PV}-x86-full-ctf.exe
+}
+
+src_install() {
+ games_get_cd Install
+ games_verify_cd Quake 2
+ if [ -e ${GAMES_CD}/Install/Data ] ; then
+ GAMES_CD=${GAMES_CD}/Install/Data
+ einfo "Source is the CD"
+ elif [ -e ${GAMES_CD}/baseq2 ] ; then
+ GAMES_CD=${GAMES_CD}
+ einfo "Source is an installed copy"
+ else
+ die "Could not determine what ${GAMES_CD} points at"
+ fi
+
+ dodoc DOCS/* 3.20_Changes.txt
+ newdoc ctf/readme.txt ctf-readme.txt
+ dohtml -r ${GAMES_CD}/DOCS/quake2_manual/*
+
+ dodir ${GAMES_DATADIR}/${PN}/baseq2
+
+ if [ `use videos` ] ; then
+ insinto ${GAMES_DATADIR}/${PN}/baseq2/video
+ doins ${GAMES_CD}/baseq2/video/*
+ fi
+
+ insinto ${GAMES_DATADIR}/${PN}/baseq2
+ doins ${GAMES_CD}/baseq2/pak0.pak || die "couldnt grab pak0.pak"
+ doins baseq2/*.pak || die "couldnt grab release paks"
+ doins baseq2/maps.lst || die "couldnt grab maps.lst"
+ cp -R baseq2/players ${D}/${GAMES_DATADIR}/${PN}/baseq2/ || die "couldnt grab player models"
+
+ insinto ${GAMES_DATADIR}/${PN}/ctf
+ doins ctf/*.{cfg,ico,pak} || die "couldnt grab ctf"
+
+ # install symlinks for all the packages that may utilize this ebuild
+ if has_version app-games/quake2-relnev ; then
+ einfo "Creating symlinks for quake2-relnev"
+ for qdir in "" -qmax ; do
+ basedir=${GAMES_LIBDIR}/quake2-relnev${qdir}/baseq2
+ ctfdir=${GAMES_LIBDIR}/quake2-relnev${qdir}/ctf
+ dodir ${basedir}
+ for f in pak{0,1,2}.pak players ; do
+ [ -e ${basedir}/${f} ] && continue
+ dosym ${GAMES_DATADIR}/${PN}/baseq2/${f} ${basedir}/${f}
+ done
+ dodir ${ctfdir}
+ [ -e ${ctfdir}/pak0.pak ] || \
+ dosym ${GAMES_DATADIR}/${PN}/ctf/pak0.pak ${ctfdir}/pak0.pak
+ done
+ fi
+
+ prepgamesdirs
+}