Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 May 2016 13:59:07 +0000 (UTC)
From:      Tilman Keskinoz <arved@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r415832 - in head/devel: . acsccid
Message-ID:  <201605251359.u4PDx7Od043202@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: arved
Date: Wed May 25 13:59:07 2016
New Revision: 415832
URL: https://svnweb.freebsd.org/changeset/ports/415832

Log:
  Add ACS ccid, fork of libccid which supports smartcard readers made by
  acs.com.hk
  
  PR:		197825
  Submitted by:	mp39590@gmail.com

Added:
  head/devel/acsccid/
  head/devel/acsccid/Makefile   (contents, props changed)
  head/devel/acsccid/distinfo   (contents, props changed)
  head/devel/acsccid/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Wed May 25 13:28:21 2016	(r415831)
+++ head/devel/Makefile	Wed May 25 13:59:07 2016	(r415832)
@@ -53,6 +53,7 @@
     SUBDIR += ace
     SUBDIR += ace+tao-doc
     SUBDIR += acme
+    SUBDIR += acsccid
     SUBDIR += activitymail
     SUBDIR += ada-util
     SUBDIR += adabooch

Added: head/devel/acsccid/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/acsccid/Makefile	Wed May 25 13:59:07 2016	(r415832)
@@ -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>

Added: head/devel/acsccid/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/acsccid/distinfo	Wed May 25 13:59:07 2016	(r415832)
@@ -0,0 +1,2 @@
+SHA256 (acsccid-1.1.2.tar.bz2) = 451c60400f6f4417f75892549283ab3a0301019a5ef2801abde3ab7580dae708
+SIZE (acsccid-1.1.2.tar.bz2) = 438206

Added: head/devel/acsccid/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/acsccid/pkg-descr	Wed May 25 13:59:07 2016	(r415832)
@@ -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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605251359.u4PDx7Od043202>