source: trunk/dports/textproc/tth/Portfile @ 22478

Last change on this file since 22478 was 22478, checked in by pipping@…, 13 years ago
  • Spring-cleaning @opendarwin.org addresses

see #11465
see http://www.mail-archive.com/macports-dev@lists.macosforge.org/msg00309.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 22478 2007-03-02 05:16:40Z pipping@macports.org $
2
3PortSystem      1.0
4name            tth
5version         3.76
6categories      textproc print
7maintainers     nomaintainer@macports.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 3bb7081fc37a2db7b4c2e5753234b513
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        xinstall -m 755 ${workpath}/${distname}/tth ${destroot}/${prefix}/bin
35        xinstall -m 755 ${workpath}/${distname}/latex2gif ${destroot}/${prefix}/bin
36        xinstall -m 755 ${workpath}/${distname}/ps2gif ${destroot}/${prefix}/bin
37        xinstall -m 755 ${workpath}/${distname}/ps2png ${destroot}/${prefix}/bin
38        xinstall -m 644 ${workpath}/${distname}/tth.1 ${destroot}/${prefix}/share/man/man1
39}
Note: See TracBrowser for help on using the repository browser.