summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2011-03-01 07:22:24 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2011-03-01 07:22:24 +0000
commit4a8be32c867557442eadfb921a59c785117391a8 (patch)
tree31f88b6f76ec9af7db5d164b9b831c9e16efa21c /games-puzzle/gtkballs
parentslot gtk+ dep (diff)
downloadgentoo-2-4a8be32c867557442eadfb921a59c785117391a8.tar.gz
gentoo-2-4a8be32c867557442eadfb921a59c785117391a8.tar.bz2
gentoo-2-4a8be32c867557442eadfb921a59c785117391a8.zip
EAPI=2; tidy
(Portage version: 2.1.9.25/cvs/Linux i686)
Diffstat (limited to 'games-puzzle/gtkballs')
-rw-r--r--games-puzzle/gtkballs/ChangeLog8
-rw-r--r--games-puzzle/gtkballs/gtkballs-3.1.5-r1.ebuild18
2 files changed, 14 insertions, 12 deletions
diff --git a/games-puzzle/gtkballs/ChangeLog b/games-puzzle/gtkballs/ChangeLog
index 8c65e3985cff..54a4e49a5439 100644
--- a/games-puzzle/gtkballs/ChangeLog
+++ b/games-puzzle/gtkballs/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-puzzle/gtkballs
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/gtkballs/ChangeLog,v 1.13 2008/04/08 01:39:47 mr_bones_ Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/gtkballs/ChangeLog,v 1.14 2011/03/01 07:22:24 mr_bones_ Exp $
+
+ 01 Mar 2011; Michael Sterrett <mr_bones_@gentoo.org>
+ gtkballs-3.1.5-r1.ebuild:
+ EAPI=2; tidy
08 Apr 2008; Michael Sterrett <mr_bones_@gentoo.org>
gtkballs-3.1.5-r1.ebuild:
diff --git a/games-puzzle/gtkballs/gtkballs-3.1.5-r1.ebuild b/games-puzzle/gtkballs/gtkballs-3.1.5-r1.ebuild
index 550f66f17169..1de79f9642e3 100644
--- a/games-puzzle/gtkballs/gtkballs-3.1.5-r1.ebuild
+++ b/games-puzzle/gtkballs/gtkballs-3.1.5-r1.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/gtkballs/gtkballs-3.1.5-r1.ebuild,v 1.3 2008/04/08 01:39:47 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/gtkballs/gtkballs-3.1.5-r1.ebuild,v 1.4 2011/03/01 07:22:24 mr_bones_ Exp $
+EAPI=2
inherit eutils games
DESCRIPTION="An entertaining game based on the old DOS game lines"
@@ -13,28 +14,25 @@ SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE="nls"
-RDEPEND="=x11-libs/gtk+-2*
+RDEPEND="x11-libs/gtk+:2
nls? ( virtual/libintl )"
DEPEND="${RDEPEND}
dev-util/pkgconfig
nls? ( >=sys-devel/gettext-0.10.38 )"
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
sed -i \
-e '/^nlsdir=/s:=.*:=/usr/share/locale:' \
-e '/^localedir/s:=.*:=/usr/share/locale:' \
configure po/Makefile.in.in || die "sed locale failed"
}
-src_compile() {
- egamesconf $(use_enable nls) || die
- emake || die "emake failed"
+src_configure() {
+ egamesconf $(use_enable nls)
}
src_install() {
- make DESTDIR="${D}" install || die "make install failed"
+ emake DESTDIR="${D}" install || die
dodoc ChangeLog AUTHORS README* TODO NEWS || die "dodoc failed"
newicon gnome-gtkballs.png ${PN}.png
make_desktop_entry gtkballs "GTK Balls"