From 4f7645bf1d32525bf1f04cabb5daccdcadfedb3c Mon Sep 17 00:00:00 2001 From: obache Date: Thu, 1 May 2008 13:51:56 +0000 Subject: Add destdir support to catdoc and catdoc-tk. Fixes PR 38545. --- textproc/catdoc-tk/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'textproc/catdoc-tk') 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" -- cgit v1.2.3