summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-10-22 01:44:42 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-10-22 01:44:42 +0000
commitf688c4d2ac6ba5c08cbb8b24233373dd8e18ceae (patch)
treec22462aae261252db9baf658b76cd2b1e9e361a1 /games-puzzle/bastet/bastet-0.41.ebuild
parentversion bump (Manifest recommit) (diff)
downloadgentoo-2-f688c4d2ac6ba5c08cbb8b24233373dd8e18ceae.tar.gz
gentoo-2-f688c4d2ac6ba5c08cbb8b24233373dd8e18ceae.tar.bz2
gentoo-2-f688c4d2ac6ba5c08cbb8b24233373dd8e18ceae.zip
initial commit
Diffstat (limited to 'games-puzzle/bastet/bastet-0.41.ebuild')
-rw-r--r--games-puzzle/bastet/bastet-0.41.ebuild42
1 files changed, 42 insertions, 0 deletions
diff --git a/games-puzzle/bastet/bastet-0.41.ebuild b/games-puzzle/bastet/bastet-0.41.ebuild
new file mode 100644
index 000000000000..cc483ba36198
--- /dev/null
+++ b/games-puzzle/bastet/bastet-0.41.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/bastet/bastet-0.41.ebuild,v 1.1 2004/10/22 01:44:42 mr_bones_ Exp $
+
+inherit games flag-o-matic
+
+DESCRIPTION="a simple, evil, ncurses-based Tetris(R) clone"
+HOMEPAGE="http://fph.altervista.org/prog/bastet.shtml"
+SRC_URI="http://fph.altervista.org/prog/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE=""
+
+DEPEND=">=sys-libs/ncurses-5"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e '/^include/s/^/-/' \
+ -e '/^CC/d' \
+ -e "/^DATA_PREFIX/s:=.*:=${GAMES_STATEDIR}/:" \
+ -e "s:-Wall:${CFLAGS}:" \
+ Makefile \
+ || die "sed failed"
+
+ sed -i \
+ -e 's/ch;/ch = 0;/' \
+ main.c game.c \
+ || die "sed failed"
+}
+
+src_install() {
+ dogamesbin bastet || die "dogamesbin failed"
+ dodoc AUTHORS BUGS NEWS README* TODO
+ dodir "${GAMES_STATEDIR}"
+ touch "${D}${GAMES_STATEDIR}/bastet.scores" || die "touch failed"
+ fperms 664 "${GAMES_STATEDIR}/bastet.scores"
+ prepgamesdirs
+}