summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2015-02-18 21:45:09 +0000
committerAlfredo Tupone <tupone@gentoo.org>2015-02-18 21:45:09 +0000
commit9159c6397be586e799e8511e1fabf514396175c1 (patch)
tree1c32a39a12823bb0848a59dd824dd2e23bc7acdc /games-puzzle/fbg
parentEAPI 5 (diff)
downloadgentoo-2-9159c6397be586e799e8511e1fabf514396175c1.tar.gz
gentoo-2-9159c6397be586e799e8511e1fabf514396175c1.tar.bz2
gentoo-2-9159c6397be586e799e8511e1fabf514396175c1.zip
EAPI 5
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0145142D)
Diffstat (limited to 'games-puzzle/fbg')
-rw-r--r--games-puzzle/fbg/ChangeLog7
-rw-r--r--games-puzzle/fbg/fbg-0.9-r1.ebuild19
2 files changed, 13 insertions, 13 deletions
diff --git a/games-puzzle/fbg/ChangeLog b/games-puzzle/fbg/ChangeLog
index 8a7cb3634503..cad8e216cb9a 100644
--- a/games-puzzle/fbg/ChangeLog
+++ b/games-puzzle/fbg/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-puzzle/fbg
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/fbg/ChangeLog,v 1.9 2008/02/29 19:28:25 carlo Exp $
+# Copyright 2000-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/fbg/ChangeLog,v 1.10 2015/02/18 21:45:09 tupone Exp $
+
+ 18 Feb 2015; Tupone Alfredo <tupone@gentoo.org> fbg-0.9-r1.ebuild:
+ EAPI 5
29 Feb 2008; Carsten Lohrke <carlo@gentoo.org> ChangeLog:
Remove icon extension from desktop entry to match Icon Theme Specification.
diff --git a/games-puzzle/fbg/fbg-0.9-r1.ebuild b/games-puzzle/fbg/fbg-0.9-r1.ebuild
index 32bd8b84b904..4cca80395e97 100644
--- a/games-puzzle/fbg/fbg-0.9-r1.ebuild
+++ b/games-puzzle/fbg/fbg-0.9-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/fbg/fbg-0.9-r1.ebuild,v 1.11 2008/02/29 19:28:25 carlo Exp $
-
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/fbg/fbg-0.9-r1.ebuild,v 1.12 2015/02/18 21:45:09 tupone Exp $
+EAPI=5
inherit eutils games
DESCRIPTION="A Tetris clone written in OpenGL"
@@ -19,10 +19,9 @@ DEPEND="virtual/opengl
media-libs/libsdl
media-libs/libmikmod
x11-libs/libXt"
+RDEPEND="${DEPEND}"
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
sed -i \
-e "/FBGDATADIR=/s:\".*\":\"${GAMES_DATADIR}/${PN}\":" \
-e '/^datadir=/d' \
@@ -30,16 +29,14 @@ src_unpack() {
|| die "sed failed"
}
-src_compile() {
- egamesconf --disable-fbglaunch || die
- emake || die "emake failed"
+src_configure() {
+ egamesconf --disable-fbglaunch
}
src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
+ default
newicon startfbg/icon.xpm ${PN}.xpm
make_desktop_entry ${PN} "Falling Block Game" ${PN}
- dodoc AUTHORS ChangeLog README TODO
rm -rf "${D}/${GAMES_PREFIX}"/doc
prepgamesdirs
}