summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-04-13 10:25:44 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-04-13 10:25:44 +0000
commit6342a71e3109d2d6bfe98325bdeefadce1c5ed98 (patch)
tree27fce548b101addf7326aceb633bc23cb1e90692 /games-strategy/xarchon
parentdie backticks (diff)
downloadhistorical-6342a71e3109d2d6bfe98325bdeefadce1c5ed98.tar.gz
historical-6342a71e3109d2d6bfe98325bdeefadce1c5ed98.tar.bz2
historical-6342a71e3109d2d6bfe98325bdeefadce1c5ed98.zip
games eclass inherits eutils already; error check sed; use flag tidy
Diffstat (limited to 'games-strategy/xarchon')
-rw-r--r--games-strategy/xarchon/ChangeLog7
-rw-r--r--games-strategy/xarchon/Manifest8
-rw-r--r--games-strategy/xarchon/xarchon-0.60.ebuild22
3 files changed, 22 insertions, 15 deletions
diff --git a/games-strategy/xarchon/ChangeLog b/games-strategy/xarchon/ChangeLog
index defa55bbb926..b7f64df6beeb 100644
--- a/games-strategy/xarchon/ChangeLog
+++ b/games-strategy/xarchon/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-strategy/xarchon
-# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/xarchon/ChangeLog,v 1.2 2003/09/10 15:51:50 vapier Exp $
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/xarchon/ChangeLog,v 1.3 2004/04/13 10:25:44 mr_bones_ Exp $
+
+ 13 Apr 2004; Michael Sterrett <mr_bones_@gentoo.org> xarchon-0.60.ebuild:
+ games eclass inherits eutils already; error check sed; use flag tidy
*xarchon-0.60 (31 Jul 2003)
diff --git a/games-strategy/xarchon/Manifest b/games-strategy/xarchon/Manifest
index 0a64c28b2c33..4cadca4d53ac 100644
--- a/games-strategy/xarchon/Manifest
+++ b/games-strategy/xarchon/Manifest
@@ -1,6 +1,6 @@
+MD5 ce0bc1e497b77c9b8bd411a6b1107290 ChangeLog 658
+MD5 0493b80cf2871a37b363da5a1d931066 xarchon-0.50.ebuild 890
+MD5 2b13ca1dfb2cdcee888d5d1150f87a6c xarchon-0.60.ebuild 1226
+MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
MD5 8bfbd70aee2831c6c7a4587cad2f6011 files/digest-xarchon-0.50 64
MD5 50a9df5dead133494d2506a91264661e files/digest-xarchon-0.60 133
-MD5 96909f86d68f1078dac86402e87e0413 ChangeLog 507
-MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
-MD5 0493b80cf2871a37b363da5a1d931066 xarchon-0.50.ebuild 890
-MD5 acacf2b0a3e809b7f10f0168d7153fdd xarchon-0.60.ebuild 1136
diff --git a/games-strategy/xarchon/xarchon-0.60.ebuild b/games-strategy/xarchon/xarchon-0.60.ebuild
index 0cde88099471..5dce5923713b 100644
--- a/games-strategy/xarchon/xarchon-0.60.ebuild
+++ b/games-strategy/xarchon/xarchon-0.60.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/xarchon/xarchon-0.60.ebuild,v 1.3 2004/02/27 03:35:39 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/xarchon/xarchon-0.60.ebuild,v 1.4 2004/04/13 10:25:44 mr_bones_ Exp $
-inherit games eutils
+inherit games
DESCRIPTION="modelled after the golden oldie Archon game"
HOMEPAGE="http://xarchon.seul.org/"
@@ -15,30 +15,34 @@ SLOT="0"
KEYWORDS="~x86 ~ppc"
IUSE="esd joystick" # also has qt support but it fails :/
-DEPEND="virtual/x11
+RDEPEND="virtual/x11
=x11-libs/gtk+-1*
<dev-util/glade-2
esd? ( media-sound/esound )"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
src_unpack() {
unpack ${A}
cd ${S}
- epatch ${WORKDIR}/${P}-gtk.patch
- sed -i 's:gtk12-config:gtk-config:' configure
+ epatch "${WORKDIR}/${P}-gtk.patch"
+ sed -i \
+ -e 's:gtk12-config:gtk-config:' configure \
+ || die "sed configure failed"
}
src_compile() {
local mysndconf
- [ `use esd` ] \
+ use esd \
&& mysndconf="--with-esd-prefix=/usr" \
|| mysndconf="--disable-sound"
egamesconf \
--enable-network \
- `use_enable joystick` \
+ $(use_enable joystick) \
--with-default-gtk \
${mysndconf} \
- || die
- emake || die
+ || die
+ emake || die "emake failed"
}
src_install() {