summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2005-03-14 00:46:41 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2005-03-14 00:46:41 +0000
commit7012e16f438bc0c856f75e7c39036c37f810a0ef (patch)
treed1b06d68abc5e7b5972cc18eba550339b2c70337 /games-util
parentStable on alpha, ia64, x86 (diff)
downloadgentoo-2-7012e16f438bc0c856f75e7c39036c37f810a0ef.tar.gz
gentoo-2-7012e16f438bc0c856f75e7c39036c37f810a0ef.tar.bz2
gentoo-2-7012e16f438bc0c856f75e7c39036c37f810a0ef.zip
use games.eclass variables; stable for x86
(Portage version: 2.0.51.19)
Diffstat (limited to 'games-util')
-rw-r--r--games-util/atlas/ChangeLog5
-rw-r--r--games-util/atlas/atlas-0.2.2-r1.ebuild16
2 files changed, 12 insertions, 9 deletions
diff --git a/games-util/atlas/ChangeLog b/games-util/atlas/ChangeLog
index 69296fb1d24d..fe1d21ce403f 100644
--- a/games-util/atlas/ChangeLog
+++ b/games-util/atlas/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-util/atlas
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-util/atlas/ChangeLog,v 1.5 2005/02/14 16:35:14 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-util/atlas/ChangeLog,v 1.6 2005/03/14 00:46:41 mr_bones_ Exp $
+
+ 13 Mar 2005; Michael Sterrett <mr_bones_@gentoo.org> atlas-0.2.2-r1.ebuild:
+ use games.eclass variables; stable for x86
*atlas-0.2.2-r1 (14 Feb 2005)
diff --git a/games-util/atlas/atlas-0.2.2-r1.ebuild b/games-util/atlas/atlas-0.2.2-r1.ebuild
index 66caf1c22cbb..5fcc11c4a8c3 100644
--- a/games-util/atlas/atlas-0.2.2-r1.ebuild
+++ b/games-util/atlas/atlas-0.2.2-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-util/atlas/atlas-0.2.2-r1.ebuild,v 1.2 2005/02/14 16:36:02 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-util/atlas/atlas-0.2.2-r1.ebuild,v 1.3 2005/03/14 00:46:41 mr_bones_ Exp $
inherit games
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/atlas/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~ppc ~sparc ~x86"
+KEYWORDS="~ppc ~sparc x86"
IUSE=""
DEPEND=">=games-simulation/flightgear-0.9.4
@@ -21,7 +21,7 @@ DEPEND=">=games-simulation/flightgear-0.9.4
S=${WORKDIR}/${MY_P}
-INSDESTTREE="/usr/games/lib/FlightGear"
+INSDESTTREE="${GAMES_LIBDIR}/FlightGear"
src_unpack() {
unpack ${A}
@@ -30,14 +30,14 @@ src_unpack() {
}
src_compile() {
- egamesconf --with-fgbase=/usr/games/lib/FlightGear || die
+ egamesconf --with-fgbase="${GAMES_LIBDIR}/FlightGear" || die
emake || die "emake failed"
}
src_install() {
doins "${S}/src/AtlasPalette" || die
egamesinstall || die
- keepdir /usr/games/lib/FlightGear/Atlas/lowres
+ keepdir "${GAMES_LIBDIR}/FlightGear/Atlas/lowres"
dodoc AUTHORS README
prepgamesdirs
}
@@ -46,8 +46,8 @@ pkg_postinst() {
games_pkg_postinst
einfo "You now can make the maps with the following commands:"
- einfo "/usr/games/bin/Map --atlas=/usr/games/lib/FlightGear/Atlas"
- einfo "/usr/games/bin/Map --atlas=/usr/games/lib/FlightGear/Atlas/lowres --size=64"
+ einfo "${GAMES_BINDIR}/Map --atlas=${GAMES_LIBDIR}/FlightGear/Atlas"
+ einfo "${GAMES_BINDIR}/Map --atlas=${GAMES_LIBDIR}/FlightGear/Atlas/lowres --size=64"
echo
einfo "To run Atlas concurrently with FlightGear use the following:"
einfo "Atlas --path=[path of map images] --udp=[port number]"
@@ -60,6 +60,6 @@ pkg_postrm() {
einfo "You must manually remove the maps if you don't want them around."
einfo "They are found in the following directory:"
echo
- einfo "/usr/games/lib/FlightGear/Atlas"
+ einfo "${GAMES_LIBDIR}/FlightGear/Atlas"
echo
}