summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-puzzle/xblockout/xblockout-1.1.5-r1.ebuild')
-rw-r--r--games-puzzle/xblockout/xblockout-1.1.5-r1.ebuild18
1 files changed, 7 insertions, 11 deletions
diff --git a/games-puzzle/xblockout/xblockout-1.1.5-r1.ebuild b/games-puzzle/xblockout/xblockout-1.1.5-r1.ebuild
index b7c83c95810a..95587dada844 100644
--- a/games-puzzle/xblockout/xblockout-1.1.5-r1.ebuild
+++ b/games-puzzle/xblockout/xblockout-1.1.5-r1.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/xblockout/xblockout-1.1.5-r1.ebuild,v 1.1 2008/10/27 22:42:20 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/xblockout/xblockout-1.1.5-r1.ebuild,v 1.2 2009/01/29 01:36:24 mr_bones_ Exp $
+EAPI=2
inherit flag-o-matic eutils games
DESCRIPTION="X Window block dropping game in 3 Dimension"
@@ -17,24 +18,19 @@ DEPEND="x11-libs/libXext"
S=${WORKDIR}/xbl-${PV}
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
+src_prepare() {
epatch "${FILESDIR}"/${P}-font.patch
-
sed -i \
+ -e '/^CC/d' \
-e 's:-lm:-lm -lX11:' \
-e '/DGROUP_GID/d' \
-e "s:-g$:${CFLAGS}:" \
Makefile.in || die "sed failed"
-}
-
-src_compile() {
# Don't know about other archs. --slarti
use amd64 && filter-flags "-fweb"
+}
- egamesconf || die
+src_compile() {
emake \
USE_SETGID= \
SCOREDIR="${GAMES_DATADIR}/${PN}" \