summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Armak <danarmak@gentoo.org>2001-09-29 13:03:57 +0000
committerDan Armak <danarmak@gentoo.org>2001-09-29 13:03:57 +0000
commita03c386a30184184ac530b6dec83455a38001168 (patch)
tree7b404efc1d3803d7d8f8f70e8360f807d2f18a50 /incoming
parentnew kde-i18n ebuilds for eclasses. surprise, surprise;: they are empty! (diff)
downloadgentoo-2-a03c386a30184184ac530b6dec83455a38001168.tar.gz
gentoo-2-a03c386a30184184ac530b6dec83455a38001168.tar.bz2
gentoo-2-a03c386a30184184ac530b6dec83455a38001168.zip
new incoming - an arcade game
Diffstat (limited to 'incoming')
-rw-r--r--incoming/mirrormagic/files/mirrormagic.patch11
-rw-r--r--incoming/mirrormagic/mirrormagic-2.0.0.ebuild44
2 files changed, 55 insertions, 0 deletions
diff --git a/incoming/mirrormagic/files/mirrormagic.patch b/incoming/mirrormagic/files/mirrormagic.patch
new file mode 100644
index 000000000000..edb22f3a38f2
--- /dev/null
+++ b/incoming/mirrormagic/files/mirrormagic.patch
@@ -0,0 +1,11 @@
+--- ./Makefile Mon Jan 1 20:40:10 2001
++++ ./Makefile.test Tue Sep 25 23:42:25 2001
+@@ -16,7 +16,7 @@
+
+ # specify directory for read-only game data (like graphics, sounds, levels)
+ # default is '.', so you can play without installing game data somewhere
+-# RO_GAME_DIR = /usr/games
++RO_GAME_DIR = /usr/games/mirrormagic-2.0.0
+
+ # specify directory for writable game data (like highscore files)
+ # default is '.', so you can play without installing game data somewhere
diff --git a/incoming/mirrormagic/mirrormagic-2.0.0.ebuild b/incoming/mirrormagic/mirrormagic-2.0.0.ebuild
new file mode 100644
index 000000000000..a8a14666ef24
--- /dev/null
+++ b/incoming/mirrormagic/mirrormagic-2.0.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2001 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Jens Blaesche <mr.big@pc-trouble.de>
+# /home/cvsroot/gentoo-x86/skel.build,v 1.7 2001/08/25 21:15:08 chadh Exp
+# 23.Sept.2001 23.35 CET
+
+A=mirrormagic-2.0.0.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="Arcade style game for Unix / Linux."
+SRC_URI="http://www.artsoft.org/RELEASES/unix/mirrormagic/${A}"
+HOMEPAGE="http://www.artsoft.net/mirrormagic"
+
+DEPEND=">=x11-base/xfree-4.0
+ >=media-libs/sdl-image-1.1.0
+ >=media-libs/sdl-mixer-1.1.0
+ >=media-libs/sdl-net-1.1.0"
+
+src_compile() {
+ patch -p1 < ${FILESDIR}/mirrormagic.patch
+ try make sdl
+}
+
+src_install () {
+ exeinto /usr/games/${P}
+ doexe mirrormagic
+ insinto /usr/games/${P}/graphics
+ doins graphics/*
+ insinto /usr/games/${P}/levels/Classic_Games/
+ doins levels/Classic_Games/*
+ insinto /usr/games/${P}/levels/Classic_Games/classic_deflektor
+ doins levels/Classic_Games/classic_deflektor/*
+ insinto /usr/games/${P}/levels/Classic_Games/classic_mindbender
+ doins levels/Classic_Games/classic_mindbender/*
+ insinto /usr/games/${P}/music
+ doins music/*
+ insinto /usr/games/${P}/scores
+ insinto /usr/games/${P}/sounds
+ doins sounds/*
+ dodoc README COPYING INSTALL CHANGES CREDITS
+ dodir /usr/bin
+ dosym /usr/games/${P}/mirrormagic /usr/bin/mirrormagic
+
+}
+