30a5bfae3e
Devices) driver and ICCD (Integrated Circuit(s) Card Devices). See the USB CCID and ICCD specifications from the USB working group.
38 lines
1.1 KiB
Makefile
38 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2008/03/04 11:30:08 shannonjr Exp $
|
|
#
|
|
|
|
DISTNAME= ccid-1.3.5
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://alioth.debian.org/frs/download.php/2330/
|
|
|
|
MAINTAINER= shannonjr@NetBSD.org
|
|
HOMEPAGE= http://pcsclite.alioth.debian.org/ccid.html
|
|
COMMENT= Middleware to access a smart card using SCard API (PC/SC)
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= pkg-config
|
|
USE_TOOLS+= autoconf automake aclocal autoheader
|
|
USE_TOOLS+= flex
|
|
USE_LANGUAGES= c c++
|
|
|
|
CONFIGURE_ARGS+= --sharedstatedir=${VARBASE:Q}
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
|
|
|
|
SUBST_CLASSES+= perl
|
|
SUBST_STAGE.perl= post-patch
|
|
SUBST_FILES.perl= src/convert_version.pl src/create_Info_plist.pl
|
|
SUBST_SED.perl= -e 's,/usr/bin/perl,${PERL5},'
|
|
|
|
pre-configure:
|
|
cd ${WRKSRC} && ${SH} bootstrap
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ccid/README
|
|
|
|
.include "../../security/pcsc-lite/buildlink3.mk"
|
|
.include "../../devel/libusb/buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|