aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorTim Vanderhoek <hoek@FreeBSD.org>1998-02-12 17:30:29 +0000
committerTim Vanderhoek <hoek@FreeBSD.org>1998-02-12 17:30:29 +0000
commitdfaa06e7df24f563bb6ce0021a66a94e94cf8896 (patch)
treea774b4b62c9201ffd2c8ae571cf1db87ffeebe14 /textproc
parentb57e7c478293b7fe828bb6a152de0746357d9977 (diff)
downloadports-dfaa06e7df24f563bb6ce0021a66a94e94cf8896.tar.gz
ports-dfaa06e7df24f563bb6ce0021a66a94e94cf8896.zip
Port import of CATMAN!!! (Batman theme music in b/g)
This allows the user to read MS Word documents. Doesn't accept Word 97. PR: ports/5162 Submitted by: Brion Moss <brion@queeg.com>
Notes
Notes: svn path=/head/; revision=9680
Diffstat (limited to 'textproc')
-rw-r--r--textproc/catdoc/Makefile34
-rw-r--r--textproc/catdoc/distinfo1
-rw-r--r--textproc/catdoc/pkg-comment1
-rw-r--r--textproc/catdoc/pkg-descr10
-rw-r--r--textproc/catdoc/pkg-plist3
5 files changed, 49 insertions, 0 deletions
diff --git a/textproc/catdoc/Makefile b/textproc/catdoc/Makefile
new file mode 100644
index 000000000000..3b4f87918a10
--- /dev/null
+++ b/textproc/catdoc/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: catdoc
+# Version required: 0.3
+# Date created: 11 November 1997
+# Whom: Brion Moss <brion@queeg.com>
+#
+# $Id$
+#
+
+DISTNAME= catdoc
+PKGNAME= catdoc-0.3
+CATEGORIES= textproc
+# Uses on-the-fly tar, which may not work with all of MASTER_SITE_TEX_CTAN.
+MASTER_SITES= ftp://ftp.cdrom.com/pub/tex/ctan/support/
+EXTRACT_SUFX= .tar
+
+MAINTAINER= brion@queeg.com
+
+EXTRACT_BEFORE_ARGS= -xf
+
+MAN1= catdoc.1
+
+# The wordview tcl/tk script is small and not required. If the user
+# has tk, it will work. It comes preset for tk-8.0, but works with less.
+
+# You may define LATIN1 in CFLAGS. Little effect. See source.
+do-build:
+ (cd ${WRKSRC} && ${CC} ${CFLAGS} -o catdoc catdoc.c)
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/catdoc ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/wordview ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/catdoc.1 ${PREFIX}/man/man1/catdoc.1
+
+.include <bsd.port.mk>
diff --git a/textproc/catdoc/distinfo b/textproc/catdoc/distinfo
new file mode 100644
index 000000000000..3f891860fdbf
--- /dev/null
+++ b/textproc/catdoc/distinfo
@@ -0,0 +1 @@
+MD5 (catdoc.tar) = dca9c43f851d6b21a0b4ec6a3caea17e
diff --git a/textproc/catdoc/pkg-comment b/textproc/catdoc/pkg-comment
new file mode 100644
index 000000000000..9e30fcba170c
--- /dev/null
+++ b/textproc/catdoc/pkg-comment
@@ -0,0 +1 @@
+Convert M$ Word documents to plain ASCII or TeX. TK viewer included.
diff --git a/textproc/catdoc/pkg-descr b/textproc/catdoc/pkg-descr
new file mode 100644
index 000000000000..9b6fe6ca5d84
--- /dev/null
+++ b/textproc/catdoc/pkg-descr
@@ -0,0 +1,10 @@
+This is a program for viewing MS Word documents. It produces plain
+text output, and can optionally convert non-standard characters into
+TeX control sequences.
+
+There is also a cute little tk program included called wordview, which
+is basically a small GUI frontend to catdoc for viewing word documents.
+You'll need TK 4.2 (in /usr/ports/x11/tk42) to use this.
+
+- Brion
+brion@queeg.com
diff --git a/textproc/catdoc/pkg-plist b/textproc/catdoc/pkg-plist
new file mode 100644
index 000000000000..9794101a6271
--- /dev/null
+++ b/textproc/catdoc/pkg-plist
@@ -0,0 +1,3 @@
+bin/catdoc
+bin/wordview
+man/man1/catdoc.1.gz