Changeset 55085 for trunk/dports/textproc
- Timestamp:
- Aug 6, 2009, 6:34:53 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/textproc/tth/Portfile
r34969 r55085 1 1 # $Id$ 2 2 3 PortSystem 1.0 3 PortSystem 1.0 4 4 5 name tth 5 version 3.8 06 version 3.85 6 7 categories textproc print 7 maintainers nomaintainer8 maintainers toby 8 9 description a TeX to HTML transaltor 9 long_description 10 11 12 13 14 15 10 long_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. 16 17 platforms darwin freebsd 17 18 homepage http://hutchinson.belmont.ma.us/tth/ 18 19 19 dist_subdir ${name}/${version} 20 21 master_sites http://hutchinson.belmont.ma.us/tth/tth-noncom/ 22 # This port is prone to breakage because the author doesn't see fit to make old 23 # versions available, or even put a version number in the tarball's name. Sigh. 24 checksums md5 54d0a9fbbe67d7f198288a8cf2c32ad3 20 master_sites ${homepage}tth-noncom/ 25 21 distname ${name}_C 26 22 extract.suffix .tgz 27 23 28 use_configure no 24 dist_subdir ${name}/${version} 29 25 30 build { 31 system "cd ${workpath}/${distname} && cc -o ${name} ${name}.c" 26 # This port is prone to breakage because the author doesn't see fit to make old 27 # versions available, or even put a version number in the tarball's name. Sigh. 28 checksums md5 11575669b8e932e459800a7417278981 \ 29 sha1 0925eba8801267a43b2572db31c2f4f3b20b7f07 \ 30 rmd160 bc9376a1ff4e34a518c645f7d282f758eb05814b 31 32 # sigh 33 configure {} 34 set mycflags ${configure.cflags} 35 if {[variant_isset universal]} { 36 set mycflags "$mycflags ${configure.universal_cflags}" 37 } else { 38 set mycflags "$mycflags ${configure.cc_archflags}" 32 39 } 33 40 34 destroot { 35 xinstall -m 755 ${workpath}/${distname}/tth ${destroot}${prefix}/bin 36 xinstall -m 755 ${workpath}/${distname}/latex2gif ${destroot}${prefix}/bin 37 xinstall -m 755 ${workpath}/${distname}/ps2gif ${destroot}${prefix}/bin 38 xinstall -m 755 ${workpath}/${distname}/ps2png ${destroot}${prefix}/bin 39 xinstall -m 644 ${workpath}/${distname}/tth.1 ${destroot}${prefix}/share/man/man1 41 build.cmd ${configure.cc} 42 build.pre_args 43 build.args $mycflags ${name}.c -o ${name} 44 45 destroot { 46 xinstall -m 755 ${worksrcpath}/tth ${destroot}${prefix}/bin 47 xinstall -m 755 ${worksrcpath}/latex2gif ${destroot}${prefix}/bin 48 xinstall -m 755 ${worksrcpath}/ps2gif ${destroot}${prefix}/bin 49 xinstall -m 755 ${worksrcpath}/ps2png ${destroot}${prefix}/bin 50 xinstall -m 644 ${worksrcpath}/tth.1 ${destroot}${prefix}/share/man/man1 40 51 } 52 53 livecheck.url ${homepage}Version 54 livecheck.regex \"(.*)\"
Note: See TracChangeset
for help on using the changeset viewer.