diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2010-06-04 06:32:45 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2010-06-04 06:32:45 +0000 |
commit | d26e611adb41446f050e648afe182cc12f4cdf7d (patch) | |
tree | 4a39bf60bc29c10c8e2ab0dbb8673b26bd8e1abe /games-roguelike/hengband | |
parent | bump passenger wrt #322105 (diff) | |
download | gentoo-2-d26e611adb41446f050e648afe182cc12f4cdf7d.tar.gz gentoo-2-d26e611adb41446f050e648afe182cc12f4cdf7d.tar.bz2 gentoo-2-d26e611adb41446f050e648afe182cc12f4cdf7d.zip |
Using eautotools. Bug #226723
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'games-roguelike/hengband')
-rw-r--r-- | games-roguelike/hengband/ChangeLog | 8 | ||||
-rw-r--r-- | games-roguelike/hengband/files/hengband-1.6.2-added_faq.patch | 12 | ||||
-rw-r--r-- | games-roguelike/hengband/hengband-1.6.2-r1.ebuild | 15 |
3 files changed, 13 insertions, 22 deletions
diff --git a/games-roguelike/hengband/ChangeLog b/games-roguelike/hengband/ChangeLog index 1fdfef70f162..601bdba7d602 100644 --- a/games-roguelike/hengband/ChangeLog +++ b/games-roguelike/hengband/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-roguelike/hengband -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-roguelike/hengband/ChangeLog,v 1.12 2008/03/13 17:50:11 wolf31o2 Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-roguelike/hengband/ChangeLog,v 1.13 2010/06/04 06:32:45 tupone Exp $ + + 04 Jun 2010; Tupone Alfredo <tupone@gentoo.org> hengband-1.6.2-r1.ebuild, + files/hengband-1.6.2-added_faq.patch: + Using eautotools. Bug #226723 by flameeyes@gentoo.org 13 Mar 2008; Chris Gianelloni <wolf31o2@gentoo.org> hengband-1.6.2-r1.ebuild: diff --git a/games-roguelike/hengband/files/hengband-1.6.2-added_faq.patch b/games-roguelike/hengband/files/hengband-1.6.2-added_faq.patch index f036e4550266..0e75022145cb 100644 --- a/games-roguelike/hengband/files/hengband-1.6.2-added_faq.patch +++ b/games-roguelike/hengband/files/hengband-1.6.2-added_faq.patch @@ -161,15 +161,3 @@ diff -Naur hengband-1.6.2-orig/lib/help/Makefile.am hengband-1.6.2-fixed/lib/hel general.hlp general.txt help.hlp helpinfo.txt \ j_general.txt j_item1.txt j_item2.txt j_trans.txt \ jattack.hlp jattack.txt jbirth.hlp jbirth.txt \ -diff -Naur hengband-1.6.2-orig/lib/help/Makefile.in hengband-1.6.2-fixed/lib/help/Makefile.in ---- hengband-1.6.2-orig/lib/help/Makefile.in 2004-07-12 10:54:14.000000000 +0400 -+++ hengband-1.6.2-fixed/lib/help/Makefile.in 2005-11-22 12:01:06.000000000 +0300 -@@ -64,7 +64,7 @@ - PACKAGE = @PACKAGE@ - VERSION = @VERSION@ - --angband_files = attack.hlp attack.txt birth.hlp birth.txt bldg.txt raceclas.hlp raceclas.txt command.hlp command.txt commdesc.hlp commdesc.txt defend.hlp defend.txt dungeon.hlp dungeon.txt gambling.txt general.hlp general.txt help.hlp helpinfo.txt j_general.txt j_item1.txt j_item2.txt j_trans.txt jattack.hlp jattack.txt jbirth.hlp jbirth.txt jbldg.txt jraceclas.hlp jraceclas.txt jcommand.hlp jcommand.txt jcommdesc.hlp jcommdesc.txt jdefend.hlp jdefend.txt jdungeon.hlp jdungeon.txt jgambling.txt jgeneral.hlp jgeneral.txt jhelp.hlp jhelpinfo.txt jlicense.txt jmagic.hlp jmagic.txt jmonster.hlp jmonster.txt jobjects.hlp jobjects.txt joption.hlp joption.txt jpref.hlp jpref.txt jspecial.hlp jtang.txt jtown.hlp jtown.txt jversion.txt magic.hlp magic.txt monster.hlp monster.txt objects.hlp objects.txt option.hlp option.txt pref.hlp pref.txt tang.txt town.hlp town.txt version.txt -+angband_files = attack.hlp attack.txt birth.hlp birth.txt bldg.txt raceclas.hlp raceclas.txt command.hlp command.txt commdesc.hlp commdesc.txt defend.hlp defend.txt dungeon.hlp dungeon.txt faq.txt gambling.txt general.hlp general.txt help.hlp helpinfo.txt j_general.txt j_item1.txt j_item2.txt j_trans.txt jattack.hlp jattack.txt jbirth.hlp jbirth.txt jbldg.txt jraceclas.hlp jraceclas.txt jcommand.hlp jcommand.txt jcommdesc.hlp jcommdesc.txt jdefend.hlp jdefend.txt jdungeon.hlp jdungeon.txt jgambling.txt jgeneral.hlp jgeneral.txt jhelp.hlp jhelpinfo.txt jlicense.txt jmagic.hlp jmagic.txt jmonster.hlp jmonster.txt jobjects.hlp jobjects.txt joption.hlp joption.txt jpref.hlp jpref.txt jspecial.hlp jtang.txt jtown.hlp jtown.txt jversion.txt magic.hlp magic.txt monster.hlp monster.txt objects.hlp objects.txt option.hlp option.txt pref.hlp pref.txt tang.txt town.hlp town.txt version.txt - - - EXTRA_DIST = $(angband_files) diff --git a/games-roguelike/hengband/hengband-1.6.2-r1.ebuild b/games-roguelike/hengband/hengband-1.6.2-r1.ebuild index 630a7deb95d9..997d3733f13f 100644 --- a/games-roguelike/hengband/hengband-1.6.2-r1.ebuild +++ b/games-roguelike/hengband/hengband-1.6.2-r1.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2008 Gentoo Foundation +# 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.3 2008/03/13 17:50:11 wolf31o2 Exp $ +# $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" -inherit toolchain-funcs eutils games +inherit toolchain-funcs eutils autotools games DESCRIPTION="An Angband variant, with a Japanese/fantasy theme" HOMEPAGE="http://hengband.sourceforge.jp/en/" @@ -19,9 +20,7 @@ RDEPEND=">=sys-libs/ncurses-5 DEPEND="${RDEPEND} X? ( x11-libs/libXt )" -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { # Removing Xaw dependency as is not used sed -i \ -e '/Xaw/d' src/main-xaw.c \ @@ -34,9 +33,10 @@ src_unpack() { || die "sed configure failed" epatch "../${P}"-mispellings.patch \ "${FILESDIR}/${P}"-added_faq.patch + eautoreconf } -src_compile() { +src_configure() { local myconf use linguas_ja || myconf="--disable-japanese" @@ -46,7 +46,6 @@ src_compile() { `use_with X x` \ ${myconf} \ || die - emake || die "emake failed" } src_install() { |