summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2006-10-19 15:20:40 +0000
committerTristan Heaven <nyhm@gentoo.org>2006-10-19 15:20:40 +0000
commit6d5f76a4fc066fc61a5c4bfe2349dad0ad7a3007 (patch)
tree22e36dc600b26ab05f3ccfa7b79b6e40553dbf67 /games-puzzle
parentStable on Alpha. (diff)
downloadgentoo-2-6d5f76a4fc066fc61a5c4bfe2349dad0ad7a3007.tar.gz
gentoo-2-6d5f76a4fc066fc61a5c4bfe2349dad0ad7a3007.tar.bz2
gentoo-2-6d5f76a4fc066fc61a5c4bfe2349dad0ad7a3007.zip
Use LDFLAGS and install the man page
(Portage version: 2.1.2_pre3-r5)
Diffstat (limited to 'games-puzzle')
-rw-r--r--games-puzzle/bastet/ChangeLog5
-rw-r--r--games-puzzle/bastet/bastet-0.41.ebuild10
2 files changed, 10 insertions, 5 deletions
diff --git a/games-puzzle/bastet/ChangeLog b/games-puzzle/bastet/ChangeLog
index e61509d7f2fe..f8b91bfb3041 100644
--- a/games-puzzle/bastet/ChangeLog
+++ b/games-puzzle/bastet/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-puzzle/bastet
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/bastet/ChangeLog,v 1.7 2006/08/15 13:44:44 tcort Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/bastet/ChangeLog,v 1.8 2006/10/19 15:20:40 nyhm Exp $
+
+ 19 Oct 2006; Tristan Heaven <nyhm@gentoo.org> bastet-0.41.ebuild:
+ Use LDFLAGS and install the man page
15 Aug 2006; Thomas Cort <tcort@gentoo.org> bastet-0.41.ebuild:
Stable on amd64 wrt Bug #143961
diff --git a/games-puzzle/bastet/bastet-0.41.ebuild b/games-puzzle/bastet/bastet-0.41.ebuild
index 69df451f3e24..0f14be079fa9 100644
--- a/games-puzzle/bastet/bastet-0.41.ebuild
+++ b/games-puzzle/bastet/bastet-0.41.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2006 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.7 2006/08/15 13:44:44 tcort Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/bastet/bastet-0.41.ebuild,v 1.8 2006/10/19 15:20:40 nyhm Exp $
-inherit games flag-o-matic
+inherit toolchain-funcs games
DESCRIPTION="a simple, evil, ncurses-based Tetris(R) clone"
HOMEPAGE="http://fph.altervista.org/prog/bastet.shtml"
@@ -20,9 +20,10 @@ src_unpack() {
cd "${S}"
sed -i \
-e '/^include/s/^/-/' \
- -e '/^CC/d' \
+ -e "/^CC/s/gcc/$(tc-getCC)/" \
-e "/^DATA_PREFIX/s:=.*:=${GAMES_STATEDIR}/:" \
- -e "s:-Wall:${CFLAGS}:" \
+ -e '/^CFLAGS/s/=/+=/' \
+ -e '/^LDFLAGS/s/=/+=/' \
Makefile \
|| die "sed failed"
@@ -34,6 +35,7 @@ src_unpack() {
src_install() {
dogamesbin bastet || die "dogamesbin failed"
+ doman bastet.6
dodoc AUTHORS BUGS NEWS README* TODO
dodir "${GAMES_STATEDIR}"
touch "${D}${GAMES_STATEDIR}/bastet.scores" || die "touch failed"