commit:     30d023ace822899963eef7f451250ed45d99fbc7
Author:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Tue Mar  6 10:06:19 2018 +0000
Commit:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Tue Mar  6 14:43:01 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30d023ac

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 f7e01f45b70..3c4b85e12fc 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() {

Reply via email to