aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-08-23 03:16:28 +0800
committerantoine <antoine@FreeBSD.org>2014-08-23 03:16:28 +0800
commit5ee694ba04682fb0c9482c35e1dc503753a3d05f (patch)
treeab0386551ac8b87808f8b18af2358e969506e2c2 /textproc
parenta047b38940832c7b31ea133351e46d015a0cabb6 (diff)
downloadfreebsd-ports-gnome-5ee694ba04682fb0c9482c35e1dc503753a3d05f.tar.gz
freebsd-ports-gnome-5ee694ba04682fb0c9482c35e1dc503753a3d05f.tar.zst
freebsd-ports-gnome-5ee694ba04682fb0c9482c35e1dc503753a3d05f.zip
Package something
Diffstat (limited to 'textproc')
-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%%