Ticket #14548: Portfile

File Portfile, 1.4 KB (added by aziobro@…, 16 years ago)

Updated Portfile with new version # and checksum

Line 
1# $Id: Portfile 32794 2008-01-13 12:47:01Z ryandesign@macports.org $
2
3PortSystem      1.0
4name            tth
5version         3.80
6categories      textproc print
7maintainers     nomaintainer
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 54d0a9fbbe67d7f198288a8cf2c32ad3
23distname        ${name}_C
24extract.suffix  .tgz
25
26use_configure   no
27
28build           {
29        system "cd ${workpath}/${distname} && cc -o ${name} ${name}.c"
30}
31
32destroot        {
33        xinstall -m 755 ${workpath}/${distname}/tth ${destroot}${prefix}/bin
34        xinstall -m 755 ${workpath}/${distname}/latex2gif ${destroot}${prefix}/bin
35        xinstall -m 755 ${workpath}/${distname}/ps2gif ${destroot}${prefix}/bin
36        xinstall -m 755 ${workpath}/${distname}/ps2png ${destroot}${prefix}/bin
37        xinstall -m 644 ${workpath}/${distname}/tth.1 ${destroot}${prefix}/share/man/man1
38}