diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 15:39:09 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 15:39:09 +0000 |
commit | 4b86e2bfab114a3edb0ceea2883a66b1745f9f06 (patch) | |
tree | 59c0548a0298c3f264975f618451fab4e14e6b25 /graphics/vtk-docs | |
parent | a6923789124411b85aaa9c9d97b6522350124999 (diff) | |
download | pkgsrc-4b86e2bfab114a3edb0ceea2883a66b1745f9f06.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'graphics/vtk-docs')
-rw-r--r-- | graphics/vtk-docs/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/graphics/vtk-docs/Makefile b/graphics/vtk-docs/Makefile index 51da921c722..7f342688205 100644 --- a/graphics/vtk-docs/Makefile +++ b/graphics/vtk-docs/Makefile @@ -1,19 +1,23 @@ -# $NetBSD: Makefile,v 1.5 2006/11/10 16:30:08 tv Exp $ +# $NetBSD: Makefile,v 1.6 2008/03/04 15:39:11 jlam Exp $ # DISTNAME= VTKDocHtml-4.2 PKGNAME= vtk-docs-4.2 COMMENT= Documentation for VTK (HTML) +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/html NO_BUILD= yes HTML_DIR= share/doc/${PKGNAME} do-install: - ${INSTALL_DATA_DIR} ${PREFIX:Q}/${HTML_DIR:Q} + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX:Q}/${HTML_DIR:Q} ${FIND} ${WRKSRC:Q} -type f -print | \ - while read f; do ${INSTALL_DATA} $$f ${PREFIX:Q}/${HTML_DIR:Q}; done + while read f; do \ + ${INSTALL_DATA} $$f ${DESTDIR}${PREFIX:Q}/${HTML_DIR:Q}; \ + done .include "../../graphics/vtk/Makefile.common" |