summaryrefslogtreecommitdiff
path: root/textproc/catdoc-tk/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/catdoc-tk/Makefile')
-rw-r--r--textproc/catdoc-tk/Makefile12
1 files changed, 7 insertions, 5 deletions
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"