1 |
commit: 6ad84ef9c353f4a28c65866030490df1c9e53d31 |
2 |
Author: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 29 05:18:47 2015 +0000 |
4 |
Commit: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 29 07:40:55 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ad84ef9 |
7 |
|
8 |
old |
9 |
|
10 |
Package-Manager: portage-2.2.24 |
11 |
|
12 |
games-fps/duke3d-data/duke3d-data-1.0.ebuild | 42 ---------------------------- |
13 |
1 file changed, 42 deletions(-) |
14 |
|
15 |
diff --git a/games-fps/duke3d-data/duke3d-data-1.0.ebuild b/games-fps/duke3d-data/duke3d-data-1.0.ebuild |
16 |
deleted file mode 100644 |
17 |
index 2f94011..0000000 |
18 |
--- a/games-fps/duke3d-data/duke3d-data-1.0.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,42 +0,0 @@ |
21 |
-# Copyright 1999-2014 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
-# $Id$ |
24 |
- |
25 |
-inherit eutils cdrom games |
26 |
- |
27 |
-DESCRIPTION="Duke Nukem 3D data files" |
28 |
-HOMEPAGE="http://www.3drealms.com/" |
29 |
-SRC_URI="" |
30 |
- |
31 |
-LICENSE="DUKE3D" |
32 |
-SLOT="0" |
33 |
-KEYWORDS="amd64 hppa ppc x86" |
34 |
-IUSE="" |
35 |
- |
36 |
-DEPEND="" |
37 |
-RDEPEND="|| ( games-fps/eduke32 games-fps/duke3d )" |
38 |
- |
39 |
-S=${WORKDIR} |
40 |
- |
41 |
-src_unpack() { |
42 |
- export CDROM_NAME_SET=("Existing Install" "Duke Nukem 3D CD") |
43 |
- cdrom_get_cds duke3d.grp:dvd/dn3dinst/duke3d.grp |
44 |
- |
45 |
- if [[ ${CDROM_SET} -ne 0 && ${CDROM_SET} -ne 1 ]] ; then |
46 |
- die "Error locating data files."; |
47 |
- fi |
48 |
-} |
49 |
- |
50 |
-src_install() { |
51 |
- local DATAROOT |
52 |
- |
53 |
- case ${CDROM_SET} in |
54 |
- 0) DATAROOT= ;; |
55 |
- 1) DATAROOT="dn3dinst/" ;; |
56 |
- esac |
57 |
- |
58 |
- insinto "${GAMES_DATADIR}"/duke3d |
59 |
- doins "${CDROM_ROOT}"/$DATAROOT/{duke3d.grp,duke.rts,game.con,user.con,demo2.dmo,defs.con,demo1.dmo} \ |
60 |
- || die "doins failed" |
61 |
- prepgamesdirs |
62 |
-} |