diff options
author | Ulrich Müller <ulm@gentoo.org> | 2012-01-16 19:20:15 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2012-01-16 19:20:15 +0000 |
commit | 5d5f991a0e8f4be531c6e29a0a759045bf2b99ed (patch) | |
tree | e5c68ea791d4881a193d8c365bc9fc265dafde20 /games-fps/quake2-data | |
parent | Drop old versions (diff) | |
download | gentoo-2-5d5f991a0e8f4be531c6e29a0a759045bf2b99ed.tar.gz gentoo-2-5d5f991a0e8f4be531c6e29a0a759045bf2b99ed.tar.bz2 gentoo-2-5d5f991a0e8f4be531c6e29a0a759045bf2b99ed.zip |
Migrate to cdrom.eclass, bug 398809.
(Portage version: 2.1.10.44/cvs/Linux x86_64)
Diffstat (limited to 'games-fps/quake2-data')
-rw-r--r-- | games-fps/quake2-data/ChangeLog | 7 | ||||
-rw-r--r-- | games-fps/quake2-data/quake2-data-3.20.ebuild | 17 |
2 files changed, 13 insertions, 11 deletions
diff --git a/games-fps/quake2-data/ChangeLog b/games-fps/quake2-data/ChangeLog index 660d25fbc9d5..5ab8730a3f8e 100644 --- a/games-fps/quake2-data/ChangeLog +++ b/games-fps/quake2-data/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-fps/quake2-data -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/quake2-data/ChangeLog,v 1.15 2010/01/25 22:34:52 mr_bones_ Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-fps/quake2-data/ChangeLog,v 1.16 2012/01/16 19:20:15 ulm Exp $ + + 16 Jan 2012; Ulrich Müller <ulm@gentoo.org> quake2-data-3.20.ebuild: + Migrate to cdrom.eclass, bug 398809. 25 Jan 2010; Michael Sterrett <mr_bones_@gentoo.org> quake2-data-3.20.ebuild: diff --git a/games-fps/quake2-data/quake2-data-3.20.ebuild b/games-fps/quake2-data/quake2-data-3.20.ebuild index 4c1372d352ed..ccb193e0678e 100644 --- a/games-fps/quake2-data/quake2-data-3.20.ebuild +++ b/games-fps/quake2-data/quake2-data-3.20.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/quake2-data/quake2-data-3.20.ebuild,v 1.25 2010/01/25 22:34:52 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-fps/quake2-data/quake2-data-3.20.ebuild,v 1.26 2012/01/16 19:20:15 ulm Exp $ EAPI=2 -inherit eutils games +inherit eutils cdrom games DESCRIPTION="iD Software's Quake 2 ... the data files" HOMEPAGE="http://www.idsoftware.com/" @@ -13,7 +13,6 @@ LICENSE="Q2EULA" SLOT="0" KEYWORDS="~alpha amd64 ppc sparc x86 ~x86-fbsd" IUSE="videos" -PROPERTIES="interactive" DEPEND="app-arch/unzip" RDEPEND="" @@ -54,14 +53,14 @@ src_install() { 3) baseq2_cdpath=${CDROM_ROOT}/setup/Data/baseq2;; esac - dodir ${GAMES_DATADIR}/quake2/baseq2 + dodir "${GAMES_DATADIR}"/quake2/baseq2 if use videos ; then - insinto ${GAMES_DATADIR}/quake2/baseq2/video + insinto "${GAMES_DATADIR}"/quake2/baseq2/video doins "${baseq2_cdpath}"/video/* || die "doins videos" fi - insinto ${GAMES_DATADIR}/quake2/baseq2 + insinto "${GAMES_DATADIR}"/quake2/baseq2 doins "${baseq2_cdpath}"/pak0.pak || die "couldnt grab pak0.pak" doins baseq2/*.pak || die "couldnt grab release paks" doins baseq2/maps.lst || die "couldnt grab maps.lst" @@ -72,11 +71,11 @@ src_install() { for mod in ctf rogue xatrix ; do if [[ -d ${baseq2_cdpath}/../${mod} ]] ; then if use videos && [[ -d ${baseq2_cdpath}/../${mod}/video ]] ; then - insinto ${GAMES_DATADIR}/quake2/${mod}/video + insinto "${GAMES_DATADIR}"/quake2/${mod}/video doins "${baseq2_cdpath}"/../${mod}/video/* 2>/dev/null fi if [[ -n $(ls "${baseq2_cdpath}"/../${mod}/*.pak 2>/dev/null) ]] ; then - insinto ${GAMES_DATADIR}/quake2/${mod} + insinto "${GAMES_DATADIR}"/quake2/${mod} doins "${baseq2_cdpath}"/../${mod}/*.pak || die "doins ${mod} pak" fi fi |