1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 inherit autotools flag-o-matic git-r3
7 DESCRIPTION="Hypertext info and man viewer based on (n)curses"
8 HOMEPAGE="https://github.com/baszoetekouw/pinfo"
9 EGIT_REPO_URI="https://github.com/baszoetekouw/pinfo.git"
19 nls? ( virtual/libintl )
27 nls? ( sys-devel/gettext )
30 "${FILESDIR}"/${PN}-0.6.9-GROFF_NO_SGR.patch
31 "${FILESDIR}"/${PN}-0.6.9-lzma-xz.patch
32 "${FILESDIR}"/${PN}-0.6.13-fno-common.patch
41 append-cflags -D_BSD_SOURCE -D_DEFAULT_SOURCE # sbrk()
44 $(use_with readline) \
49 emake DESTDIR="${D}" sysconfdir="${EPREFIX}/etc" install