source: trunk/dports/print/latex2html/Portfile

Last change on this file was 146841, checked in by aronnax@…, 2 years ago

latex2html: update to 2015 version from CTAN

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 KB
RevLine 
[71771]1# -*- 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
[20373]2# $Id: Portfile 146841 2016-03-18 19:04:54Z ryandesign@macports.org $
[17558]3
[71771]4PortSystem              1.0
[141766]5PortGroup               texlive 1.0
[17558]6
[71771]7name                    latex2html
[146841]8version                 2015
[71771]9categories              print
10platforms               darwin
11maintainers             nomaintainer
[71775]12license                 GPL-2
13supported_archs         noarch
[17558]14
[71771]15description             Convert LaTeX into HTML.
[17558]16
[71771]17long_description        LATEX2HTML is a convertor written in Perl that \
18                        converts LATEX documents to HTML.
[17558]19
[146841]20homepage                https://www.ctan.org/pkg/${name}
21master_sites            http://ctan.sharelatex.com/tex-archive/support/${name}
[17558]22
[146841]23checksums               md5     78fa8e5a4c70f81a84b087980f7f9e8b \
24                        sha1    13c893850dd1136f2e276068131f0a264c1cae1a \
25                        rmd160  0ad90b995dc4f93a5905feac15c540a4ae03fd3a
[41593]26
[71771]27depends_run             bin:latex:texlive-latex \
28                        port:ghostscript \
29                        port:netpbm
[41593]30
[71771]31depends_lib             path:bin/perl:perl5
[17558]32
[146841]33patchfiles              patch-config-config.pl.diff
[71773]34
[71771]35configure.perl          ${prefix}/bin/perl
36
[141766]37set texmfdir ${texlive_texmfports}/tex/latex/html
[71771]38configure.args          --without-mktexlsr \
[141766]39                        --with-texpath=${texmfdir}
[71771]40
[71775]41post-destroot {
42    set docdir ${destroot}${prefix}/share/doc/${name}
43    xinstall -d ${docdir}
44    xinstall -m 644 -W ${worksrcpath} \
45        BUGS \
46        Changes \
47        FAQ \
48        LICENSE \
49        README \
50        TODO \
51        ${docdir}
[126928]52
[141766]53    xinstall -d -m 755 ${destroot}${texmfdir}
[126928]54    foreach file [ glob ${worksrcpath}/texinputs/* ] {
[141766]55        file copy -force ${file} ${destroot}${texmfdir}
[126928]56    }
[71775]57
[141766]58    # Newer versions of these files are already installed by
59    # texlive. Because ${texlive_texmfports} is earlier in the search
60    # path, the files installed by this port would shadow them. To
61    # prevent this, don't install the old versions.
62    delete ${destroot}${texmfdir}/url.sty
63    delete ${destroot}${texmfdir}/latin9.def
[71771]64}
[17558]65
[141766]66texlive.use_mktexlsr yes
[71771]67
[141766]68
[71771]69livecheck.type          regex
[71772]70livecheck.url           [lindex ${master_sites} 0]
71livecheck.regex         ${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.