diff options
author | joerg <joerg> | 2008-06-12 02:14:13 +0000 |
---|---|---|
committer | joerg <joerg> | 2008-06-12 02:14:13 +0000 |
commit | 39d7fb93432416d872ed34e0025741cc93068c06 (patch) | |
tree | c12b9c282e2706cb6bac87456615dfdf2b256e55 /security/pcsc-lite | |
parent | cce8b72ae5b66d3a54ac565ef8ac6780597301bc (diff) | |
download | pkgsrc-39d7fb93432416d872ed34e0025741cc93068c06.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'security/pcsc-lite')
-rw-r--r-- | security/pcsc-lite/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/security/pcsc-lite/Makefile b/security/pcsc-lite/Makefile index 787a265ee23..0325e076ae1 100644 --- a/security/pcsc-lite/Makefile +++ b/security/pcsc-lite/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2008/03/04 11:29:08 shannonjr Exp $ +# $NetBSD: Makefile,v 1.2 2008/06/12 02:14:44 joerg Exp $ # DISTNAME= pcsc-lite-1.4.99 @@ -9,6 +9,8 @@ MAINTAINER= shannonjr@NetBSD.org HOMEPAGE= http://alioth.debian.org/frs/download.php/2257/ COMMENT= Middleware to access a smart card using SCard API (PC/SC). +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= yes USE_LIBTOOL= yes USE_TOOLS+= pkg-config @@ -32,13 +34,14 @@ CONF_FILES+= ${EGDIR}/reader.conf ${PKG_SYSCONFDIR}/reader.conf PKGCONFIG_OVERRIDE+= src/libpcsclite.pc.in +INSTALLATION_DIRS= ${EGDIR} + pre-configure: cd ${WRKSRC} && ${SH} bootstrap post-install: - ${INSTALL_DATA_DIR} ${EGDIR} - ${INSTALL_DATA} ${WRKSRC}/etc/reader.conf ${EGDIR} + ${INSTALL_DATA} ${WRKSRC}/etc/reader.conf ${DESTDIR}${EGDIR} .include "../../devel/libusb/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |