source: trunk/dports/textproc/tth/Portfile

Last change on this file was 142739, checked in by mcalhoun@…, 22 months ago

tth: update version 4.03->4.08 to fix checksum mismatch (fixes #49093, maintainer timeout)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 142739 2015-11-21 15:50:55Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            tth
6version         4.08
7categories      textproc print
8maintainers     toby
9description     a TeX to HTML transaltor
10long_description \
11    TTH translates TEX, the predominant mark-up language for    \
12    expressing mathematics, into HTML, the language of          \
13    world-wide-web browsers. It thereby enables mathematical    \
14    documents to be made available on the web. Document structure,      \
15    using either the Plain or LaTeX macro packages, is also     \
16    translated and incorporated in the form of hyperlinks.
17platforms       darwin freebsd
18homepage        http://hutchinson.belmont.ma.us/tth/
19
20master_sites    ${homepage}tth-noncom/
21distname        ${name}_C
22extract.suffix  .tgz
23
24dist_subdir     ${name}/${version}
25
26checksums       rmd160  90d4f4bc629cd30ba7b743ce8868c0fc22ff2037 \
27                sha256  89d03d8255e5f251cde62215e61a726f30e9b5e848130c6d39510fcfab668208
28
29use_configure   no
30
31variant universal {}
32
33build.cmd       ${configure.cc}
34build.pre_args
35build.args      ${configure.cflags} [get_canonical_archflags cc] ${name}.c -o ${name}
36
37destroot {
38    xinstall -m 755 ${worksrcpath}/tth ${destroot}${prefix}/bin
39    xinstall -m 755 ${worksrcpath}/latex2gif ${destroot}${prefix}/bin
40    xinstall -m 755 ${worksrcpath}/ps2gif ${destroot}${prefix}/bin
41    xinstall -m 755 ${worksrcpath}/ps2png ${destroot}${prefix}/bin
42    xinstall -m 644 ${worksrcpath}/tth.1 ${destroot}${prefix}/share/man/man1
43
44    set docdir ${prefix}/share/doc/${name}
45    xinstall -d ${destroot}${docdir}
46    xinstall -m 644 -W ${worksrcpath} \
47        CHANGES \
48        license.txt \
49        tth_manual.html \
50        ${destroot}${docdir}
51}
52
53livecheck.url   ${homepage}Version
54livecheck.regex \"(.*)\"
Note: See TracBrowser for help on using the repository browser.