diff options
author | Tristan Heaven <nyhm@gentoo.org> | 2007-02-08 08:53:24 +0000 |
---|---|---|
committer | Tristan Heaven <nyhm@gentoo.org> | 2007-02-08 08:53:24 +0000 |
commit | 2a2be832c06869beabeaf2397fce23a18ded8947 (patch) | |
tree | 1cbedb04f519d14a48497fec6bb14fba3d609025 /games-fps | |
parent | Error checking (diff) | |
download | gentoo-2-2a2be832c06869beabeaf2397fce23a18ded8947.tar.gz gentoo-2-2a2be832c06869beabeaf2397fce23a18ded8947.tar.bz2 gentoo-2-2a2be832c06869beabeaf2397fce23a18ded8947.zip |
Fix hardcoded paths
(Portage version: 2.1.2-r8)
Diffstat (limited to 'games-fps')
-rw-r--r-- | games-fps/doomsday-resources/ChangeLog | 8 | ||||
-rw-r--r-- | games-fps/doomsday-resources/doomsday-resources-1.01.ebuild | 24 |
2 files changed, 17 insertions, 15 deletions
diff --git a/games-fps/doomsday-resources/ChangeLog b/games-fps/doomsday-resources/ChangeLog index ae476937ade2..3e1ceaa1b3fb 100644 --- a/games-fps/doomsday-resources/ChangeLog +++ b/games-fps/doomsday-resources/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-fps/doomsday-resources -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/doomsday-resources/ChangeLog,v 1.2 2006/09/27 09:27:23 nyhm Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-fps/doomsday-resources/ChangeLog,v 1.3 2007/02/08 08:53:24 nyhm Exp $ + + 08 Feb 2007; Tristan Heaven <nyhm@gentoo.org> + doomsday-resources-1.01.ebuild: + Fix hardcoded paths 27 Sep 2006; Tristan Heaven <nyhm@gentoo.org> doomsday-resources-1.01.ebuild: diff --git a/games-fps/doomsday-resources/doomsday-resources-1.01.ebuild b/games-fps/doomsday-resources/doomsday-resources-1.01.ebuild index 6c27dafb0160..c3d668e7a47a 100644 --- a/games-fps/doomsday-resources/doomsday-resources-1.01.ebuild +++ b/games-fps/doomsday-resources/doomsday-resources-1.01.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/doomsday-resources/doomsday-resources-1.01.ebuild,v 1.2 2006/09/27 09:27:23 nyhm Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-fps/doomsday-resources/doomsday-resources-1.01.ebuild,v 1.3 2007/02/08 08:53:24 nyhm Exp $ inherit eutils games @@ -13,28 +13,26 @@ LICENSE="as-is" SLOT="0" KEYWORDS="~x86" IUSE="" -DEPEND="games-fps/doomsday - app-arch/unzip" + +RDEPEND="games-fps/doomsday" +DEPEND="app-arch/unzip" S=${WORKDIR} src_install() { - insinto /usr/share/games/deng/Data/jDoom/Auto/ - doins data/jDoom/* *.pk3 + insinto "${GAMES_DATADIR}"/doomsday/data/jdoom/auto + doins data/jDoom/* *.pk3 || die "doins failed" # The definitions file cannot be auto-loaded - insinto /usr/share/games/deng/Defs/jDoom/ - doins defs/jDoom/* + insinto "${GAMES_DATADIR}"/doomsday/defs/jdoom + doins defs/jDoom/* || die "doins failed" dodoc *.txt docs/* - prepgamesdirs } pkg_postinst() { games_pkg_postinst - # Must specify full path to .ded file - einfo "Add the following to the jdoom/doomsday command-line options:" - einfo " -def /usr/share/games/deng/Defs/jDoom/jDRP.ded" - echo + elog "Add the following to the jdoom/doomsday command-line options:" + elog " -def ${GAMES_DATADIR}/doomsday/defs/jdoom/jDRP.ded" } |