diff options
author | Tristan Heaven <nyhm@gentoo.org> | 2009-04-15 23:22:57 +0000 |
---|---|---|
committer | Tristan Heaven <nyhm@gentoo.org> | 2009-04-15 23:22:57 +0000 |
commit | 3ba59cbd643f8be9ba92ba5bb8fa4eb21ea64141 (patch) | |
tree | f5602db2ddfa88d89af69fd99126b75d5c92802e /games-fps/duke3d-data | |
parent | force non-parallel build (bug 265881) (diff) | |
download | gentoo-2-3ba59cbd643f8be9ba92ba5bb8fa4eb21ea64141.tar.gz gentoo-2-3ba59cbd643f8be9ba92ba5bb8fa4eb21ea64141.tar.bz2 gentoo-2-3ba59cbd643f8be9ba92ba5bb8fa4eb21ea64141.zip |
Allow installation from a binary package without requiring the CD
(Portage version: 2.2_rc30/cvs/Linux i686)
Diffstat (limited to 'games-fps/duke3d-data')
-rw-r--r-- | games-fps/duke3d-data/ChangeLog | 5 | ||||
-rw-r--r-- | games-fps/duke3d-data/duke3d-data-1.0.ebuild | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/games-fps/duke3d-data/ChangeLog b/games-fps/duke3d-data/ChangeLog index 95dfc27f8a17..43d45f053c1b 100644 --- a/games-fps/duke3d-data/ChangeLog +++ b/games-fps/duke3d-data/ChangeLog @@ -1,6 +1,9 @@ # 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 $ +# $Header: /var/cvsroot/gentoo-x86/games-fps/duke3d-data/ChangeLog,v 1.2 2009/04/15 23:22:57 nyhm Exp $ + + 15 Apr 2009; Tristan Heaven <nyhm@gentoo.org> duke3d-data-1.0.ebuild: + Allow installation from a binary package without requiring the CD *duke3d-data-1.0 (20 Jan 2009) diff --git a/games-fps/duke3d-data/duke3d-data-1.0.ebuild b/games-fps/duke3d-data/duke3d-data-1.0.ebuild index 45b242ded9dd..2e48deefff82 100644 --- a/games-fps/duke3d-data/duke3d-data-1.0.ebuild +++ b/games-fps/duke3d-data/duke3d-data-1.0.ebuild @@ -1,5 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-fps/duke3d-data/duke3d-data-1.0.ebuild,v 1.2 2009/04/15 23:22:57 nyhm Exp $ inherit eutils games @@ -11,17 +12,18 @@ LICENSE="DUKE3D" SLOT="0" KEYWORDS="~hppa ~ppc ~x86" IUSE="" +PROPERTIES="interactive" DEPEND="" RDEPEND="games-fps/duke3d" S=${WORKDIR} -pkg_setup() { +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 + if [[ ${CDROM_SET} -ne 0 && ${CDROM_SET} -ne 1 ]] ; then die "Error locating data files."; fi } |