summaryrefslogtreecommitdiff
path: root/sysutils/cfengine2-doc
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-06-20 01:09:05 +0000
committerjoerg <joerg@pkgsrc.org>2008-06-20 01:09:05 +0000
commit3b0d97b0de8516db29699676c860489da3f7f0e1 (patch)
treebb388f6b2532587595653e67cce25229ed050cb8 /sysutils/cfengine2-doc
parent10abca39942a8f34d088f39ccc073fee44271274 (diff)
downloadpkgsrc-3b0d97b0de8516db29699676c860489da3f7f0e1.tar.gz
Add DESTDIR support.
Diffstat (limited to 'sysutils/cfengine2-doc')
-rw-r--r--sysutils/cfengine2-doc/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/sysutils/cfengine2-doc/Makefile b/sysutils/cfengine2-doc/Makefile
index 368ef28874e..f5ba5eaf3ad 100644
--- a/sysutils/cfengine2-doc/Makefile
+++ b/sysutils/cfengine2-doc/Makefile
@@ -1,8 +1,10 @@
-# $NetBSD: Makefile,v 1.10 2007/02/22 19:27:10 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2008/06/20 01:09:35 joerg Exp $
#
PKGNAME= cfengine-doc-${CFENGINE_VERSION}
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../sysutils/cfengine2/Makefile.common"
COMMENT= Documentation for cfengine
@@ -17,8 +19,8 @@ INSTALLATION_DIRS= ${PKGINFODIR} ${HTMLDIR}
do-install:
cd ${WRKSRC}/doc; for f in *.info *.info-[0-9]*; do \
${TEST} ! -f "$$f" || \
- ${INSTALL_DATA} "$$f" ${PREFIX}/${PKGINFODIR}; \
+ ${INSTALL_DATA} "$$f" ${DESTDIR}${PREFIX}/${PKGINFODIR}; \
done
- ${INSTALL_DATA} ${WRKSRC}/doc/cfengine-*.html ${HTMLDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/cfengine-*.html ${DESTDIR}${HTMLDIR}
.include "../../mk/bsd.pkg.mk"