1 | # $Id: Portfile,v 1.6 2003/04/17 22:21:34 digdog Exp $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name tth |
---|
5 | version 3.30 |
---|
6 | |
---|
7 | categories print |
---|
8 | maintainers digdog@opendarwin.org |
---|
9 | description a TeX to HTML transaltor |
---|
10 | long_description TTHÊtranslates TEX, the predominant mark-up language for expressing mathematics, |
---|
11 | into HTML, the language of world-wide-web browsers. It thereby enables mathematical |
---|
12 | documents to be made available on the web. Document structure, using either the Plain |
---|
13 | or LaTeX macro packages, is also translated and incorporated in the form of hyperlinks. |
---|
14 | platforms darwin |
---|
15 | master_sites http://hutchinson.belmont.ma.us/tth/tth-noncom/ |
---|
16 | distname ${portname}_C |
---|
17 | extract.sufx .tgz |
---|
18 | checksums md5 a46333317a8f3955a1c6bc86cf22985d |
---|
19 | |
---|
20 | configure {} |
---|
21 | |
---|
22 | build { cd ${worksrcpath}; system "cc -o ${portname} ${portname}.c" } |
---|
23 | |
---|
24 | pre-install { system "install -o root -m 755 -d ${destroot}${prefix}/bin"; |
---|
25 | system "install -o root -m 755 -d ${destroot}${prefix}/man/man1" } |
---|
26 | |
---|
27 | install { cd ${worksrcpath}; |
---|
28 | system "install -o root -m 755 -c ${portname} ${destroot}${prefix}/bin" |
---|
29 | system "install -o root -m 755 -c latex2gif ${destroot}${prefix}/bin" |
---|
30 | system "install -o root -m 755 -c ps2gif ${destroot}${prefix}/bin" |
---|
31 | system "install -o root -m 755 -c ps2png ${destroot}${prefix}/bin" |
---|
32 | system "install -o root -m 644 -c ${portname}.1 ${destroot}${prefix}/man/man1"} |
---|