Skip to content

Commit

Permalink
app-text/texi2html: prefix support
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.24, Repoman-2.3.6
  • Loading branch information
amadio committed Mar 6, 2018
1 parent 3295c9f commit 30d023a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion app-text/texi2html/texi2html-5.0-r1.ebuild
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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() {
Expand Down

0 comments on commit 30d023a

Please sign in to comment.