Ticket #437: Portfile

File Portfile, 1.4 KB (added by digdog@…, 22 years ago)

Portfile

Line 
1# $Id: Portfile,v 1.6 2003/04/17 22:21:34 digdog Exp $
2
3PortSystem 1.0
4name            tth
5version         3.30
6
7categories      print
8maintainers     digdog@opendarwin.org
9description     a TeX to HTML transaltor
10long_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.
14platforms       darwin
15master_sites    http://hutchinson.belmont.ma.us/tth/tth-noncom/
16distname        ${portname}_C
17extract.sufx    .tgz
18checksums       md5 a46333317a8f3955a1c6bc86cf22985d
19
20configure       {}
21
22build           { cd ${worksrcpath}; system "cc -o ${portname} ${portname}.c" }
23
24pre-install     { system "install -o root -m 755 -d ${destroot}${prefix}/bin";
25                system "install -o root -m 755 -d ${destroot}${prefix}/man/man1" }
26                                 
27install         { 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"}