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 | 88eb6779578a782dfc87a17f7290305fc03ea2fd (patch) | |
tree | 817fc89e2d9bdcc95715db44e03dfe69bdfa55e2 | |
parent | added for games-fps/duke3d-data (diff) | |
download | gentoo-2-88eb6779578a782dfc87a17f7290305fc03ea2fd.tar.gz gentoo-2-88eb6779578a782dfc87a17f7290305fc03ea2fd.tar.bz2 gentoo-2-88eb6779578a782dfc87a17f7290305fc03ea2fd.zip |
initial commit - ebuild submitted by Brandon Captain via bug #162261
(Portage version: 2.1.6.4/cvs/Linux 2.6.27.8 i686)
-rw-r--r-- | games-fps/duke3d-data/ChangeLog | 10 | ||||
-rw-r--r-- | games-fps/duke3d-data/duke3d-data-1.0.ebuild | 41 | ||||
-rw-r--r-- | games-fps/duke3d-data/metadata.xml | 5 |
3 files changed, 56 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/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> |