Skip to content
Permalink
Browse files

Add tth, a TeX to HTML translator

Submitted by:	Kevin Fyure <digdog@mac.com>

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@1043 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Jordan K. Hubbard
Jordan K. Hubbard committed Oct 12, 2002
1 parent eb510ab commit 4b9c97f4d65f9f65f50baf7be170945f5b52c35f
Showing with 32 additions and 0 deletions.
  1. +32 −0 textproc/tth/Portfile
@@ -0,0 +1,32 @@
PortSystem 1.0
name tth
version 3.13
categories print
maintainers digdog@mac.com
description a TeX to HTML transaltor
master_sites http://hutchinson.belmont.ma.us/tth/tth-noncom/
distname ${portname}_C
extract.sufx .tgz
checksums md5 717fcb1cb35dfa15912ea4ecd2c1bf7c

configure {}

build { cd ${worksrcpath}; system "cc -o ${portname} ${portname}.c" }

pre-install { system "install -o root -m 755 -d ${prefix}/bin";
system "install -o root -m 755 -d ${prefix}/man/man1" }

install { cd ${worksrcpath};
system "install -o root -m 755 -c ${portname} ${prefix}/bin"
system "install -o root -m 755 -c latex2gif ${prefix}/bin"
system "install -o root -m 755 -c ps2gif ${prefix}/bin"
system "install -o root -m 755 -c ps2png ${prefix}/bin"
system "install -o root -m 644 -c ${portname}.1 ${prefix}/man/man1"}

contents {
bin/tth
bin/latex2gif
bin/ps2gif
bin/ps2png
man/man1/tth.1
}

0 comments on commit 4b9c97f

Please sign in to comment.
You can’t perform that action at this time.