summaryrefslogtreecommitdiff
path: root/textproc/catdoc-tk
diff options
context:
space:
mode:
authorjmmv <jmmv>2003-09-17 14:58:44 +0000
committerjmmv <jmmv>2003-09-17 14:58:44 +0000
commitfca94408ef7329a385240e475575c3cbdcbc7f85 (patch)
treed14843be58134006d4c41aaa590aa9a16baa6281 /textproc/catdoc-tk
parent277eb82a1cd1508a6406f4c036a5bdfd16531116 (diff)
downloadpkgsrc-fca94408ef7329a385240e475575c3cbdcbc7f85.tar.gz
Initial addition of catdoc-tk, version 0.91.4:
This package provides the wordview utility that comes with catdoc.
Diffstat (limited to 'textproc/catdoc-tk')
-rw-r--r--textproc/catdoc-tk/DESCR10
-rw-r--r--textproc/catdoc-tk/Makefile21
-rw-r--r--textproc/catdoc-tk/PLIST2
3 files changed, 33 insertions, 0 deletions
diff --git a/textproc/catdoc-tk/DESCR b/textproc/catdoc-tk/DESCR
new file mode 100644
index 00000000000..4977baf5ab2
--- /dev/null
+++ b/textproc/catdoc-tk/DESCR
@@ -0,0 +1,10 @@
+catdoc behaves much like cat(1) but reads MS-Word file and
+produces human-readable text on standard output. Option-
+ally it can use latex(1) escape sequences for characters
+which have special meaning for LaTeX. It also makes some
+effort to recognize MS-Word tables, although it never
+tries to write correct headers for LaTeX tabular environ-
+ment.
+
+This package provides the wordview program that comes with
+catdoc, which requires Tk and X11.
diff --git a/textproc/catdoc-tk/Makefile b/textproc/catdoc-tk/Makefile
new file mode 100644
index 00000000000..e67d3f7af02
--- /dev/null
+++ b/textproc/catdoc-tk/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/09/17 14:58:44 jmmv Exp $
+#
+
+.include "../../textproc/catdoc/Makefile.common"
+
+PKGNAME= ${DISTNAME:S/catdoc/catdoc-tk/}
+COMMENT+= (Tk interface)
+
+DEPENDS+= catdoc>=0.91.4nb1:../../textproc/catdoc
+
+USE_X11= yes
+
+CONFIGURE_ARGS+= --enable-wordview
+CONFIGURE_ENV+= WISH="${BUILDLINK_PREFIX.tk}/bin/wish"
+CONFIGURE_ENV+= enable_wordview=yes
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/src/wordview ${PREFIX}/bin/wordview
+
+.include "../../x11/tk/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/catdoc-tk/PLIST b/textproc/catdoc-tk/PLIST
new file mode 100644
index 00000000000..49bdb56b564
--- /dev/null
+++ b/textproc/catdoc-tk/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/09/17 14:58:44 jmmv Exp $
+bin/wordview