Add ACS ccid, fork of libccid which supports smartcard readers made by

acs.com.hk

PR:		197825
Submitted by:	mp39590@gmail.com
This commit is contained in:
Tilman Keskinoz 2016-05-25 13:59:07 +00:00
parent 8a1f0e9c1f
commit 5d82915c98
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=415832
4 changed files with 45 additions and 0 deletions

View file

@ -53,6 +53,7 @@
SUBDIR += ace
SUBDIR += ace+tao-doc
SUBDIR += acme
SUBDIR += acsccid
SUBDIR += activitymail
SUBDIR += ada-util
SUBDIR += adabooch

36
devel/acsccid/Makefile Normal file
View file

@ -0,0 +1,36 @@
# Created by: mp39590@gmail.com
# $FreeBSD$
PORTNAME= acsccid
PORTVERSION= 1.1.2
CATEGORIES= devel
MASTER_SITES= SF
MAINTAINER= mp39590@gmail.com
COMMENT= PC/SC driver for CS CCID smart card readers
LICENSE= GPLv2
LIB_DEPENDS= libpcsclite.so:${PORTSDIR}/devel/pcsc-lite
USES= perl5 pkgconfig tar:bz2
PLIST_FILES= lib/pcsc/drivers/ifd-acsccid.bundle/Contents/FreeBSD/libacsccid.so \
lib/pcsc/drivers/ifd-acsccid.bundle/Contents/Info.plist
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
GNU_CONFIGURE= yes
.include <bsd.port.pre.mk>
# Old versions don't have pkgconfig files for libusb
.if ${OSVERSION} < 1000024
CONFIGURE_ENV+= LIBUSB_CFLAGS="-I${LOCALBASE}/include" \
LIBUSB_LIBS="-L${LOCALBASE}/lib -lusb"
.endif
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pcsc/drivers/ifd-acsccid.bundle/Contents/FreeBSD/libacsccid.so
.include <bsd.port.post.mk>

2
devel/acsccid/distinfo Normal file
View file

@ -0,0 +1,2 @@
SHA256 (acsccid-1.1.2.tar.bz2) = 451c60400f6f4417f75892549283ab3a0301019a5ef2801abde3ab7580dae708
SIZE (acsccid-1.1.2.tar.bz2) = 438206

6
devel/acsccid/pkg-descr Normal file
View file

@ -0,0 +1,6 @@
acsccid is a PC/SC driver for Linux/Mac OS X and it supports ACS CCID
smart card readers. This library provides a PC/SC IFD handler
implementation and communicates with the readers through the PC/SC Lite
resource manager (pcscd).
WWW: http://www.acs.com.hk/en/driver/4/acr38-smart-card-reader/