Ticket #494: Portfile.2

File Portfile.2, 1.3 KB (added by digdog@…, 22 years ago)

Portfile

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