summaryrefslogtreecommitdiff
path: root/security/pcsc-lite/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/pcsc-lite/Makefile')
-rw-r--r--security/pcsc-lite/Makefile17
1 files changed, 7 insertions, 10 deletions
diff --git a/security/pcsc-lite/Makefile b/security/pcsc-lite/Makefile
index 7880fc182b9..cd1e65bf3b0 100644
--- a/security/pcsc-lite/Makefile
+++ b/security/pcsc-lite/Makefile
@@ -1,47 +1,44 @@
-# $NetBSD: Makefile,v 1.7 2009/08/03 18:47:35 hasso Exp $
+# $NetBSD: Makefile,v 1.8 2009/10/02 12:36:13 hasso Exp $
#
DISTNAME= pcsc-lite-1.5.5
+PKGREVISION= 1
CATEGORIES= security
MASTER_SITES= http://alioth.debian.org/frs/download.php/3082/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= shannonjr@NetBSD.org
HOMEPAGE= http://pcsclite.alioth.debian.org/
-COMMENT= Middleware to access a smart card using SCard API (PC/SC).
+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
-USE_TOOLS+= autoconf automake aclocal autoheader
-AUTOMAKE_REQD= 1.10
-AUTOCONF_REQD= 2.58
USE_LANGUAGES= c c++
.include "options.mk"
CONFIGURE_ARGS+= --sharedstatedir=${VARBASE:Q}
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
+CONFIGURE_ARGS+= --enable-confdir=${PKG_SYSCONFDIR:Q}
CONFIGURE_ARGS+= --enable-ipcdir=${VARBASE}/pcsc-lite
CONFIGURE_ARGS+= --enable-usbdropdir=${PREFIX}/lib/pcsc-lite/drivers
CONFIGURE_ARGS+= --disable-libhal
MAKE_DIRS+= ${VARBASE}/pcsc-lite
MAKE_DIRS+= ${PREFIX}/lib/pcsc-lite
MAKE_DIRS+= ${PREFIX}/lib/pcsc-lite/drivers
+MAKE_DIRS+= ${PKG_SYSCONFDIR}/reader.conf.d
EGDIR= ${PREFIX}/share/examples/pcsc-lite
-CONF_FILES+= ${EGDIR}/reader.conf ${PKG_SYSCONFDIR}/reader.conf
+CONF_FILES+= ${EGDIR}/reader.conf ${PKG_SYSCONFDIR}/reader.conf.d/reader.conf
PKGCONFIG_OVERRIDE+= src/libpcsclite.pc.in
+BUILD_DEFS+= VARBASE
INSTALLATION_DIRS= ${EGDIR}
-pre-configure:
- cd ${WRKSRC} && ${SH} bootstrap
-
-
post-install:
${INSTALL_DATA} ${WRKSRC}/etc/reader.conf ${DESTDIR}${EGDIR}