summaryrefslogtreecommitdiff
path: root/app-text/pinfo
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/pinfo')
-rw-r--r--app-text/pinfo/Manifest4
-rw-r--r--app-text/pinfo/pinfo-0.6.13.ebuild (renamed from app-text/pinfo/pinfo-0.6.10-r6.ebuild)25
-rw-r--r--app-text/pinfo/pinfo-99999.ebuild49
3 files changed, 59 insertions, 19 deletions
diff --git a/app-text/pinfo/Manifest b/app-text/pinfo/Manifest
index b7d626b1bc71..06d50996d1a8 100644
--- a/app-text/pinfo/Manifest
+++ b/app-text/pinfo/Manifest
@@ -11,7 +11,9 @@ AUX pinfo-0.6.9-GROFF_NO_SGR.patch 259 BLAKE2B a49a7addbf822436bc5cb8cf2da9964ec
AUX pinfo-0.6.9-as-needed.patch 457 BLAKE2B 5e104b202a66c377cad570d3427043fe8273e6c907738283ed596185852cfb5713d430250d2ae83b11d7708139fa7f2dd962add064c3e3c96fe6112359faee26 SHA512 c4b23c4f273b35d2594af81ee4bf9aca60cd5208f1c3ab4a084805a63fdecc8bb7f2a7ee6118130ba691e3fa17e79f2671a90b7bc0af7e3cccaf12d2baecfe7f
AUX pinfo-0.6.9-lzma-xz.patch 614 BLAKE2B 0b84247de91a42f75d0664f4ccab23e3d57bc66f6af2444e8b9dee2c0e6edb5afad1d467725507c9618947463cdd2f221024c7feb387282ebafcb6bc62741c89 SHA512 8e3ec8a98347c061826cc913c09fd2177d0f8625947c319b527e85d5ae3dcbf7dafb34b5f4a5e2fc9639bcc4db45afdea7dda6db6a88001e1c6a3994b4847ae4
DIST pinfo-0.6.10.tar.bz2 133059 BLAKE2B aaac23583510f42ac8a0c71a380f2bc76c4db6d78518bb4d5399c100bf0aec291c869576b18313e00f8572610cb967c3acb5f8d643c48f1295fd2efa8e16e3e6 SHA512 d3aeb93a668b939a2be7dd397ef5c918a8d108a1a7613ce39d4ef2faafbd549582a35d95c74c1dc74f4c86c9f2bf09b7bca7b5006c5a79302403dd906e8d376e
+DIST pinfo-0.6.13.tar.gz 157103 BLAKE2B 18af4a5ae1bbd2abccb174ce1a3a16e4d17207a10015042723c58f80695c2580ca0c1c60f4f6f4f08e67eb01316fe48cd848a887e65159a6cd4463eca14bdecd SHA512 739e24821a363a087fb9df5651694f051286d4a15c3e51f2421a2aa60b1efe1da558b959ba22a0094e22854534ea5875498156e8ea2e198e31001aecab1a18df
EBUILD pinfo-0.6.10-r5.ebuild 1327 BLAKE2B fa65a2d59989d50982921aaf64b2f7e98fb3c4ea82e2c1537656d30159d44a29df0ffb0c8034dbabcfb4b82386bf15b7f4ccf86f5fcfb577eaa667cab7ee22b2 SHA512 f5132c2d41aba6c9cc41076571d70266db613f28ce63c1c3d3b3902c011d3860004cd910280527090b72c97a7735928ae2c3e8f85f96139134bf847d6ec624ba
-EBUILD pinfo-0.6.10-r6.ebuild 1435 BLAKE2B 59de9ee6051e3f30ae317dceaf6a2b630656086c1f25b143e5a3bdf4753bac68f8bbf71d1f0e9007a51b09bcc15705454c6fb37e06c180616e4f16ebeb39757a SHA512 6be7bf185352819df93a606b38bf73629c7c1a332667dcb89ca5148dfc2ae503310302f9d35560af1862e3651a62befecb2a58b7822b8e64bfa90528c9e60d3c
EBUILD pinfo-0.6.10-r7.ebuild 1440 BLAKE2B 1a52c7a2f04d51b7788233a0b0e4f4ff3367a798abdfe2c1c949655431652e1fffccc0b8c582143f596e44d4753a1e67d9b19a3b2f4ed5442260556015260990 SHA512 001351b50d182fea1772686449629ceb9946625f0d13d1f13219938ef0a3dfaaeb142d3fa7d8dd3dd1f28cb359da3a526d76654875cc6c62bf39451f1b6ca431
+EBUILD pinfo-0.6.13.ebuild 975 BLAKE2B 22338c9bfd712b43760ff67e1a987a5266175fc8d6656941acef4d16f9029502f02157cd69a3f476fbc434b0cc6c89f466b6a15ee94271c63cc6835e1d428aa3 SHA512 ec1b0bd68a7ff1506e00ca1c26be1233bf71b3200ffb3d1c3c4a60701517cd9b08dc22e857e2a8447aae58c8044dc5a6033eb45f7c77424711db5e7f84a448b4
+EBUILD pinfo-99999.ebuild 886 BLAKE2B 52c3d54f248446df82c34f49a4ed73ea3cd6dfebac907a7624a9eab847234b997ee1b24d3367ba1e0426ed6e2ac7173a95b35d4aca18f7d2b597bdee45197c83 SHA512 87561fef7173dfd86f36edd55ce92d1afb70d995d589b25dc889e0bee9a48116a1eda7f4673e3d47dbb466052b45e1252af255e43d7551417ffcf00feef0e91c
MISC metadata.xml 214 BLAKE2B 2714d2d15a382508ac07f9e3cf3c042bbba715d1a3f679a37d45fb68cbb7931bffe3479e8a9c3ef61c0f76d1b5822f9696d203ed0153a2e713865cce16ed2403 SHA512 6bd18312d33fe28edbaf93fa559dab76a4eb813f37bf3accccd113e111507617827f4423e81f6448edc51245f86c73a5b1d65c0a9310c3aa1d1b910597303fc1
diff --git a/app-text/pinfo/pinfo-0.6.10-r6.ebuild b/app-text/pinfo/pinfo-0.6.13.ebuild
index 244a97c87c72..7ea70501a526 100644
--- a/app-text/pinfo/pinfo-0.6.10-r6.ebuild
+++ b/app-text/pinfo/pinfo-0.6.13.ebuild
@@ -1,12 +1,12 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-inherit autotools eutils flag-o-matic
+EAPI=7
+inherit autotools flag-o-matic
DESCRIPTION="Hypertext info and man viewer based on (n)curses"
-HOMEPAGE="http://pinfo.alioth.debian.org/"
-SRC_URI="https://alioth.debian.org/frs/download.php/3351/${P}.tar.bz2"
+HOMEPAGE="https://github.com/baszoetekouw/pinfo"
+SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
@@ -27,34 +27,23 @@ DEPEND="
nls? ( sys-devel/gettext )
"
PATCHES=(
- "${FILESDIR}"/${PN}-0.6.9-as-needed.patch
"${FILESDIR}"/${PN}-0.6.9-GROFF_NO_SGR.patch
"${FILESDIR}"/${PN}-0.6.9-lzma-xz.patch
- "${FILESDIR}"/${PN}-0.6.10-version.patch
- "${FILESDIR}"/${PN}-0.6.10-info-suffix.patch
- "${FILESDIR}"/${PN}-0.6.10-dir-file.patch
- "${FILESDIR}"/${PN}-0.6.10-tinfo.patch
- "${FILESDIR}"/${PN}-0.6.10-gettext-0.19.patch
- "${FILESDIR}"/${PN}-0.6.10-ncurses-check.patch
- "${FILESDIR}"/${PN}-0.6.10-libc-basename.patch
- "${FILESDIR}"/${PN}-0.6.10-clearfilenameprefix.patch
- "${FILESDIR}"/${PN}-0.6.10-gcc-7-inline.patch
)
src_prepare() {
default
-
eautoreconf
-
- append-cflags -D_BSD_SOURCE -D_DEFAULT_SOURCE # sbrk()
}
src_configure() {
+ append-cflags -D_BSD_SOURCE -D_DEFAULT_SOURCE # sbrk()
+
econf \
$(use_with readline) \
$(use_enable nls)
}
src_install() {
- emake DESTDIR="${D}" sysconfdir=/etc install
+ emake DESTDIR="${D}" sysconfdir="${EPREFIX}/etc" install
}
diff --git a/app-text/pinfo/pinfo-99999.ebuild b/app-text/pinfo/pinfo-99999.ebuild
new file mode 100644
index 000000000000..961b78a24b48
--- /dev/null
+++ b/app-text/pinfo/pinfo-99999.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit autotools flag-o-matic git-r3
+
+DESCRIPTION="Hypertext info and man viewer based on (n)curses"
+HOMEPAGE="https://github.com/baszoetekouw/pinfo"
+EGIT_REPO_URI="${HOMEPAGE}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE="nls readline"
+
+RDEPEND="
+ sys-libs/ncurses:0=
+ sys-libs/readline:0=
+ nls? ( virtual/libintl )
+"
+
+DEPEND="
+ ${RDEPEND}
+ sys-apps/texinfo
+ sys-devel/bison
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )
+"
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.6.9-GROFF_NO_SGR.patch
+ "${FILESDIR}"/${PN}-0.6.9-lzma-xz.patch
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ append-cflags -D_BSD_SOURCE -D_DEFAULT_SOURCE # sbrk()
+
+ econf \
+ $(use_with readline) \
+ $(use_enable nls)
+}
+
+src_install() {
+ emake DESTDIR="${D}" sysconfdir="${EPREFIX}/etc" install
+}