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/code2html/code2html-0.9.1-r2.ebuild | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-text/code2html/code2html-0.9.1-r2.ebuild')
-rw-r--r-- | app-text/code2html/code2html-0.9.1-r2.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/app-text/code2html/code2html-0.9.1-r2.ebuild b/app-text/code2html/code2html-0.9.1-r2.ebuild new file mode 100644 index 000000000000..fbcb1710f60b --- /dev/null +++ b/app-text/code2html/code2html-0.9.1-r2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils prefix + +DESCRIPTION="Converts source files to colored HTML output" +HOMEPAGE="http://www.palfrader.org/code2html/" +SRC_URI="http://www.palfrader.org/code2html/all/${P}.tar.gz + mirror://gentoo/${P}-gentoo_patches.tar.bz2" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 hppa ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="" + +DEPEND="" +RDEPEND=">=dev-lang/perl-5" + +src_prepare() { + # Be consistent in color codes (bug #119406) + epatch "${WORKDIR}"/${P}-lowercase_color_codes.patch + + # Improved C++ support (bug #133159) + epatch "${WORKDIR}"/${P}-cpp_keywords.patch + + # Improved Ada support (bug #133176) + epatch "${WORKDIR}"/${P}-ada_identifiers.patch + + # For prefix paths + epatch "${FILESDIR}"/${P}-prefix.patch + eprefixify code2html + + # For newer Perl, bug 523610 + epatch "${FILESDIR}"/${P}-scalar.patch +} + +src_install() { + dobin code2html + dodoc ChangeLog CREDITS README + doman code2html.1 +} |