From 30d023ace822899963eef7f451250ed45d99fbc7 Mon Sep 17 00:00:00 2001 From: Guilherme Amadio Date: Tue, 6 Mar 2018 11:06:19 +0100 Subject: [PATCH] app-text/texi2html: prefix support Package-Manager: Portage-2.3.24, Repoman-2.3.6 --- app-text/texi2html/texi2html-5.0-r1.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app-text/texi2html/texi2html-5.0-r1.ebuild b/app-text/texi2html/texi2html-5.0-r1.ebuild index f7e01f45b706..3c4b85e12fc2 100644 --- a/app-text/texi2html/texi2html-5.0-r1.ebuild +++ b/app-text/texi2html/texi2html-5.0-r1.ebuild @@ -1,8 +1,10 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=4 +inherit prefix + DESCRIPTION="Perl script that converts Texinfo to HTML" HOMEPAGE="http://www.nongnu.org/texi2html/" SRC_URI="mirror://nongnu/${PN}/${P}.tar.bz2" @@ -28,6 +30,10 @@ src_prepare() { # On FreeBSD this script is used instead of GNU install but it comes without # executable pemissions... Fix it! chmod +x install-sh || die + + if use prefix; then + hprefixify $(find . -name '*.pl' | xargs) + fi } src_configure() { -- 2.26.2