1 | # $Id: Portfile,v 1.12 2004/12/22 22:01:57 toby Exp $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name tth |
---|
5 | version 3.67 |
---|
6 | categories textproc print |
---|
7 | maintainers digdog@opendarwin.org |
---|
8 | description a TeX to HTML transaltor |
---|
9 | long_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. |
---|
16 | platforms darwin freebsd |
---|
17 | homepage http://hutchinson.belmont.ma.us/tth/ |
---|
18 | |
---|
19 | dist_subdir ${name}/${version} |
---|
20 | |
---|
21 | master_sites http://hutchinson.belmont.ma.us/tth/tth-noncom/ |
---|
22 | checksums md5 662a96beac7a3e399f42e0fe06bf134d |
---|
23 | distname ${portname}_C |
---|
24 | extract.suffix .tgz |
---|
25 | |
---|
26 | use_configure no |
---|
27 | |
---|
28 | build { |
---|
29 | cd ${workpath}/${distname}; |
---|
30 | system "cc -o ${portname} ${portname}.c" |
---|
31 | } |
---|
32 | |
---|
33 | destroot { |
---|
34 | cd ${workpath}/${distname}; |
---|
35 | system "install -c ${portname} ${destroot}/${prefix}/bin" |
---|
36 | system "install -c latex2gif ${destroot}/${prefix}/bin" |
---|
37 | system "install -c ps2gif ${destroot}/${prefix}/bin" |
---|
38 | system "install -c ps2png ${destroot}/${prefix}/bin" |
---|
39 | system "install -c ${portname}.1 ${destroot}/${prefix}/share/man/man1" |
---|
40 | } |
---|
41 | |
---|