summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2010-10-13 23:46:42 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2010-10-13 23:46:42 +0000
commit26a2c92c64873de7f334b4174da5513093b4b19c (patch)
tree6589efbe6d884a563e41ef5e3d79f91b86ca1e26 /games-roguelike
parenttidy; honor CFLAGS and CC; install desktop files (diff)
downloadhistorical-26a2c92c64873de7f334b4174da5513093b4b19c.tar.gz
historical-26a2c92c64873de7f334b4174da5513093b4b19c.tar.bz2
historical-26a2c92c64873de7f334b4174da5513093b4b19c.zip
tidy
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'games-roguelike')
-rw-r--r--games-roguelike/hengband/Manifest2
-rw-r--r--games-roguelike/hengband/hengband-1.6.2-r1.ebuild21
2 files changed, 11 insertions, 12 deletions
diff --git a/games-roguelike/hengband/Manifest b/games-roguelike/hengband/Manifest
index 3f8d84b40e2a..7de66c466c0e 100644
--- a/games-roguelike/hengband/Manifest
+++ b/games-roguelike/hengband/Manifest
@@ -1,6 +1,6 @@
AUX hengband-1.6.2-added_faq.patch 6371 RMD160 79b0d9cf093f3e47faa33723f7a7126f25d9013d SHA1 0dd83b4708c4728eeb4641247bb56fff2d82b902 SHA256 0c8c47e686575791f02432267d9d96d8d4a6d2869cb7cd3a2b49a53cc97b6150
DIST hengband-1.6.2-mispellings.patch.gz 11964 RMD160 b20a9106b9823de38cf411cca7fd31d7d1f52915 SHA1 304ddf386bf91b644cc81019443399974601a6cf SHA256 68139e72091e12614124bee63f5700f36a560573e98a541974836fa61a12f08d
DIST hengband-1.6.2.tar.bz2 2029169 RMD160 59f41666dd1724f03739d5fa078e537467dbf36e SHA1 32156fe9363309ba75273d6c8ebb8f2043c97129 SHA256 72f1c8dd9365127ccd155b786d2828a19bbd0311a9d62d07bd16a22600c385b4
-EBUILD hengband-1.6.2-r1.ebuild 1621 RMD160 7e45cb615e36c0717690c2ab2b3d43fcfad1f55d SHA1 f93754d70b221095c4de6f3c0f9f949e07cb5a8d SHA256 22944c8773a7fc752b361b0a874ec6d75fe2abbee7c2a548a8d8f5fbbf3c0d35
+EBUILD hengband-1.6.2-r1.ebuild 1513 RMD160 82a9963a4454158bec3d7a8a1342f66c0da8f4bd SHA1 175fb0dfdce505f128f85f33d14344a5e83ce863 SHA256 fc677b755e99641cf821902cc0176998233f107b08ae3f6f3be5492d5535f6df
MISC ChangeLog 1926 RMD160 1ddfffdce9aef54fb472ac74a4258af1317d1234 SHA1 da955baa66042da030eb6a9a06bf110ac968a725 SHA256 fe6aeaa50e9f1f88da15df9ec59346bb1058f6653fbc1f58feb45a59ea51d246
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
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() {