From 2b1ac550334c6a0d5ef161f54731c3bf929f05db Mon Sep 17 00:00:00 2001 From: Agostino Sarubbo Date: Mon, 17 Sep 2012 11:39:00 +0000 Subject: Respect CC, cleanup (Portage version: 2.1.11.9/cvs/Linux x86_64) --- app-editors/aee/ChangeLog | 8 +++++--- app-editors/aee/aee-2.2.15b.ebuild | 18 ++++++++++-------- 2 files changed, 15 insertions(+), 11 deletions(-) (limited to 'app-editors/aee') 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 aee-2.2.15b.ebuild: + Respect CC, cleanup 23 Aug 2011; Akinori Hattori aee-2.2.15b.ebuild, files/aee-ae-location.diff: @@ -14,4 +17,3 @@ 20 Jan 2011; Akinori Hattori +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 -- cgit v1.2.3-65-gdbad