Ticket #1629: Portfile

File Portfile, 1.3 KB (added by digdog@…, 20 years ago)

Portfile

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