aboutsummaryrefslogtreecommitdiff
path: root/textproc/tth
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-08-22 19:16:28 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-08-22 19:16:28 +0000
commit196b09f6aae247e36e1359423326cdb3a56584a4 (patch)
treeab0386551ac8b87808f8b18af2358e969506e2c2 /textproc/tth
parent61fe45862f8873c075f956c0390a0b999bd3a962 (diff)
downloadports-196b09f6aae247e36e1359423326cdb3a56584a4.tar.gz
ports-196b09f6aae247e36e1359423326cdb3a56584a4.zip
Package something
Notes
Notes: svn path=/head/; revision=365689
Diffstat (limited to 'textproc/tth')
-rw-r--r--textproc/tth/Makefile7
-rw-r--r--textproc/tth/pkg-plist9
2 files changed, 14 insertions, 2 deletions
diff --git a/textproc/tth/Makefile b/textproc/tth/Makefile
index cc3a58011212..170ded594b07 100644
--- a/textproc/tth/Makefile
+++ b/textproc/tth/Makefile
@@ -3,19 +3,23 @@
PORTNAME= tth
PORTVERSION= 4.03
+PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= http://hutchinson.belmont.ma.us/tth/tth-noncom/ \
http://redundancy.redundancy.org/mirror/
DISTNAME= tth_C
-EXTRACT_SUFX= .tgz
MAINTAINER= lx@FreeBSD.org
COMMENT= TeX to HTML translator
RUN_DEPENDS= ppmtogif:${PORTSDIR}/graphics/netpbm
+USES= shebangfix tar:tgz
USE_GHOSTSCRIPT_RUN= yes
#USE_TEX= latex
+SHEBANG_FILES= Xfonts.fix
+
+OPTIONS_DEFINE= DOCS
do-build:
cd ${WRKSRC}; ${CC} ${CFLAGS} tth.c -o tth -ll
@@ -30,6 +34,5 @@ do-install:
@${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/pkg-plist b/textproc/tth/pkg-plist
new file mode 100644
index 000000000000..b19f9cf20df7
--- /dev/null
+++ b/textproc/tth/pkg-plist
@@ -0,0 +1,9 @@
+bin/Xfonts.fix
+bin/latex2gif
+bin/ps2gif
+bin/ps2png
+bin/tth
+man/man1/tth.1.gz
+%%PORTDOCS%%%%DOCSDIR%%/license.txt
+%%PORTDOCS%%%%DOCSDIR%%/tth_manual.html
+%%PORTDOCS%%@dirrmtry %%DOCSDIR%%