diff options
Diffstat (limited to 'app-text/code2html/code2html-0.9.1-r2.ebuild')
| -rw-r--r-- | app-text/code2html/code2html-0.9.1-r2.ebuild | 46 |
1 files changed, 46 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..e3a5da396837 --- /dev/null +++ b/app-text/code2html/code2html-0.9.1-r2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit 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" + +RDEPEND=">=dev-lang/perl-5" + +PATCHES=( + # Be consistent in color codes (bug #119406) + "${WORKDIR}"/${P}-lowercase_color_codes.patch + + # Improved C++ support (bug #133159) + "${WORKDIR}"/${P}-cpp_keywords.patch + + # Improved Ada support (bug #133176) + "${WORKDIR}"/${P}-ada_identifiers.patch + + # For prefix paths + "${FILESDIR}"/${P}-prefix.patch + + # For newer Perl, bug 523610 + "${FILESDIR}"/${P}-scalar.patch +) + +src_prepare() { + default + + eprefixify code2html +} + +src_install() { + dobin code2html + dodoc ChangeLog CREDITS README + doman code2html.1 +} |
