diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2009-01-20 02:17:03 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2009-01-20 02:17:03 +0000 |
commit | 1a0316c7aaba50ebc91c85f09d613649c8bc94b7 (patch) | |
tree | a71426c30c06263da3328cc63b1952e6e32bb605 /games-fps/duke3d-data | |
parent | added for games-fps/duke3d-data (diff) | |
download | historical-1a0316c7aaba50ebc91c85f09d613649c8bc94b7.tar.gz historical-1a0316c7aaba50ebc91c85f09d613649c8bc94b7.tar.bz2 historical-1a0316c7aaba50ebc91c85f09d613649c8bc94b7.zip |
initial commit - ebuild submitted by Brandon Captain via bug #162261
Package-Manager: portage-2.1.6.4/cvs/Linux 2.6.27.8 i686
Diffstat (limited to 'games-fps/duke3d-data')
-rw-r--r-- | games-fps/duke3d-data/ChangeLog | 10 | ||||
-rw-r--r-- | games-fps/duke3d-data/Manifest | 3 | ||||
-rw-r--r-- | games-fps/duke3d-data/duke3d-data-1.0.ebuild | 41 | ||||
-rw-r--r-- | games-fps/duke3d-data/metadata.xml | 5 |
4 files changed, 59 insertions, 0 deletions
diff --git a/games-fps/duke3d-data/ChangeLog b/games-fps/duke3d-data/ChangeLog new file mode 100644 index 000000000000..95dfc27f8a17 --- /dev/null +++ b/games-fps/duke3d-data/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for games-fps/duke3d-data +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-fps/duke3d-data/ChangeLog,v 1.1 2009/01/20 02:17:03 mr_bones_ Exp $ + +*duke3d-data-1.0 (20 Jan 2009) + + 20 Jan 2009; Michael Sterrett <mr_bones_@gentoo.org> +metadata.xml, + +duke3d-data-1.0.ebuild: + initial commit - ebuild submitted by Brandon Captain via bug #162261 + diff --git a/games-fps/duke3d-data/Manifest b/games-fps/duke3d-data/Manifest new file mode 100644 index 000000000000..577ed0de829d --- /dev/null +++ b/games-fps/duke3d-data/Manifest @@ -0,0 +1,3 @@ +EBUILD duke3d-data-1.0.ebuild 848 RMD160 32aba807d44893963f862e353895e435a3d803a1 SHA1 95a86a659296c9e0bcd500e2597a1966f6b7709d SHA256 548dcfbfed372607f97dcbb205c5bfa3995e071730c43fe0c0d14ded9c29f7ab +MISC ChangeLog 419 RMD160 caa93e2db80438f017e1a947d8e9b714070bd28d SHA1 3d24710e38a43fc8588dd8b6e56350c45fef5a83 SHA256 96ea4d1fb800d3cb8e1eaa7db0c37c246d2f5ed2c8dd364b114208c59933e478 +MISC metadata.xml 160 RMD160 f839c00d9f25c1f873f95ab899fb64060c1d0bf5 SHA1 08c3d180cf8dbef87e40c42a18b457516a5d7ffe SHA256 5ac0a3647e8149d52ce55d391cf1680ac52d6f0330be21c3bca4790b971b5e5d diff --git a/games-fps/duke3d-data/duke3d-data-1.0.ebuild b/games-fps/duke3d-data/duke3d-data-1.0.ebuild new file mode 100644 index 000000000000..45b242ded9dd --- /dev/null +++ b/games-fps/duke3d-data/duke3d-data-1.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils games + +DESCRIPTION="Duke Nukem 3D data files" +HOMEPAGE="http://www.3drealms.com/" +SRC_URI="" + +LICENSE="DUKE3D" +SLOT="0" +KEYWORDS="~hppa ~ppc ~x86" +IUSE="" + +DEPEND="" +RDEPEND="games-fps/duke3d" + +S=${WORKDIR} + +pkg_setup() { + export CDROM_NAME_SET=("Existing Install" "Duke Nukem 3D CD") + cdrom_get_cds duke3d.grp:dvd/dn3dinst/duke3d.grp + + if [[ ${CDROM_SET} -ne 0 && ${CDROM_SET} -ne 1 ]] ; then + die "Error locating data files."; + fi +} + +src_install() { + local DATAROOT + + case ${CDROM_SET} in + 0) DATAROOT= ;; + 1) DATAROOT="dn3dinst/" ;; + esac + + insinto "${GAMES_DATADIR}"/duke3d + doins "${CDROM_ROOT}"/$DATAROOT/{duke3d.grp,duke.rts,game.con,user.con,demo2.dmo,defs.con,demo1.dmo} \ + || die "doins failed" + prepgamesdirs +} diff --git a/games-fps/duke3d-data/metadata.xml b/games-fps/duke3d-data/metadata.xml new file mode 100644 index 000000000000..f72870c0c28d --- /dev/null +++ b/games-fps/duke3d-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> |