Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/pinfo/
Date: Thu, 18 Apr 2019 09:57:55
Message-Id: 1555581466.640f885229a49db79dc43aa094d168b803765a0a.jer@gentoo
1 commit: 640f885229a49db79dc43aa094d168b803765a0a
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 18 09:56:51 2019 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 18 09:57:46 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=640f8852
7
8 app-text/pinfo: Version 0.6.13
9
10 Package-Manager: Portage-2.3.63, Repoman-2.3.12
11 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
12
13 app-text/pinfo/Manifest | 1 +
14 app-text/pinfo/pinfo-0.6.13.ebuild | 49 ++++++++++++++++++++++++++++++++++++++
15 2 files changed, 50 insertions(+)
16
17 diff --git a/app-text/pinfo/Manifest b/app-text/pinfo/Manifest
18 index 7b4a67ec27e..f6fcb600816 100644
19 --- a/app-text/pinfo/Manifest
20 +++ b/app-text/pinfo/Manifest
21 @@ -1 +1,2 @@
22 DIST pinfo-0.6.10.tar.bz2 133059 BLAKE2B aaac23583510f42ac8a0c71a380f2bc76c4db6d78518bb4d5399c100bf0aec291c869576b18313e00f8572610cb967c3acb5f8d643c48f1295fd2efa8e16e3e6 SHA512 d3aeb93a668b939a2be7dd397ef5c918a8d108a1a7613ce39d4ef2faafbd549582a35d95c74c1dc74f4c86c9f2bf09b7bca7b5006c5a79302403dd906e8d376e
23 +DIST pinfo-0.6.13.tar.gz 157103 BLAKE2B 18af4a5ae1bbd2abccb174ce1a3a16e4d17207a10015042723c58f80695c2580ca0c1c60f4f6f4f08e67eb01316fe48cd848a887e65159a6cd4463eca14bdecd SHA512 739e24821a363a087fb9df5651694f051286d4a15c3e51f2421a2aa60b1efe1da558b959ba22a0094e22854534ea5875498156e8ea2e198e31001aecab1a18df
24
25 diff --git a/app-text/pinfo/pinfo-0.6.13.ebuild b/app-text/pinfo/pinfo-0.6.13.ebuild
26 new file mode 100644
27 index 00000000000..7ea70501a52
28 --- /dev/null
29 +++ b/app-text/pinfo/pinfo-0.6.13.ebuild
30 @@ -0,0 +1,49 @@
31 +# Copyright 1999-2019 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +inherit autotools flag-o-matic
36 +
37 +DESCRIPTION="Hypertext info and man viewer based on (n)curses"
38 +HOMEPAGE="https://github.com/baszoetekouw/pinfo"
39 +SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
40 +
41 +LICENSE="GPL-2"
42 +SLOT="0"
43 +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
44 +IUSE="nls readline"
45 +
46 +RDEPEND="
47 + sys-libs/ncurses:0=
48 + sys-libs/readline:0=
49 + nls? ( virtual/libintl )
50 +"
51 +
52 +DEPEND="
53 + ${RDEPEND}
54 + sys-apps/texinfo
55 + sys-devel/bison
56 + virtual/pkgconfig
57 + nls? ( sys-devel/gettext )
58 +"
59 +PATCHES=(
60 + "${FILESDIR}"/${PN}-0.6.9-GROFF_NO_SGR.patch
61 + "${FILESDIR}"/${PN}-0.6.9-lzma-xz.patch
62 +)
63 +
64 +src_prepare() {
65 + default
66 + eautoreconf
67 +}
68 +
69 +src_configure() {
70 + append-cflags -D_BSD_SOURCE -D_DEFAULT_SOURCE # sbrk()
71 +
72 + econf \
73 + $(use_with readline) \
74 + $(use_enable nls)
75 +}
76 +
77 +src_install() {
78 + emake DESTDIR="${D}" sysconfdir="${EPREFIX}/etc" install
79 +}