Permalink
Fetching contributors…
Cannot retrieve contributors at this time
38 lines (29 sloc) 1.45 KB
# -*- 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
PortSystem 1.0
PortGroup github 1.0
github.setup maranget hevea 2.32 v
categories textproc www tex
platforms darwin
maintainers {pmetzger @pmetzger} openmaintainer
license {QPL LGPL}
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 \
size 1202366
patchfiles patch-Makefile.diff
depends_build port:ocaml \
port:ocaml-ocamlbuild
universal_variant no
installs_libs no
configure {
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
}