diff options
Diffstat (limited to 'textproc/catdoc-tk')
-rw-r--r-- | textproc/catdoc-tk/DESCR | 13 | ||||
-rw-r--r-- | textproc/catdoc-tk/Makefile | 12 | ||||
-rw-r--r-- | textproc/catdoc-tk/PLIST | 3 |
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 |