aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/tth
diff options
context:
space:
mode:
authorlx <lx@FreeBSD.org>2014-02-24 13:34:21 +0800
committerlx <lx@FreeBSD.org>2014-02-24 13:34:21 +0800
commit0f510178d95d1aac11ff786be5cd28c7ee7d1ecc (patch)
tree64684f2e7498c7ceabbfc544fbc077a05c187753 /textproc/tth
parenta67d77932cc8c82dc35ba1bd026e28eb15a39fed (diff)
downloadfreebsd-ports-gnome-0f510178d95d1aac11ff786be5cd28c7ee7d1ecc.tar.gz
freebsd-ports-gnome-0f510178d95d1aac11ff786be5cd28c7ee7d1ecc.tar.zst
freebsd-ports-gnome-0f510178d95d1aac11ff786be5cd28c7ee7d1ecc.zip
Update to 4.03.
Diffstat (limited to 'textproc/tth')
-rw-r--r--textproc/tth/Makefile31
-rw-r--r--textproc/tth/distinfo4
2 files changed, 13 insertions, 22 deletions
diff --git a/textproc/tth/Makefile b/textproc/tth/Makefile
index 05b0663d0b63..4d9a82935347 100644
--- a/textproc/tth/Makefile
+++ b/textproc/tth/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= tth
-PORTVERSION= 3.89
-PORTREVISION= 2
+PORTVERSION= 4.03
CATEGORIES= textproc
MASTER_SITES= http://hutchinson.belmont.ma.us/tth/tth-noncom/ \
http://redundancy.redundancy.org/mirror/
@@ -16,29 +15,21 @@ COMMENT= A TeX to HTML translator
RUN_DEPENDS= ppmtogif:${PORTSDIR}/graphics/netpbm
USE_GHOSTSCRIPT_RUN= yes
-USE_TEX= latex
+#USE_TEX= latex
-MAN1= tth.1
-
-PLIST_FILES= bin/latex2gif bin/ps2gif bin/ps2png bin/tth bin/Xfonts.fix
-PORTDOCS= license.txt tth_manual.html
-
-NO_STAGE= yes
do-build:
cd ${WRKSRC}; ${CC} ${CFLAGS} tth.c -o tth -ll
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/tth ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/latex2gif ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/ps2gif ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/ps2png ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/Xfonts.fix ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/tth.1 ${PREFIX}/man/man1
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/license.txt ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/tth_manual.html ${DOCSDIR}
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/tth ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/latex2gif ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/ps2gif ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/ps2png ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/Xfonts.fix ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}/${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/license.txt ${STAGEDIR}${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/tth_manual.html ${STAGEDIR}${DOCSDIR}
+ @${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
@${SED} -e "s,%%PREFIX%%,${PREFIX}," ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/textproc/tth/distinfo b/textproc/tth/distinfo
index 8f5ccf559580..1a923ddaa9e7 100644
--- a/textproc/tth/distinfo
+++ b/textproc/tth/distinfo
@@ -1,2 +1,2 @@
-SHA256 (tth_C.tgz) = 22d0c1cc5a0d9d8f263f4c5fcc37402b6f77a803dd4687d715c086fe6aff338b
-SIZE (tth_C.tgz) = 326277
+SHA256 (tth_C.tgz) = ce532f5dcf907c29e1ec581d1bd9c235f0ad66fe75f0b3b703eb2a73664ab61d
+SIZE (tth_C.tgz) = 329979