summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-editors/aee/ChangeLog8
-rw-r--r--app-editors/aee/aee-2.2.15b.ebuild18
2 files changed, 15 insertions, 11 deletions
diff --git a/app-editors/aee/ChangeLog b/app-editors/aee/ChangeLog
index 04455e756391..9bf80df3e455 100644
--- a/app-editors/aee/ChangeLog
+++ b/app-editors/aee/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-editors/aee
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/aee/ChangeLog,v 1.3 2011/08/23 12:33:28 hattya Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-editors/aee/ChangeLog,v 1.4 2012/09/17 11:39:00 ago Exp $
+
+ 17 Sep 2012; Agostino Sarubbo <ago@gentoo.org> aee-2.2.15b.ebuild:
+ Respect CC, cleanup
23 Aug 2011; Akinori Hattori <hattya@gentoo.org> aee-2.2.15b.ebuild,
files/aee-ae-location.diff:
@@ -14,4 +17,3 @@
20 Jan 2011; Akinori Hattori <hattya@gentoo.org> +aee-2.2.15b.ebuild,
+files/aee-ae-location.diff, +metadata.xml:
initial revision.
-
diff --git a/app-editors/aee/aee-2.2.15b.ebuild b/app-editors/aee/aee-2.2.15b.ebuild
index 15989f9dfed7..84a440d5210c 100644
--- a/app-editors/aee/aee-2.2.15b.ebuild
+++ b/app-editors/aee/aee-2.2.15b.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/aee/aee-2.2.15b.ebuild,v 1.3 2011/08/23 12:33:28 hattya Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/aee/aee-2.2.15b.ebuild,v 1.4 2012/09/17 11:39:00 ago Exp $
EAPI="4"
@@ -25,13 +25,15 @@ src_prepare() {
-e "s/make -/\$(MAKE) -/g" \
-e "/^buildaee/s/$/ localaee/" \
-e "/^buildxae/s/$/ localxae/" \
- Makefile
+ Makefile || die
sed -i \
-e "s/\([\t ]\)cc /\1\\\\\$(CC) /" \
-e "/CFLAGS =/s/\" >/ \\\\\$(LDFLAGS)\" >/" \
-e "/other_cflag/s/ \${strip_option}//" \
- create.mk.{aee,xae}
+ create.mk.{aee,xae} || die
+
+ tc-export CC
}
src_compile() {
@@ -42,10 +44,10 @@ src_compile() {
}
src_install() {
- dobin aee
- dosym aee /usr/bin/rae
- doman aee.1
- dodoc Changes README.aee aee.i18n.guide aee.msg
+ dobin ${PN}
+ dosym ${PN} /usr/bin/rae
+ doman ${PN}.1
+ dodoc Changes README.${PN} ${PN}.i18n.guide ${PN}.msg
insinto /usr/share/${PN}
doins help.ae