blob: 7880fc182b981e27575cdc82e37d6fb0c65bfb3e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# $NetBSD: Makefile,v 1.7 2009/08/03 18:47:35 hasso Exp $
#
DISTNAME= pcsc-lite-1.5.5
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).
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-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
EGDIR= ${PREFIX}/share/examples/pcsc-lite
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} ${WRKSRC}/etc/reader.conf ${DESTDIR}${EGDIR}
.include "../../devel/libusb/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|