diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-text/texi2html/texi2html-5.0-r1.ebuild | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-text/texi2html/texi2html-5.0-r1.ebuild')
-rw-r--r-- | app-text/texi2html/texi2html-5.0-r1.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/app-text/texi2html/texi2html-5.0-r1.ebuild b/app-text/texi2html/texi2html-5.0-r1.ebuild new file mode 100644 index 000000000000..3c4b85e12fc2 --- /dev/null +++ b/app-text/texi2html/texi2html-5.0-r1.ebuild @@ -0,0 +1,56 @@ +# 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" + +LICENSE="CC-SA-1.0 FDL-1.3 GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="unicode" + +RDEPEND=">=dev-lang/perl-5.10.1 + >=dev-perl/libintl-perl-1.200 + unicode? ( + dev-perl/Text-Unidecode + dev-perl/Unicode-EastAsianWidth + )" +DEPEND="${RDEPEND}" + +DOCS="AUTHORS ChangeLog NEWS README TODO" + +RESTRICT="test" #411523 + +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() { + local myconf + use unicode && myconf='--with-external-Unicode-EastAsianWidth' + + econf \ + --with-external-libintl-perl \ + $(use_with unicode unidecode) \ + ${myconf} +} + +src_install() { + default + rm -f "${ED}"/usr/share/${PN}/images/{COPYING*,GPL,README} +} + +pkg_preinst() { + rm -f "${EROOT}"/usr/bin/${PN} +} |