diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2015-12-29 00:18:47 -0500 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2015-12-29 02:40:55 -0500 |
commit | 6ad84ef9c353f4a28c65866030490df1c9e53d31 (patch) | |
tree | 98470d6562a4978c40ae6595c8c78b80b35ed338 /games-fps/duke3d-data | |
parent | 32f2b30e00e103919a7c30410b78fdcf8965bc63 (diff) | |
download | gentoo-6ad84ef9c353f4a28c65866030490df1c9e53d31.tar.gz gentoo-6ad84ef9c353f4a28c65866030490df1c9e53d31.tar.xz |
old
Package-Manager: portage-2.2.24
Diffstat (limited to 'games-fps/duke3d-data')
-rw-r--r-- | games-fps/duke3d-data/duke3d-data-1.0.ebuild | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/games-fps/duke3d-data/duke3d-data-1.0.ebuild b/games-fps/duke3d-data/duke3d-data-1.0.ebuild deleted file mode 100644 index 2f9401140ea..00000000000 --- a/games-fps/duke3d-data/duke3d-data-1.0.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -inherit eutils cdrom games - -DESCRIPTION="Duke Nukem 3D data files" -HOMEPAGE="http://www.3drealms.com/" -SRC_URI="" - -LICENSE="DUKE3D" -SLOT="0" -KEYWORDS="amd64 hppa ppc x86" -IUSE="" - -DEPEND="" -RDEPEND="|| ( games-fps/eduke32 games-fps/duke3d )" - -S=${WORKDIR} - -src_unpack() { - 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 -} |