1 |
commit: 0ae1e3f61e2bbb3fb4b5757608271bc6f72be986 |
2 |
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 9 13:22:29 2017 +0000 |
4 |
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 9 13:22:29 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ae1e3f6 |
7 |
|
8 |
app-editors/aee: update to EAPI 6 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.1 |
11 |
|
12 |
app-editors/aee/aee-2.2.15b.ebuild | 19 ++++++++++--------- |
13 |
1 file changed, 10 insertions(+), 9 deletions(-) |
14 |
|
15 |
diff --git a/app-editors/aee/aee-2.2.15b.ebuild b/app-editors/aee/aee-2.2.15b.ebuild |
16 |
index 7d50170e51a..3610053fa69 100644 |
17 |
--- a/app-editors/aee/aee-2.2.15b.ebuild |
18 |
+++ b/app-editors/aee/aee-2.2.15b.ebuild |
19 |
@@ -1,9 +1,9 @@ |
20 |
# Copyright 1999-2017 Gentoo Foundation |
21 |
# Distributed under the terms of the GNU General Public License v2 |
22 |
|
23 |
-EAPI="4" |
24 |
+EAPI="6" |
25 |
|
26 |
-inherit eutils toolchain-funcs |
27 |
+inherit toolchain-funcs |
28 |
|
29 |
DESCRIPTION="An easy to use text editor" |
30 |
#HOMEPAGE="http://mahon.cwx.net/ http://www.users.uswest.net/~hmahon/" |
31 |
@@ -18,36 +18,37 @@ IUSE="X" |
32 |
RDEPEND="X? ( x11-libs/libX11 )" |
33 |
DEPEND="${RDEPEND}" |
34 |
|
35 |
-src_prepare() { |
36 |
- epatch "${FILESDIR}"/${P}-ae-location.patch |
37 |
+PATCHES=( "${FILESDIR}"/${P}-ae-location.patch ) |
38 |
+DOCS=( Changes README.${PN} ${PN}.i18n.guide ${PN}.msg ) |
39 |
|
40 |
+src_prepare() { |
41 |
sed -i \ |
42 |
-e "s/make -/\$(MAKE) -/g" \ |
43 |
-e "/^buildaee/s/$/ localaee/" \ |
44 |
-e "/^buildxae/s/$/ localxae/" \ |
45 |
- Makefile || die |
46 |
+ Makefile |
47 |
|
48 |
sed -i \ |
49 |
-e "s/\([\t ]\)cc /\1\\\\\$(CC) /" \ |
50 |
-e "/CFLAGS =/s/\" >/ \\\\\$(LDFLAGS)\" >/" \ |
51 |
-e "/other_cflag/s/ \${strip_option}//" \ |
52 |
- create.mk.{aee,xae} || die |
53 |
+ create.mk.{aee,xae} |
54 |
|
55 |
- tc-export CC |
56 |
+ default |
57 |
} |
58 |
|
59 |
src_compile() { |
60 |
local target="aee" |
61 |
use X && target="both" |
62 |
|
63 |
- emake ${target} |
64 |
+ emake CC="$(tc-getCC)" ${target} |
65 |
} |
66 |
|
67 |
src_install() { |
68 |
dobin ${PN} |
69 |
dosym ${PN} /usr/bin/rae |
70 |
doman ${PN}.1 |
71 |
- dodoc Changes README.${PN} ${PN}.i18n.guide ${PN}.msg |
72 |
+ einstalldocs |
73 |
|
74 |
insinto /usr/share/${PN} |
75 |
doins help.ae |