# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
github.setup maranget hevea 2.32 v
categories textproc www tex
maintainers {pmetzger @pmetzger} openmaintainer
description HEVEA is a quite complete and fast LATEX to HTML translator.
long_description HEVEA is a LaTeX to HTML translator.\
The input language is a fairly complete subset\
of LaTeX2e (old LaTeX style is also accepted) and\
the output language is HTML that is (hopefully)\
correct with respect to version 4.0 (transitional)
homepage http://hevea.inria.fr/
checksums rmd160 b9a0da12e94b199e6e0c10a5e6693cdcc49a2428 \
sha256 b06929e0a4a5a0e750144966a9932a4e9f344d974d5bb5706cae6ce66eadb916 \
patchfiles patch-Makefile.diff
depends_build port:ocaml \
reinplace "s|^PREFIX?=.*|PREFIX=${prefix}|" ${worksrcpath}/Makefile
reinplace "s|^LIBDIR=.*|LIBDIR=${prefix}/share/${name}|" ${worksrcpath}/Makefile
reinplace "s|^LATEXLIBDIR=.*|LATEXLIBDIR=${prefix}/share/${name}|" ${worksrcpath}/Makefile
reinplace "s|^DESTDIR=.*|DESTDIR=${destroot}|" ${worksrcpath}/Makefile