-# 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-action/armagetronad/armagetronad-0.2.7.1-r1.ebuild,v 1.5 2006/10/31 04:39:48 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/armagetronad/armagetronad-0.2.7.1-r1.ebuild,v 1.6 2007/04/05 23:58:47 nyhm Exp $
inherit eutils games
cp "${FILESDIR}"/${PN}-ded "${FILESDIR}"/${PN} . || die
sed -i \
-e "s:@GAMES_SYSCONFDIR@:${GAMES_SYSCONFDIR}:" \
- -e "s:@GAMES_LIBDIR@:${GAMES_LIBDIR}:" \
+ -e "s:@GAMES_LIBDIR@:$(games_get_libdir):" \
-e "s:@GAMES_DATADIR@:${GAMES_DATADIR}:" \
${PN}-ded ${PN}
}
docinto html/net
dohtml doc/net/*.html
newicon tron.ico ${PN}.ico
- exeinto "${GAMES_LIBDIR}/${PN}"
+ exeinto "$(games_get_libdir)/${PN}"
if use dedicated ; then
doexe src/tron/${PN}-dedicated || die "copying files"
else
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/d1x/d1x-20040118.ebuild,v 1.9 2007/03/12 13:15:09 genone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/d1x/d1x-20040118.ebuild,v 1.10 2007/04/06 00:01:01 nyhm Exp $
inherit eutils games
fi
cd "\${HOME}/.d1x/"
- exec "${GAMES_LIBDIR}"/${PN}/${binname} -missiondir "${GAMES_DATADIR}/d1x" "\$@"
+ exec "$(games_get_libdir)"/${PN}/${binname} -missiondir "${GAMES_DATADIR}/d1x" "\$@"
EOS
}
doins d1x.ini || die
# Install the binary executable
- insinto "${GAMES_LIBDIR}/${PN}"
+ insinto "$(games_get_libdir)/${PN}"
insopts -m0750
doins "${binname}"