diff options
author | Tristan Heaven <nyhm@gentoo.org> | 2007-04-09 20:51:48 +0000 |
---|---|---|
committer | Tristan Heaven <nyhm@gentoo.org> | 2007-04-09 20:51:48 +0000 |
commit | 6bf47cceacdb89a7d6c4b3fb8fe75a8d965224e9 (patch) | |
tree | de38904a823bc6ff8c6c34f280c058ef6ce65e01 /games-rpg | |
parent | use games_get_libdir (diff) | |
download | gentoo-2-6bf47cceacdb89a7d6c4b3fb8fe75a8d965224e9.tar.gz gentoo-2-6bf47cceacdb89a7d6c4b3fb8fe75a8d965224e9.tar.bz2 gentoo-2-6bf47cceacdb89a7d6c4b3fb8fe75a8d965224e9.zip |
use games_get_libdir
(Portage version: 2.1.2.3)
Diffstat (limited to 'games-rpg')
-rw-r--r-- | games-rpg/openrpg/openrpg-1.6.1-r1.ebuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/games-rpg/openrpg/openrpg-1.6.1-r1.ebuild b/games-rpg/openrpg/openrpg-1.6.1-r1.ebuild index 2f9bc7b0c1c8..1acb2a1b39d9 100644 --- a/games-rpg/openrpg/openrpg-1.6.1-r1.ebuild +++ b/games-rpg/openrpg/openrpg-1.6.1-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/openrpg/openrpg-1.6.1-r1.ebuild,v 1.2 2004/12/14 22:26:00 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-rpg/openrpg/openrpg-1.6.1-r1.ebuild,v 1.3 2007/04/09 20:51:48 nyhm Exp $ inherit eutils games @@ -34,7 +34,7 @@ src_unpack() { rm -f start.py start_server.py start_server_gui.py sed -i \ -e "s:GENTOO_DATADIR:${GAMES_DATADIR}/${PN}:" \ - -e "s:GENTOO_LIBDIR:${GAMES_LIBDIR}/${PN}:" \ + -e "s:GENTOO_LIBDIR:$(games_get_libdir)/${PN}:" \ "${WORKDIR}/bins/openrpg" \ "${WORKDIR}/bins/openrpg-server" \ "${WORKDIR}/bins/openrpg-server-gui" \ @@ -46,9 +46,9 @@ src_install() { dogamesbin "${WORKDIR}/bins/"* dodoc "${WORKDIR}/docs/"* - insinto "${GAMES_LIBDIR}/${PN}" + insinto "$(games_get_libdir)/${PN}" doins *.py || die "doins failed" - cp -r orpg "${D}/${GAMES_LIBDIR}/${PN}/" || die "cp failed" + cp -r orpg "${D}/$(games_get_libdir)/${PN}/" || die "cp failed" dodir "${GAMES_DATADIR}/${PN}/orpg" cp -r templates/ "${D}/${GAMES_DATADIR}/${PN}/orpg/" || die "cp failed" |