diff options
author | joerg <joerg@pkgsrc.org> | 2008-02-04 18:07:53 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-02-04 18:07:53 +0000 |
commit | 3f438c392c1b140fe00540b81f3c10698ee9b683 (patch) | |
tree | 0df425b41b53714ea1703093feaec4f185bd97fc /x11/qt4-docs | |
parent | 7d1989c3c8bf005273f115c42f4ed7d50043a92d (diff) | |
download | pkgsrc-3f438c392c1b140fe00540b81f3c10698ee9b683.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'x11/qt4-docs')
-rw-r--r-- | x11/qt4-docs/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/x11/qt4-docs/Makefile b/x11/qt4-docs/Makefile index 49a1ca97c17..db992923aa7 100644 --- a/x11/qt4-docs/Makefile +++ b/x11/qt4-docs/Makefile @@ -1,4 +1,6 @@ -# $NetBSD: Makefile,v 1.3 2007/03/18 17:34:41 adam Exp $ +# $NetBSD: Makefile,v 1.4 2008/02/04 18:15:34 joerg Exp $ + +PKG_DESTDIR_SUPPORT= user-destdir .include "../../x11/qt4-libs/Makefile.common" @@ -9,9 +11,11 @@ NO_CONFIGURE= yes NO_BUILD= yes PLIST_SRC= ${WRKDIR}/PLIST ${PKGDIR}/PLIST +INSTALLATION_DIRS= ${QTPREFIX} + do-install: - cp -R ${WRKSRC}/doc ${QTPREFIX} - cd ${PREFIX}; find qt4/doc -type f -print > ${WRKDIR}/PLIST + cp -R ${WRKSRC}/doc ${DESTDIR}${QTPREFIX} + cd ${DESTDIR}${PREFIX}; find qt4/doc -type f -print > ${WRKDIR}/PLIST .include "../../x11/qt4-libs/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |