1 |
commit: fc7e885bf5412e5fd096290b92dd7006a4b36521 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 21 21:50:50 2020 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 21 21:50:50 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc7e885b |
7 |
|
8 |
app-text/expander: Port to EAPI 7 |
9 |
|
10 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
11 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
12 |
|
13 |
app-text/expander/expander-2.0.5-r2.ebuild | 32 ++++++++++-------------------- |
14 |
1 file changed, 11 insertions(+), 21 deletions(-) |
15 |
|
16 |
diff --git a/app-text/expander/expander-2.0.5-r2.ebuild b/app-text/expander/expander-2.0.5-r2.ebuild |
17 |
index 1c4a5c12ffb..c1ddd2ee423 100644 |
18 |
--- a/app-text/expander/expander-2.0.5-r2.ebuild |
19 |
+++ b/app-text/expander/expander-2.0.5-r2.ebuild |
20 |
@@ -1,9 +1,9 @@ |
21 |
-# Copyright 1999-2017 Gentoo Foundation |
22 |
+# Copyright 1999-2020 Gentoo Authors |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
-EAPI=4 |
26 |
+EAPI=7 |
27 |
|
28 |
-inherit eutils toolchain-funcs |
29 |
+inherit toolchain-funcs |
30 |
|
31 |
DESCRIPTION="Expander is a utility that acts as a filter for text editors" |
32 |
HOMEPAGE="http://www.nedit.org" |
33 |
@@ -12,35 +12,25 @@ SRC_URI="ftp://ftp.nedit.org/pub/contrib/misc/nedit_expander_kit_2.05.tar.gz" |
34 |
LICENSE="GPL-2" |
35 |
SLOT="0" |
36 |
KEYWORDS="~amd64 ~x86 ~x86-linux ~ppc-macos" |
37 |
-IUSE="" |
38 |
|
39 |
-S=${WORKDIR}/${PN} |
40 |
+S="${WORKDIR}/${PN}" |
41 |
|
42 |
-src_prepare() { |
43 |
- epatch "${FILESDIR}"/${P}-gentoo.patch |
44 |
-} |
45 |
+PATCHES=( "${FILESDIR}"/${P}-gentoo.patch ) |
46 |
|
47 |
src_compile() { |
48 |
emake -C src CC=$(tc-getCC) |
49 |
} |
50 |
|
51 |
src_install() { |
52 |
- cd src |
53 |
- dobin expander boxcomment align_columns align_comments where_is |
54 |
+ dobin src/{expander,boxcomment,align_columns,align_comments,where_is} |
55 |
dosym boxcomment /usr/bin/unboxcomment |
56 |
|
57 |
- insinto /usr/share/${P} |
58 |
- doins "${S}"/service |
59 |
- for x in defs macros misc templates ; do |
60 |
- insinto /usr/share/${P}/${x} |
61 |
- doins "${S}"/${x}/* |
62 |
- done |
63 |
- |
64 |
- cd "${S}"/docs |
65 |
- doman *.1 |
66 |
+ einstalldocs |
67 |
+ dodoc USAGE |
68 |
+ doman docs/*.1 |
69 |
|
70 |
- cd "${S}" |
71 |
- dodoc ChangeLog INSTALL README USAGE |
72 |
+ insinto /usr/share/${P} |
73 |
+ doins -r service defs macros misc templates |
74 |
} |
75 |
|
76 |
pkg_postinst() { |