1 |
commit: 191af3b26934841e5e52ef175beda2804cf73872 |
2 |
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 8 09:52:07 2017 +0000 |
4 |
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 8 09:56:34 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=191af3b2 |
7 |
|
8 |
app-editors/ee: update to EAPI 6 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.1 |
11 |
|
12 |
app-editors/ee/ee-1.5.2.ebuild | 17 ++++++++++------- |
13 |
1 file changed, 10 insertions(+), 7 deletions(-) |
14 |
|
15 |
diff --git a/app-editors/ee/ee-1.5.2.ebuild b/app-editors/ee/ee-1.5.2.ebuild |
16 |
index 1af312e8139..250c1e87c8a 100644 |
17 |
--- a/app-editors/ee/ee-1.5.2.ebuild |
18 |
+++ b/app-editors/ee/ee-1.5.2.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. A subset of aee" |
30 |
#HOMEPAGE="http://mahon.cwx.net/ http://www.users.uswest.net/~hmahon/" |
31 |
@@ -18,9 +18,10 @@ IUSE="" |
32 |
RDEPEND="!app-editors/ersatz-emacs" |
33 |
S="${WORKDIR}/easyedit-${PV}" |
34 |
|
35 |
-src_prepare() { |
36 |
- epatch "${FILESDIR}"/${PN}-init-location.patch |
37 |
+PATCHES=( "${FILESDIR}"/${PN}-init-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 "/^buildee/s/$/ localmake/" \ |
44 |
@@ -31,6 +32,8 @@ src_prepare() { |
45 |
-e "/CFLAGS =/s/\" >/ \\\\\$(LDFLAGS)\" >/" \ |
46 |
-e "/other_cflag/s/ *-s//" \ |
47 |
create.make |
48 |
+ |
49 |
+ default |
50 |
} |
51 |
|
52 |
src_compile() { |
53 |
@@ -38,8 +41,8 @@ src_compile() { |
54 |
} |
55 |
|
56 |
src_install() { |
57 |
- dobin ee |
58 |
- doman ee.1 |
59 |
- dodoc Changes README.ee ee.i18n.guide ee.msg |
60 |
+ dobin ${PN} |
61 |
+ doman ${PN}.1 |
62 |
+ einstalldocs |
63 |
keepdir /usr/share/${PN} |
64 |
} |