From 9f3e6bedb261a2c7f231d37992e1846414ab8ee4 Mon Sep 17 00:00:00 2001 From: Michael Sterrett Date: Wed, 13 Oct 2010 23:46:42 +0000 Subject: tidy (Portage version: 2.1.8.3/cvs/Linux i686) --- games-roguelike/hengband/hengband-1.6.2-r1.ebuild | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'games-roguelike/hengband') diff --git a/games-roguelike/hengband/hengband-1.6.2-r1.ebuild b/games-roguelike/hengband/hengband-1.6.2-r1.ebuild index 997d3733f13f..b4bccb76a60c 100644 --- a/games-roguelike/hengband/hengband-1.6.2-r1.ebuild +++ b/games-roguelike/hengband/hengband-1.6.2-r1.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-roguelike/hengband/hengband-1.6.2-r1.ebuild,v 1.4 2010/06/04 06:32:45 tupone Exp $ -EAPI="2" +# $Header: /var/cvsroot/gentoo-x86/games-roguelike/hengband/hengband-1.6.2-r1.ebuild,v 1.5 2010/10/13 23:46:42 mr_bones_ Exp $ -inherit toolchain-funcs eutils autotools games +EAPI=2 +inherit eutils autotools games DESCRIPTION="An Angband variant, with a Japanese/fantasy theme" HOMEPAGE="http://hengband.sourceforge.jp/en/" @@ -24,14 +24,15 @@ src_prepare() { # Removing Xaw dependency as is not used sed -i \ -e '/Xaw/d' src/main-xaw.c \ - || die "sed main-xaw failed" + || die sed -i \ -e 's|root\.|root:|' lib/*/Makefile.in \ - || die "sed Makefile.in failed" + || die sed -i \ -e 's:/games/:/:g' configure \ - || die "sed configure failed" - epatch "../${P}"-mispellings.patch \ + || die + epatch \ + "../${P}"-mispellings.patch \ "${FILESDIR}/${P}"-added_faq.patch eautoreconf } @@ -40,12 +41,10 @@ src_configure() { local myconf use linguas_ja || myconf="--disable-japanese" - tc-export CC egamesconf \ --with-setgid=${GAMES_GROUP} \ - `use_with X x` \ - ${myconf} \ - || die + $(use_with X x) \ + ${myconf} } src_install() { -- cgit v1.2.3-65-gdbad