summaryrefslogtreecommitdiff
path: root/textproc/catdoc-tk
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/catdoc-tk')
-rw-r--r--textproc/catdoc-tk/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/textproc/catdoc-tk/Makefile b/textproc/catdoc-tk/Makefile
index affb1c51cb6..e4393898fe9 100644
--- a/textproc/catdoc-tk/Makefile
+++ b/textproc/catdoc-tk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2007/01/24 17:07:00 reed Exp $
+# $NetBSD: Makefile,v 1.9 2008/05/01 13:51:56 obache Exp $
#
.include "../../textproc/catdoc/Makefile.common"
@@ -6,6 +6,8 @@
PKGNAME= ${DISTNAME:S/catdoc/catdoc-tk/}
COMMENT= Reads MS-Word file and puts out its content as plain text (Tk interface)
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= catdoc>=0.91.4nb1:../../textproc/catdoc
CONFIGURE_ARGS+= --enable-wordview
@@ -18,8 +20,8 @@ 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/
+ ${INSTALL_SCRIPT} ${WRKSRC}/src/wordview ${DESTDIR}${PREFIX}/bin/wordview
+ ${INSTALL_MAN} ${WRKSRC}/doc/wordview.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
.include "../../x11/tk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"