pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security Convert to user-destdir.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2d1e7e4c480c
branches:  trunk
changeset: 398339:2d1e7e4c480c
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Aug 29 13:43:39 2009 +0000

description:
Convert to user-destdir.

diffstat:

 security/qca-tls/Makefile |  6 +++++-
 security/qca2/Makefile    |  9 ++++++---
 2 files changed, 11 insertions(+), 4 deletions(-)

diffs (62 lines):

diff -r b5a57cff306c -r 2d1e7e4c480c security/qca-tls/Makefile
--- a/security/qca-tls/Makefile Sat Aug 29 13:38:03 2009 +0000
+++ b/security/qca-tls/Makefile Sat Aug 29 13:43:39 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2009/08/26 19:58:16 sno Exp $
+# $NetBSD: Makefile,v 1.26 2009/08/29 13:45:16 wiz Exp $
 
 DISTNAME=      qca-tls-1.0
 PKGREVISION=   5
@@ -10,6 +10,8 @@
 HOMEPAGE=      http://delta.affinix.com/qca/
 COMMENT=       Cross-platform crypto API for QT - TLS plugin
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 USE_TOOLS+=    gmake
 USE_LIBTOOL=   yes
 HAS_CONFIGURE= yes
@@ -18,6 +20,8 @@
 CONFIGURE_ARGS+=       --with-openssl-inc=${SSLBASE}/include
 CONFIGURE_ARGS+=       --with-openssl-lib=${SSLBASE}/lib
 
+INSTALL_MAKE_FLAGS+=   INSTALL_ROOT=${DESTDIR:Q}
+
 .include "../../security/openssl/buildlink3.mk"
 .include "../../x11/qt3-libs/buildlink3.mk"
 BUILDLINK_API_DEPENDS.qt3-tools+=      qt3-tools>=3.3.5nb6
diff -r b5a57cff306c -r 2d1e7e4c480c security/qca2/Makefile
--- a/security/qca2/Makefile    Sat Aug 29 13:38:03 2009 +0000
+++ b/security/qca2/Makefile    Sat Aug 29 13:43:39 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2009/08/26 19:56:51 sno Exp $
+# $NetBSD: Makefile,v 1.9 2009/08/29 13:43:39 wiz Exp $
 
 DISTNAME=      qca-2.0.2
 PKGNAME=       qca2-${DISTNAME:C/.*-//}
@@ -12,12 +12,15 @@
 COMMENT=       Cross-platform crypto API for QT
 LICENSE=       gnu-lgpl-v2.1
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 USE_TOOLS+=    gmake
 USE_LIBTOOL=   yes
 HAS_CONFIGURE= yes
 USE_LANGUAGES= c++
+INSTALL_MAKE_FLAGS+=   INSTALL_ROOT=${DESTDIR:Q}
 
-INSTALLATION_DIRS=     qt4/include qt4/lib qt4/plugins/crypto
+INSTALLATION_DIRS=     qt4/include qt4/lib qt4/plugins/crypto lib/pkgconfig
 
 # install under qt4 prefix to not clash with qca 1.x
 CONFIGURE_ARGS+=       --prefix=${QTDIR}
@@ -25,7 +28,7 @@
 CONFIGURE_ARGS+=       --disable-tests
 
 post-install:
-       ${INSTALL_DATA} ${QTDIR}/lib/pkgconfig/qca2.pc ${DESTDIR}${PREFIX}/lib/pkgconfig/qca2.pc
+       ${INSTALL_DATA} ${DESTDIR}${QTDIR}/lib/pkgconfig/qca2.pc ${DESTDIR}${PREFIX}/lib/pkgconfig/qca2.pc
 
 .include "../../x11/qt4-libs/buildlink3.mk"
 .include "../../x11/qt4-tools/buildlink3.mk"



Home | Main Index | Thread Index | Old Index