summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2008-06-07 20:48:05 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2008-06-07 20:48:05 +0000
commitc3b16ac316827d4a61d40cddb6f409cd7a687baf (patch)
treefb1cd02afb7006ad9179c3a67a5c037b649356ef /app-emulation/frodo
parentLet's quote properly. (diff)
downloadgentoo-2-c3b16ac316827d4a61d40cddb6f409cd7a687baf.tar.gz
gentoo-2-c3b16ac316827d4a61d40cddb6f409cd7a687baf.tar.bz2
gentoo-2-c3b16ac316827d4a61d40cddb6f409cd7a687baf.zip
Fix autotools handling, use eautoreconf as the ebuild is inheriting autotools.eclass. Patch during unpack phase, not compile.
(Portage version: 2.1.5.4)
Diffstat (limited to 'app-emulation/frodo')
-rw-r--r--app-emulation/frodo/ChangeLog8
-rw-r--r--app-emulation/frodo/frodo-4.1b.ebuild30
2 files changed, 24 insertions, 14 deletions
diff --git a/app-emulation/frodo/ChangeLog b/app-emulation/frodo/ChangeLog
index 4bdd91b45ab0..9fcd1d1aae5c 100644
--- a/app-emulation/frodo/ChangeLog
+++ b/app-emulation/frodo/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-emulation/frodo
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/frodo/ChangeLog,v 1.10 2007/05/13 18:28:44 bangert Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/frodo/ChangeLog,v 1.11 2008/06/07 20:48:05 flameeyes Exp $
+
+ 07 Jun 2008; Diego Pettenò <flameeyes@gentoo.org> frodo-4.1b.ebuild:
+ Fix autotools handling, use eautoreconf as the ebuild is inheriting
+ autotools.eclass. Patch during unpack phase, not compile.
13 May 2007; Thilo Bangert <bangert@gentoo.org> metadata.xml:
add <herd>no-herd</herd>
diff --git a/app-emulation/frodo/frodo-4.1b.ebuild b/app-emulation/frodo/frodo-4.1b.ebuild
index be81f8dd910d..d1525418d4b9 100644
--- a/app-emulation/frodo/frodo-4.1b.ebuild
+++ b/app-emulation/frodo/frodo-4.1b.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/frodo/frodo-4.1b.ebuild,v 1.2 2007/01/25 22:04:26 genone Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/frodo/frodo-4.1b.ebuild,v 1.3 2008/06/07 20:48:05 flameeyes Exp $
WANT_AUTOCONF="2.5"
WANT_AUTOMAKE="latest"
@@ -20,22 +20,28 @@ RDEPEND=">=media-libs/libsdl-1.2
dev-lang/tcl
dev-lang/tk"
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}"
+ mv TkGui.tcl Src
+
+ cd "${S}"/Src
+ epatch "${FILESDIR}"/${P}-gentoo.diff
+
+ eautoreconf
+}
+
src_compile() {
- cd ${S}
append-flags "-DX_USE_SHM"
- mv TkGui.tcl ${S}/Src
- cd ${S}/Src
- epatch ${FILESDIR}/${P}-gentoo.diff
- rm configure
- autoconf
econf || die
emake || die "emake failed"
}
src_install() {
- cd ${S}/Src
+ cd "${S}"/Src
dobin Frodo FrodoPC FrodoSC TkGui.tcl
- cd ${S}
+ cd "${S}"
dodir /usr/share/${PN}
insinto /usr/share/${PN}
doins \
@@ -44,7 +50,7 @@ src_install() {
"Char ROM" \
"Kernal ROM"
dodir /usr/share/${PN}/64prgs
- cd ${S}/64prgs
+ cd "${S}"/64prgs
insinto /usr/share/${PN}/64prgs
doins \
3fff \
@@ -59,7 +65,7 @@ src_install() {
stretch \
tech-tech \
text26
- dohtml -r ${S}/Docs/*.html
+ dohtml -r "${S}"/Docs/*.html
}
pkg_postinst() {