# -*- 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 # $Id$ PortSystem 1.0 PortGroup texlive 1.0 name latex2html version 2015 categories print platforms darwin maintainers nomaintainer license GPL-2 supported_archs noarch description Convert LaTeX into HTML. long_description LATEX2HTML is a convertor written in Perl that \ converts LATEX documents to HTML. homepage https://www.ctan.org/pkg/${name} master_sites http://ctan.sharelatex.com/tex-archive/support/${name} checksums md5 78fa8e5a4c70f81a84b087980f7f9e8b \ sha1 13c893850dd1136f2e276068131f0a264c1cae1a \ rmd160 0ad90b995dc4f93a5905feac15c540a4ae03fd3a depends_run bin:latex:texlive-latex \ port:ghostscript \ port:netpbm depends_lib path:bin/perl:perl5 patchfiles patch-config-config.pl.diff configure.perl ${prefix}/bin/perl set texmfdir ${texlive_texmfports}/tex/latex/html configure.args --without-mktexlsr \ --with-texpath=${texmfdir} post-destroot { set docdir ${destroot}${prefix}/share/doc/${name} xinstall -d ${docdir} xinstall -m 644 -W ${worksrcpath} \ BUGS \ Changes \ FAQ \ LICENSE \ README \ TODO \ ${docdir} xinstall -d -m 755 ${destroot}${texmfdir} foreach file [ glob ${worksrcpath}/texinputs/* ] { file copy -force ${file} ${destroot}${texmfdir} } # Newer versions of these files are already installed by # texlive. Because ${texlive_texmfports} is earlier in the search # path, the files installed by this port would shadow them. To # prevent this, don't install the old versions. delete ${destroot}${texmfdir}/url.sty delete ${destroot}${texmfdir}/latin9.def } texlive.use_mktexlsr yes livecheck.type regex livecheck.url [lindex ${master_sites} 0] livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}