summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2009-02-11 22:35:49 +0000
committermarkd <markd@pkgsrc.org>2009-02-11 22:35:49 +0000
commitb46f7ab22c9a14c0f821ba8aed5e80443fff5d7e (patch)
treee74c15decdac9dec5be141821cdfe9e4258750d4 /x11
parent8f5a95e8a723a0290704ace1bf045a14ae76e1d3 (diff)
downloadpkgsrc-b46f7ab22c9a14c0f821ba8aed5e80443fff5d7e.tar.gz
add DESTDIR support.
Diffstat (limited to 'x11')
-rw-r--r--x11/kdelibdocs3/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/x11/kdelibdocs3/Makefile b/x11/kdelibdocs3/Makefile
index 4939827f34f..a535b0813d0 100644
--- a/x11/kdelibdocs3/Makefile
+++ b/x11/kdelibdocs3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.53 2008/02/20 10:21:55 rillig Exp $
+# $NetBSD: Makefile,v 1.54 2009/02/11 22:35:49 markd Exp $
DISTNAME= kdelibs-${_KDE_VERSION}
PKGNAME= kdelibdocs-${_KDE_VERSION}
@@ -6,6 +6,8 @@ CATEGORIES= x11 devel
COMMENT= KDE library documentation
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../meta-pkgs/kde3/Makefile.kde3"
BUILD_DEPENDS+= doxygen>=1.4.7:../../devel/doxygen
@@ -29,7 +31,7 @@ post-install:
DOCDIRS=`${FIND} . -name classmap.inc -print | ${SED} 's:/classmap.inc::'`; \
cd ${WRKSRC}; \
for d in $${DOCDIRS}; do \
- (cd $${d}; ${GMAKE} install-apidox); \
+ (cd $${d}; ${GMAKE} DESTDIR=${DESTDIR} install-apidox); \
done
.include "../../meta-pkgs/kde3/kde3.mk"