mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
Upstream moved, and the distributed tarball changed names and contents. Will use new upstream when an actual new version is released.
54 lines
1.8 KiB
Plaintext
54 lines
1.8 KiB
Plaintext
PortSystem 1.0
|
|
|
|
name tth
|
|
version 4.16
|
|
categories textproc print
|
|
maintainers {toby @tobypeterson} openmaintainer
|
|
description a TeX to HTML transaltor
|
|
long_description \
|
|
TTH translates TEX, the predominant mark-up language for \
|
|
expressing mathematics, into HTML, the language of \
|
|
world-wide-web browsers. It thereby enables mathematical \
|
|
documents to be made available on the web. Document structure, \
|
|
using either the Plain or LaTeX macro packages, is also \
|
|
translated and incorporated in the form of hyperlinks.
|
|
platforms darwin freebsd
|
|
homepage http://hutchinson.belmont.ma.us/tth/
|
|
|
|
master_sites ${homepage}tth-noncom/
|
|
distname ${name}_C
|
|
extract.suffix .tgz
|
|
|
|
dist_subdir ${name}/${version}
|
|
|
|
checksums rmd160 11b05a79ede2da2769328d11da920a0f7bc32053 \
|
|
sha256 ff8b88c6dbb938f01fe6a224c396fc302ae5d89b9b6d97f207f7ae0c4e7f0a32 \
|
|
size 337901
|
|
|
|
use_configure no
|
|
|
|
variant universal {}
|
|
|
|
build.cmd ${configure.cc}
|
|
build.pre_args
|
|
build.args ${configure.cflags} [get_canonical_archflags cc] ${name}.c -o ${name}
|
|
|
|
destroot {
|
|
xinstall -m 755 ${worksrcpath}/tth ${destroot}${prefix}/bin
|
|
xinstall -m 755 ${worksrcpath}/latex2gif ${destroot}${prefix}/bin
|
|
xinstall -m 755 ${worksrcpath}/ps2gif ${destroot}${prefix}/bin
|
|
xinstall -m 755 ${worksrcpath}/ps2png ${destroot}${prefix}/bin
|
|
xinstall -m 644 ${worksrcpath}/tth.1 ${destroot}${prefix}/share/man/man1
|
|
|
|
set docdir ${prefix}/share/doc/${name}
|
|
xinstall -d ${destroot}${docdir}
|
|
xinstall -m 644 -W ${worksrcpath} \
|
|
CHANGES \
|
|
license.txt \
|
|
tth_manual.html \
|
|
${destroot}${docdir}
|
|
}
|
|
|
|
livecheck.url http://silas.psfc.mit.edu/tth/Version
|
|
livecheck.regex \"(.*)\"
|