From 69f0c461859a118f1e8161aaa1c65c0783396de7 Mon Sep 17 00:00:00 2001 From: tg Date: Fri, 20 Feb 1998 08:04:08 +0000 Subject: Import tth port. TtH is a TeX to HTML converter. --- textproc/tth/Makefile | 42 ++++++++++++++++++++++++++++++++++++++++++ textproc/tth/distinfo | 1 + textproc/tth/pkg-comment | 1 + textproc/tth/pkg-descr | 10 ++++++++++ textproc/tth/pkg-message | 4 ++++ textproc/tth/pkg-plist | 8 ++++++++ 6 files changed, 66 insertions(+) create mode 100644 textproc/tth/Makefile create mode 100644 textproc/tth/distinfo create mode 100644 textproc/tth/pkg-comment create mode 100644 textproc/tth/pkg-descr create mode 100644 textproc/tth/pkg-message create mode 100644 textproc/tth/pkg-plist diff --git a/textproc/tth/Makefile b/textproc/tth/Makefile new file mode 100644 index 000000000000..dbcf63e0dc55 --- /dev/null +++ b/textproc/tth/Makefile @@ -0,0 +1,42 @@ +# New ports collection makefile for: tth +# Version required: 1.21 +# Date created: 19 Feb 1998 +# Whom: Thomas Gellekum +# +# $Id$ +# + +DISTNAME= tth_C +PKGNAME= tth-1.21 +CATEGORIES= textproc +MASTER_SITES= http://hutchinson.belmont.ma.us/tth/tth-noncom/ +EXTRACT_SUFX= .tgz + +MAINTAINER= ports@FreeBSD.ORG + +RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript5 \ + ppmtogif:${PORTSDIR}/graphics/netpbm \ + latex:${PORTSDIR}/print/teTeX + +RESTRICTED= "No commercial use" +NO_CDROM= ${RESTRICTED} +NO_WRKSUBDIR= yes +MAN1= tth.1 + +do-build: + cd ${WRKSRC}; ${CC} ${CFLAGS} tth.c -o tth -ll + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/tth ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/l2h ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/latex2gif ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/ps2gif ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/tth.1 ${PREFIX}/man/man1 +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/doc/tth + ${INSTALL_SCRIPT} ${WRKSRC}/tth_manual.html ${PREFIX}/share/doc/tth + ${INSTALL_SCRIPT} ${WRKSRC}/license.txt ${PREFIX}/share/doc/tth +.endif + @${CAT} ${PKGDIR}/MESSAGE + +.include diff --git a/textproc/tth/distinfo b/textproc/tth/distinfo new file mode 100644 index 000000000000..a0833456303f --- /dev/null +++ b/textproc/tth/distinfo @@ -0,0 +1 @@ +MD5 (tth_C.tgz) = 85fe1bfe16ba24b5cfe44e397f75339c diff --git a/textproc/tth/pkg-comment b/textproc/tth/pkg-comment new file mode 100644 index 000000000000..34b1f87dd936 --- /dev/null +++ b/textproc/tth/pkg-comment @@ -0,0 +1 @@ +A TeX to HTML translator diff --git a/textproc/tth/pkg-descr b/textproc/tth/pkg-descr new file mode 100644 index 000000000000..eef84bad3208 --- /dev/null +++ b/textproc/tth/pkg-descr @@ -0,0 +1,10 @@ +TTH translates TeX source that uses the Plain macro package, or +LaTeX, into a near equivalent in HTML. It is extremely fast and +completely portable. It produces web documents that are more compact +and managable, and faster-viewing, than those from other converters, +because it really translates the equations, instead of converting them +into images. + +For more information see the homepage at + +http://hutchinson.belmont.ma.us/tth/tth.html diff --git a/textproc/tth/pkg-message b/textproc/tth/pkg-message new file mode 100644 index 000000000000..e64302e5b1cf --- /dev/null +++ b/textproc/tth/pkg-message @@ -0,0 +1,4 @@ + +Please read the license in /usr/local/share/doc/tth/license.txt. + + diff --git a/textproc/tth/pkg-plist b/textproc/tth/pkg-plist new file mode 100644 index 000000000000..128b42023f2a --- /dev/null +++ b/textproc/tth/pkg-plist @@ -0,0 +1,8 @@ +bin/l2h +bin/latex2gif +bin/ps2gif +bin/tth +man/man1/tth.1.gz +share/doc/tth/license.txt +share/doc/tth/tth_manual.html +@dirrm share/doc/tth -- cgit