Ticket #6518: tth-Portfile.txt

File tth-Portfile.txt, 1.4 KB (added by edkosh@…, 18 years ago)

tth Portfile with corrected md5 checksum

Line 
1# $Id: Portfile,v 1.14 2005/05/29 17:02:01 digdog Exp $
2
3PortSystem      1.0
4name            tth
5version         3.67
6categories      textproc print
7maintainers     digdog@opendarwin.org
8description     a TeX to HTML transaltor
9long_description        \
10        TTH translates TEX, the predominant mark-up language for        \
11        expressing mathematics, into HTML, the language of              \
12        world-wide-web browsers. It thereby enables mathematical        \
13        documents to be made available on the web. Document structure,  \
14        using either the Plain or LaTeX macro packages, is also         \
15        translated and incorporated in the form of hyperlinks.
16platforms       darwin freebsd
17homepage        http://hutchinson.belmont.ma.us/tth/
18
19dist_subdir     ${name}/${version}
20
21master_sites    http://hutchinson.belmont.ma.us/tth/tth-noncom/
22checksums       md5 93e8cc66dea10938bcc83f288488ca50
23distname        ${portname}_C
24extract.suffix  .tgz
25
26use_configure   no
27
28build           {
29        cd ${workpath}/${distname};
30        system "cc -o ${portname} ${portname}.c"
31}
32
33destroot        {
34        xinstall -m 755 ${workpath}/${distname}/tth ${destroot}/${prefix}/bin
35        xinstall -m 755 ${workpath}/${distname}/latex2gif ${destroot}/${prefix}/bin
36        xinstall -m 755 ${workpath}/${distname}/ps2gif ${destroot}/${prefix}/bin
37        xinstall -m 755 ${workpath}/${distname}/ps2png ${destroot}/${prefix}/bin
38        xinstall -m 644 ${workpath}/${distname}/tth.1 ${destroot}/${prefix}/share/man/man1
39}