Ticket #2996: Portfile

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

Portfile

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