summaryrefslogtreecommitdiff
path: root/textproc/catdoc-tk
diff options
context:
space:
mode:
authorreed <reed@pkgsrc.org>2007-01-24 17:07:00 +0000
committerreed <reed@pkgsrc.org>2007-01-24 17:07:00 +0000
commit11263f390b2a110c1d8430efe248669d8b895eb6 (patch)
tree275e95f22129bf343c6f4f0012ebeb0f3ff1c56d /textproc/catdoc-tk
parent42b8b975e445079a4dc0173a7081a9b3d3d54263 (diff)
downloadpkgsrc-11263f390b2a110c1d8430efe248669d8b895eb6.tar.gz
Update to version 0.94.2.
Removed four patches. Improved DESCRiptions. Improved COMMENT. catdoc is now: COMMENT=Converts MS Word, Excel and Powerpoint files to plain text catdoc-tk's COMMENT is made to stay the same. The catdoc-tk package now installs manpage also. And don't waste time building catdoc and binaries in catdoc-tk. (Should catdoc-tk package be renamed to "wordview?") The changelog is at http://www.45.free.net/~vitus/software/catdoc/changelog.html A lot of fixes plus now adds catppt utility to process powerpoint files. Also has many new character encodings and doesn't install xlsview.
Diffstat (limited to 'textproc/catdoc-tk')
-rw-r--r--textproc/catdoc-tk/DESCR13
-rw-r--r--textproc/catdoc-tk/Makefile12
-rw-r--r--textproc/catdoc-tk/PLIST3
3 files changed, 13 insertions, 15 deletions
diff --git a/textproc/catdoc-tk/DESCR b/textproc/catdoc-tk/DESCR
index 4977baf5ab2..7d7ad38f378 100644
--- a/textproc/catdoc-tk/DESCR
+++ b/textproc/catdoc-tk/DESCR
@@ -1,10 +1,5 @@
-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.
-This package provides the wordview program that comes with
-catdoc, which requires Tk and X11.
+The wordview program is simple GUI wrapper around catdoc(1) which
+allows browsing through a Word file interactively.
diff --git a/textproc/catdoc-tk/Makefile b/textproc/catdoc-tk/Makefile
index 50f0c42b5f5..affb1c51cb6 100644
--- a/textproc/catdoc-tk/Makefile
+++ b/textproc/catdoc-tk/Makefile
@@ -1,23 +1,25 @@
-# $NetBSD: Makefile,v 1.7 2006/02/05 23:11:00 joerg Exp $
+# $NetBSD: Makefile,v 1.8 2007/01/24 17:07:00 reed Exp $
#
.include "../../textproc/catdoc/Makefile.common"
PKGNAME= ${DISTNAME:S/catdoc/catdoc-tk/}
-PKGREVISION= 1
-COMMENT+= (Tk interface)
+COMMENT= Reads MS-Word file and puts out its content as plain text (Tk interface)
DEPENDS+= catdoc>=0.91.4nb1:../../textproc/catdoc
-
CONFIGURE_ARGS+= --enable-wordview
CONFIGURE_ENV+= WISH="${BUILDLINK_PREFIX.tk}/bin/wish"
CONFIGURE_ENV+= enable_wordview=yes
-INSTALLATION_DIRS= bin
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+
+do-build:
+ cd ${WRKSRC}/src && ${MAKE} wordview
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/src/wordview ${PREFIX}/bin/wordview
+ ${INSTALL_MAN} ${WRKSRC}/doc/wordview.1 ${PREFIX}/${PKGMANDIR}/man1/
.include "../../x11/tk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/catdoc-tk/PLIST b/textproc/catdoc-tk/PLIST
index 49bdb56b564..2da37bdc0e6 100644
--- a/textproc/catdoc-tk/PLIST
+++ b/textproc/catdoc-tk/PLIST
@@ -1,2 +1,3 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2003/09/17 14:58:44 jmmv Exp $
+@comment $NetBSD: PLIST,v 1.2 2007/01/24 17:07:00 reed Exp $
bin/wordview
+man/man1/wordview.1