aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorhoek <hoek@FreeBSD.org>1998-02-13 01:30:29 +0800
committerhoek <hoek@FreeBSD.org>1998-02-13 01:30:29 +0800
commit26a76f1c67c9ea70f376374d41c5a53798478b01 (patch)
treefef9f049ec8caf6089c3c4bda3563e93c864063d /textproc
parentdfa5aae68c2245fc2978ba30f516b25295240e98 (diff)
downloadfreebsd-ports-gnome-26a76f1c67c9ea70f376374d41c5a53798478b01.tar.gz
freebsd-ports-gnome-26a76f1c67c9ea70f376374d41c5a53798478b01.tar.zst
freebsd-ports-gnome-26a76f1c67c9ea70f376374d41c5a53798478b01.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>
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