summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-05-02 05:20:20 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-05-02 05:20:20 +0000
commit67c435e621407c508ef30af33c1296a650e975f5 (patch)
tree1ef792a8e8a33d02ee4adcad5bbe5ccc01e9dc13 /games-puzzle/mirrormagic
parentatm for iproute2 (diff)
downloadhistorical-67c435e621407c508ef30af33c1296a650e975f5.tar.gz
historical-67c435e621407c508ef30af33c1296a650e975f5.tar.bz2
historical-67c435e621407c508ef30af33c1296a650e975f5.zip
IUSE; tidy
Diffstat (limited to 'games-puzzle/mirrormagic')
-rw-r--r--games-puzzle/mirrormagic/Manifest2
-rw-r--r--games-puzzle/mirrormagic/mirrormagic-2.0.2.ebuild18
2 files changed, 10 insertions, 10 deletions
diff --git a/games-puzzle/mirrormagic/Manifest b/games-puzzle/mirrormagic/Manifest
index 8d15eaa0fe6a..907d60a41e66 100644
--- a/games-puzzle/mirrormagic/Manifest
+++ b/games-puzzle/mirrormagic/Manifest
@@ -1,4 +1,4 @@
MD5 1f22dc0060826d08c9682678fcb5efe7 ChangeLog 545
-MD5 49fb67166dd5bf2348305ceef5164a4c mirrormagic-2.0.2.ebuild 1300
+MD5 a484a7e4496bcc073bf6a2fedd305aad mirrormagic-2.0.2.ebuild 1326
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
MD5 e164643d1c4780689578a96706b24b50 files/digest-mirrormagic-2.0.2 70
diff --git a/games-puzzle/mirrormagic/mirrormagic-2.0.2.ebuild b/games-puzzle/mirrormagic/mirrormagic-2.0.2.ebuild
index e5f2b7c11c9a..4d9ae802746c 100644
--- a/games-puzzle/mirrormagic/mirrormagic-2.0.2.ebuild
+++ b/games-puzzle/mirrormagic/mirrormagic-2.0.2.ebuild
@@ -1,16 +1,17 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/mirrormagic/mirrormagic-2.0.2.ebuild,v 1.3 2004/03/27 09:53:56 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/mirrormagic/mirrormagic-2.0.2.ebuild,v 1.4 2004/05/02 05:20:20 mr_bones_ Exp $
inherit flag-o-matic games
DESCRIPTION="a game like Deflektor (C 64) or Mindbender (Amiga)"
-SRC_URI="http://www.artsoft.org/RELEASES/unix/mirrormagic/${P}.tar.gz"
HOMEPAGE="http://www.artsoft.org/mirrormagic/"
+SRC_URI="http://www.artsoft.org/RELEASES/unix/mirrormagic/${P}.tar.gz"
LICENSE="GPL-2"
-KEYWORDS="x86"
SLOT="0"
+KEYWORDS="x86"
+IUSE=""
DEPEND="virtual/glibc
|| (
@@ -24,12 +25,12 @@ src_compile() {
replace-flags -march=k6 -march=i586
local makeopts="X11_PATH=/usr/X11R6 RO_GAME_DIR=${GAMES_DATADIR}/${PN} RW_GAME_DIR=${GAMES_STATEDIR}/${PN}"
- if [ `use X` ] || [ -z "`use X``use sdl`" ] ; then
+ if use X || [ -z "`use X``use sdl`" ] ; then
make clean || die
make ${makeopts} OPTIONS="${CFLAGS}" x11 || die
mv mirrormagic{,.x11}
fi
- if [ `use sdl` ] ; then
+ if use sdl ; then
make clean || die
make ${makeopts} OPTIONS="${CFLAGS}" sdl || die
mv mirrormagic{,.sdl}
@@ -37,10 +38,9 @@ src_compile() {
}
src_install() {
- dogamesbin mirrormagic.{sdl,x11}
- dodir ${GAMES_DATADIR}/${PN}
- cp -R graphics levels music sounds ${D}/${GAMES_DATADIR}/${PN}/
+ dogamesbin mirrormagic.{sdl,x11} || die "dogamesbin failed"
+ dodir "${GAMES_DATADIR}/${PN}"
+ cp -R graphics levels music sounds "${D}/${GAMES_DATADIR}/${PN}/"
dodoc CHANGES CREDITS README TODO
-
prepgamesdirs
}