summaryrefslogtreecommitdiff
path: root/textproc/catdoc-tk
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2008-05-01 13:51:56 +0000
committerobache <obache@pkgsrc.org>2008-05-01 13:51:56 +0000
commit4f7645bf1d32525bf1f04cabb5daccdcadfedb3c (patch)
treea3fc14d0709c1d90f30e1f57aee25b4830456ee6 /textproc/catdoc-tk
parenteb18d20cce3ba116ae45261e9609ffb781efbc30 (diff)
downloadpkgsrc-4f7645bf1d32525bf1f04cabb5daccdcadfedb3c.tar.gz
Add destdir support to catdoc and catdoc-tk.
Fixes PR 38545.
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"