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/doomsday-resources/doomsday-resources-1.01.ebuild | |
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/doomsday-resources/doomsday-resources-1.01.ebuild')
-rw-r--r-- | games-fps/doomsday-resources/doomsday-resources-1.01.ebuild | 24 |
1 files changed, 11 insertions, 13 deletions
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" } |