Ticket #2097: Portfile.2

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

Portfile

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