summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <tristan@gentoo.org>2007-04-09 18:23:25 +0000
committerTristan Heaven <tristan@gentoo.org>2007-04-09 18:23:25 +0000
commit4b7ac8b9b0298f79015e299f0ead8b7eb8e7c28a (patch)
treea7393e247a2db1a4533a64c034ac0d62ad1d86af /games-fps/quakeforge/quakeforge-0.5.5-r1.ebuild
parentStable on amd64 wrt bug 173880 (diff)
downloadhistorical-4b7ac8b9b0298f79015e299f0ead8b7eb8e7c28a.tar.gz
historical-4b7ac8b9b0298f79015e299f0ead8b7eb8e7c28a.tar.bz2
historical-4b7ac8b9b0298f79015e299f0ead8b7eb8e7c28a.zip
use games_get_libdir
Package-Manager: portage-2.1.2.3
Diffstat (limited to 'games-fps/quakeforge/quakeforge-0.5.5-r1.ebuild')
-rw-r--r--games-fps/quakeforge/quakeforge-0.5.5-r1.ebuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/games-fps/quakeforge/quakeforge-0.5.5-r1.ebuild b/games-fps/quakeforge/quakeforge-0.5.5-r1.ebuild
index 18c4e6273e2b..4a6d057b4f35 100644
--- a/games-fps/quakeforge/quakeforge-0.5.5-r1.ebuild
+++ b/games-fps/quakeforge/quakeforge-0.5.5-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/quakeforge/quakeforge-0.5.5-r1.ebuild,v 1.2 2007/03/12 15:05:00 genone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quakeforge/quakeforge-0.5.5-r1.ebuild,v 1.3 2007/04/09 18:10:52 nyhm Exp $
inherit eutils autotools games
@@ -78,7 +78,7 @@ src_compile() {
&& svgaconf="--with-svga=/usr" \
|| svgaconf="--without-svga"
- addpredict ${GAMES_LIBDIR}
+ addpredict "$(games_get_libdir)"
egamesconf \
$(use_enable ncurses curses) \
$(use_enable vorbis) \
@@ -96,8 +96,8 @@ src_compile() {
--enable-sound \
--disable-optimize \
${debugopts} \
- --with-global-cfg=${GAMES_SYSCONFDIR}/quakeforge.conf \
- --with-sharepath=${GAMES_DATADIR}/quake1 \
+ --with-global-cfg="${GAMES_SYSCONFDIR}"/quakeforge.conf \
+ --with-sharepath="${GAMES_DATADIR}"/quake1 \
--with-clients=${clients} \
--with-servers=${servers} \
--with-tools=${tools} \
@@ -106,8 +106,8 @@ src_compile() {
}
src_install() {
- make DESTDIR=${D} install || die "install failed"
- mv ${D}/${GAMES_PREFIX}/include ${D}/usr/
+ emake DESTDIR="${D}" install || die "install failed"
+ mv "${D}/${GAMES_PREFIX}"/include "${D}"/usr/
dodoc ChangeLog NEWS TODO doc/*
prepgamesdirs
}