1 |
commit: 409741fd7cc9be0e260716068c70cff0e8756ac8 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 12 12:04:55 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 12 12:05:40 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=409741fd |
7 |
|
8 |
app-i18n/jfbterm: Modernise to EAPI 6 |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
app-i18n/jfbterm/jfbterm-0.4.7-r4.ebuild | 42 ++++++++++++++++++-------------- |
13 |
1 file changed, 24 insertions(+), 18 deletions(-) |
14 |
|
15 |
diff --git a/app-i18n/jfbterm/jfbterm-0.4.7-r4.ebuild b/app-i18n/jfbterm/jfbterm-0.4.7-r4.ebuild |
16 |
index b79f0ff20b..43d7361f0f 100644 |
17 |
--- a/app-i18n/jfbterm/jfbterm-0.4.7-r4.ebuild |
18 |
+++ b/app-i18n/jfbterm/jfbterm-0.4.7-r4.ebuild |
19 |
@@ -2,7 +2,9 @@ |
20 |
# Distributed under the terms of the GNU General Public License v2 |
21 |
# $Id$ |
22 |
|
23 |
-inherit flag-o-matic eutils autotools |
24 |
+EAPI=6 |
25 |
+ |
26 |
+inherit autotools flag-o-matic |
27 |
|
28 |
DESCRIPTION="The J Framebuffer Terminal/Multilingual Enhancement with UTF-8 support" |
29 |
HOMEPAGE="http://jfbterm.sourceforge.jp/" |
30 |
@@ -13,35 +15,39 @@ SLOT="0" |
31 |
KEYWORDS="amd64 ppc ppc64 sparc x86" |
32 |
IUSE="debug" |
33 |
|
34 |
-DEPEND=">=sys-libs/ncurses-5.6" |
35 |
-RDEPEND="media-fonts/unifont |
36 |
+DEPEND="sys-libs/ncurses:0" |
37 |
+RDEPEND=" |
38 |
+ media-fonts/unifont |
39 |
media-fonts/font-misc-misc |
40 |
media-fonts/intlfonts" |
41 |
|
42 |
-src_unpack() { |
43 |
- unpack ${A} |
44 |
- cd "${S}" |
45 |
- epatch "${FILESDIR}/${P}-sigchld-debian.patch" |
46 |
- epatch "${FILESDIR}/${P}-no-kernel-headers.patch" |
47 |
- epatch "${FILESDIR}/${P}-gentoo.patch" |
48 |
- epatch "${FILESDIR}/${P}-wrong-inline-gcc5.patch" |
49 |
+PATCHES=( |
50 |
+ "${FILESDIR}"/${P}-sigchld-debian.patch |
51 |
+ "${FILESDIR}"/${P}-no-kernel-headers.patch |
52 |
+ "${FILESDIR}"/${P}-gentoo.patch |
53 |
+ "${FILESDIR}"/${P}-wrong-inline-gcc5.patch |
54 |
+) |
55 |
|
56 |
+src_prepare() { |
57 |
+ default |
58 |
+ mv configure.{in,ac} || die |
59 |
eautoreconf |
60 |
} |
61 |
|
62 |
-src_compile() { |
63 |
- econf $(use_enable debug) || die "econf failed" |
64 |
- emake || die "emake failed" |
65 |
+src_configure() { |
66 |
+ econf $(use_enable debug) |
67 |
} |
68 |
|
69 |
src_install() { |
70 |
dodir /etc /usr/share/fonts/jfbterm |
71 |
- emake -j1 DESTDIR="${D}" install || die "emake install failed" |
72 |
+ default |
73 |
|
74 |
- mv "${D}"/etc/jfbterm.conf{.sample,} |
75 |
+ mv "${ED%/}"/etc/jfbterm.conf{.sample,} || die |
76 |
|
77 |
- doman jfbterm.1 jfbterm.conf.5 || die "doman failed" |
78 |
+ doman jfbterm.1 jfbterm.conf.5 |
79 |
|
80 |
- dodoc AUTHORS ChangeLog NEWS README* jfbterm.conf.sample* \ |
81 |
- || die "dodoc failed" |
82 |
+ # install example config files |
83 |
+ docinto examples |
84 |
+ dodoc jfbterm.conf.sample* |
85 |
+ docompress -x /usr/share/doc/${PF}/examples |
86 |
} |