summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-puzzle/shaaft/Manifest4
-rw-r--r--games-puzzle/shaaft/files/digest-shaaft-0.5.01
-rw-r--r--games-puzzle/shaaft/metadata.xml9
-rw-r--r--games-puzzle/shaaft/shaaft-0.5.0.ebuild41
4 files changed, 54 insertions, 1 deletions
diff --git a/games-puzzle/shaaft/Manifest b/games-puzzle/shaaft/Manifest
index abb053f70dd6..9c7f8132317a 100644
--- a/games-puzzle/shaaft/Manifest
+++ b/games-puzzle/shaaft/Manifest
@@ -1,2 +1,4 @@
-MD5 2a89d02ac8de0fdd3b5cad6492597f9f shaaft-0.5.0.ebuild 796
+MD5 054825452488155a49a4433f8a0ccbc9 shaaft-0.5.0.ebuild 976
+MD5 a30c9d4ce8f9629d6d7323eaab258343 metadata.xml 241
+MD5 8593db7d38e0de4fa2c59d782c6a5c98 ChangeLog 413
MD5 3b94f9a4427c26cf66ebcff72c849efc files/digest-shaaft-0.5.0 65
diff --git a/games-puzzle/shaaft/files/digest-shaaft-0.5.0 b/games-puzzle/shaaft/files/digest-shaaft-0.5.0
new file mode 100644
index 000000000000..6644c2b306bb
--- /dev/null
+++ b/games-puzzle/shaaft/files/digest-shaaft-0.5.0
@@ -0,0 +1 @@
+MD5 c86524f286c60e3fd45b10d023a92db2 Shaaft-0.5.0.tar.bz2 512996
diff --git a/games-puzzle/shaaft/metadata.xml b/games-puzzle/shaaft/metadata.xml
new file mode 100644
index 000000000000..1cef6e243af3
--- /dev/null
+++ b/games-puzzle/shaaft/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+<maintainer>
+<email>games@gentoo.org</email>
+<name>Games Team</name>
+</maintainer>
+</pkgmetadata>
diff --git a/games-puzzle/shaaft/shaaft-0.5.0.ebuild b/games-puzzle/shaaft/shaaft-0.5.0.ebuild
new file mode 100644
index 000000000000..655451954234
--- /dev/null
+++ b/games-puzzle/shaaft/shaaft-0.5.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/shaaft/shaaft-0.5.0.ebuild,v 1.1 2004/02/01 09:57:46 mr_bones_ Exp $
+
+inherit games
+
+S="${WORKDIR}/${P/s/S}"
+DESCRIPTION="A falling block game similar to Blockout"
+HOMEPAGE="http://criticalmass.sourceforge.net/shaaft.php"
+SRC_URI="mirror://sourceforge/criticalmass/${P/s/S}.tar.bz2"
+
+KEYWORDS="x86"
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+RDEPEND="virtual/x11
+ virtual/opengl
+ virtual/glibc
+ sys-libs/zlib
+ media-libs/libpng
+ >=media-libs/libsdl-1.2
+ media-libs/sdl-mixer
+ media-libs/sdl-image"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ sed -i \
+ -e 's:DATA_DIR:"'${GAMES_DATADIR}'\/'${PN/s/S}\/'":g' game/main.cpp \
+ || die "sed main.cpp failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ dodoc TODO.txt || die "dodoc failed"
+ prepgamesdirs
+}