diff options
author | joerg <joerg@pkgsrc.org> | 2007-08-08 17:10:29 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-08-08 17:10:29 +0000 |
commit | 9b92cfd6e364d6c0e83b216c42ce738b40183af0 (patch) | |
tree | b865c34086a5fcd3bc004337415f2bbe0c26b8ee /x11/qt3-libs | |
parent | 87399939171ea6f4b2e275d72ebe60c1d338281c (diff) | |
download | pkgsrc-9b92cfd6e364d6c0e83b216c42ce738b40183af0.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'x11/qt3-libs')
-rw-r--r-- | x11/qt3-libs/Makefile | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/x11/qt3-libs/Makefile b/x11/qt3-libs/Makefile index fed4c282601..ed40d21cb36 100644 --- a/x11/qt3-libs/Makefile +++ b/x11/qt3-libs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.64 2007/08/01 20:51:23 tron Exp $ +# $NetBSD: Makefile,v 1.65 2007/08/08 17:10:29 joerg Exp $ PKGNAME= qt3-libs-${QTVERSION} PKGREVISION= 3 @@ -7,6 +7,8 @@ COMMENT= C++ X GUI toolkit LIBQT= ${WRKSRC}/lib/libqt-mt.la +PKG_DESTDIR_SUPPORT= user-destdir + .include "../../mk/bsd.prefs.mk" # XXX: hack - work round an ICE with GCC 3.3 on sparc .if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "sparc" @@ -29,21 +31,18 @@ UNLIMIT_RESOURCES= datasize BUILDLINK_PASSTHRU_DIRS+= ${QTPREFIX} +INSTALLATION_DIRS= ${QTPREFIX}/bin ${QTPREFIX}/include/private +INSTALLATION_DIRS+= ${QTPREFIX}/lib ${QTPREFIX}/plugins/imageformats +INSTALLATION_DIRS+= lib/pkgconfig + do-install: - ${INSTALL_DATA_DIR} ${QTPREFIX} - ${INSTALL_PROGRAM_DIR} ${QTPREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/bin/moc ${QTPREFIX}/bin/ - ${INSTALL_LIB_DIR} ${QTPREFIX}/lib - ${LIBTOOL} ${INSTALL_LIB} ${WRKSRC}/lib/libqt-mt.la ${QTPREFIX}/lib/ - ${INSTALL_DATA_DIR} ${QTPREFIX}/include - ${INSTALL_DATA} ${WRKSRC}/include/*.h ${QTPREFIX}/include/ - ${INSTALL_DATA_DIR} ${QTPREFIX}/include/private - ${INSTALL_DATA} ${WRKSRC}/include/private/*.h ${QTPREFIX}/include/private/ - ${INSTALL_LIB_DIR} ${QTPREFIX}/plugins - ${INSTALL_LIB_DIR} ${QTPREFIX}/plugins/imageformats - ${LIBTOOL} ${INSTALL_LIB} ${WRKSRC}/plugins/imageformats/libqjpeg.la ${QTPREFIX}/plugins/imageformats/ - ${LIBTOOL} ${INSTALL_LIB} ${WRKSRC}/plugins/imageformats/libqmng.la ${QTPREFIX}/plugins/imageformats/ - ${INSTALL_DATA} ${WRKSRC}/lib/qt-mt.pc ${PREFIX}/lib/pkgconfig/ + ${INSTALL_PROGRAM} ${WRKSRC}/bin/moc ${DESTDIR}${QTPREFIX}/bin + ${LIBTOOL} ${INSTALL_LIB} ${WRKSRC}/lib/libqt-mt.la ${DESTDIR}${QTPREFIX}/lib + ${INSTALL_DATA} ${WRKSRC}/include/*.h ${DESTDIR}${QTPREFIX}/include/ + ${INSTALL_DATA} ${WRKSRC}/include/private/*.h ${DESTDIR}${QTPREFIX}/include/private + ${LIBTOOL} ${INSTALL_LIB} ${WRKSRC}/plugins/imageformats/libqjpeg.la ${DESTDIR}${QTPREFIX}/plugins/imageformats/ + ${LIBTOOL} ${INSTALL_LIB} ${WRKSRC}/plugins/imageformats/libqmng.la ${DESTDIR}${QTPREFIX}/plugins/imageformats/ + ${INSTALL_DATA} ${WRKSRC}/lib/qt-mt.pc ${DESTDIR}${PREFIX}/lib/pkgconfig .if ${OPSYS} == "Darwin" && empty(MACHINE_PLATFORM:MDarwin-[567].*) SUBST_CLASSES+= socklen |