From 9a4f29226cba414b51d449c12ec0544f3589e879 Mon Sep 17 00:00:00 2001 From: Mat Boehlke Date: Fri, 27 Aug 2021 14:17:53 -0500 Subject: [PATCH] New package: tth-4.15 --- srcpkgs/tth/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/tth/template diff --git a/srcpkgs/tth/template b/srcpkgs/tth/template new file mode 100644 index 000000000000..6aec4ccd5cd8 --- /dev/null +++ b/srcpkgs/tth/template @@ -0,0 +1,23 @@ +# Template file for 'tth' +pkgname=tth +version=4.15 +revision=1 +wrksrc="tth_C" +depends="ghostscript netpbm" +short_desc="TeX to HTML translator" +maintainer="Matt Boehlke " +license="custom:TtH" +homepage="http://hutchinson.belmont.ma.us/tth" +distfiles="${homepage}/tth-noncom/tth_C.tgz" +checksum=83c1f39fbf3377fb43e3d01d042302fa91f8758aa9acc10e22fe8af140f0126c + +do_build() { + ${CC} -o tth ${CPPFLAGS} ${CFLAGS} tth.c ${LDFLAGS} +} + +do_install() { + vlicense license.txt LICENSE + vdoc tth_manual.html + vman tth.1 + install -t "${DESTDIR}/usr/bin" -Dm755 tth ps2png ps2gif latex2gif +}