summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2011-02-28 23:55:42 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2011-02-28 23:55:42 +0000
commit2fad57fa1b59895e855a40ce71f88ae77a5e3e10 (patch)
treea6f1e9d8a40096a91dff8a47da6f556786f62f79 /games-arcade/xbill
parentstable ppc64, bug 352383 (diff)
downloadgentoo-2-2fad57fa1b59895e855a40ce71f88ae77a5e3e10.tar.gz
gentoo-2-2fad57fa1b59895e855a40ce71f88ae77a5e3e10.tar.bz2
gentoo-2-2fad57fa1b59895e855a40ce71f88ae77a5e3e10.zip
EAPI=2; slot gtk+ dep
(Portage version: 2.1.9.25/cvs/Linux i686)
Diffstat (limited to 'games-arcade/xbill')
-rw-r--r--games-arcade/xbill/ChangeLog7
-rw-r--r--games-arcade/xbill/xbill-2.1-r2.ebuild19
2 files changed, 13 insertions, 13 deletions
diff --git a/games-arcade/xbill/ChangeLog b/games-arcade/xbill/ChangeLog
index 597c45180d3d..66b2ee02217b 100644
--- a/games-arcade/xbill/ChangeLog
+++ b/games-arcade/xbill/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-arcade/xbill
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/xbill/ChangeLog,v 1.20 2008/09/04 21:22:44 mr_bones_ Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/xbill/ChangeLog,v 1.21 2011/02/28 23:55:42 mr_bones_ Exp $
+
+ 28 Feb 2011; Michael Sterrett <mr_bones_@gentoo.org> xbill-2.1-r2.ebuild:
+ EAPI=2; slot gtk+ dep
04 Sep 2008; Michael Sterrett <mr_bones_@gentoo.org>
+files/xbill-2.1-gentoo.patch, xbill-2.1-r2.ebuild:
diff --git a/games-arcade/xbill/xbill-2.1-r2.ebuild b/games-arcade/xbill/xbill-2.1-r2.ebuild
index e13cc301558e..79230deffbfc 100644
--- a/games-arcade/xbill/xbill-2.1-r2.ebuild
+++ b/games-arcade/xbill/xbill-2.1-r2.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-arcade/xbill/xbill-2.1-r2.ebuild,v 1.7 2008/09/04 21:22:44 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/xbill/xbill-2.1-r2.ebuild,v 1.8 2011/02/28 23:55:42 mr_bones_ Exp $
+EAPI=2
inherit eutils autotools games
DESCRIPTION="A game about an evil hacker called Bill!"
@@ -13,31 +14,27 @@ SLOT="0"
KEYWORDS="alpha amd64 ppc x86"
IUSE="gtk"
-RDEPEND="gtk? ( =x11-libs/gtk+-2* )
+RDEPEND="gtk? ( x11-libs/gtk+:2 )
!gtk? ( x11-libs/libXaw )"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
epatch \
"${FILESDIR}"/${P}-gtk2.patch \
"${FILESDIR}"/${P}-gentoo.patch
eautoreconf
}
-src_compile() {
+src_configure() {
egamesconf \
--disable-motif \
$(use_enable gtk) \
- $(use_enable !gtk athena) \
- || die
- emake || die "emake failed"
+ $(use_enable !gtk athena)
}
src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
+ emake DESTDIR="${D}" install || die
newicon pixmaps/icon.xpm ${PN}.xpm
make_desktop_entry ${PN} XBill ${PN}
dodoc ChangeLog README