aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1998-02-20 16:04:08 +0800
committertg <tg@FreeBSD.org>1998-02-20 16:04:08 +0800
commit69f0c461859a118f1e8161aaa1c65c0783396de7 (patch)
tree16a1ca5f2f911425a9dd3434d1c684c319f5ab2d
parentf334f2b97b3b1235038fa225b0dd9786a6e837e2 (diff)
downloadfreebsd-ports-gnome-69f0c461859a118f1e8161aaa1c65c0783396de7.tar.gz
freebsd-ports-gnome-69f0c461859a118f1e8161aaa1c65c0783396de7.tar.zst
freebsd-ports-gnome-69f0c461859a118f1e8161aaa1c65c0783396de7.zip
Import tth port. TtH is a TeX to HTML converter.
-rw-r--r--textproc/tth/Makefile42
-rw-r--r--textproc/tth/distinfo1
-rw-r--r--textproc/tth/pkg-comment1
-rw-r--r--textproc/tth/pkg-descr10
-rw-r--r--textproc/tth/pkg-message4
-rw-r--r--textproc/tth/pkg-plist8
6 files changed, 66 insertions, 0 deletions
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 <tg@FreeBSD.ORG>
+#
+# $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 <bsd.port.mk>
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