aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/libccid/Makefile20
-rw-r--r--devel/libccid/distinfo6
-rw-r--r--devel/libccid/pkg-plist4
3 files changed, 12 insertions, 18 deletions
diff --git a/devel/libccid/Makefile b/devel/libccid/Makefile
index bdd8360f1eb3..b51d5bbc73b8 100644
--- a/devel/libccid/Makefile
+++ b/devel/libccid/Makefile
@@ -5,9 +5,9 @@
# $FreeBSD$
PORTNAME= ccid
-PORTVERSION= 0.9.4
+PORTVERSION= 1.0.0
CATEGORIES= devel
-MASTER_SITES= http://alioth.debian.org/download.php/1291/
+MASTER_SITES= http://alioth.debian.org/download.php/1474/
MAINTAINER= arved@FreeBSD.org
COMMENT= Generic USB CCID (Chip/Smart Card Interface Devices) driver
@@ -15,18 +15,12 @@ COMMENT= Generic USB CCID (Chip/Smart Card Interface Devices) driver
LIB_DEPENDS= usb-0.1.8:${PORTSDIR}/devel/libusb \
pcsclite.1:${PORTSDIR}/devel/pcsc-lite
-USE_REINPLACE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --enable-libusb=${LOCALBASE} \
- --enable-usbdropdir=${LOCALBASE}/lib/pcsc/drivers \
+CONFIGURE_ARGS= --enable-usbdropdir=${LOCALBASE}/lib/pcsc/drivers \
--enable-ccidtwindir=${LOCALBASE}/lib/pcsc/drivers/serial \
- --enable-pcsclite=yes
-CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
- LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS}"
-
-post-patch:
-# ${REINPLACE_CMD} -e "s,-lpcsclite,-lpcsclite ${PTHREAD_LIBS}," \
-# ${WRKSRC}/examples/Makefile.in
- ${REINPLACE_CMD} -e "s,LDLIBS,LIBS,g" ${WRKSRC}/configure
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
+ LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS}" \
+ LIBUSB_CFLAGS="-I${LOCALBASE}/include" \
+ LIBUSB_LIBS="-L${LOCALBASE}/lib -lusb"
.include <bsd.port.mk>
diff --git a/devel/libccid/distinfo b/devel/libccid/distinfo
index 3e3814b13dd2..16cc65ea3b09 100644
--- a/devel/libccid/distinfo
+++ b/devel/libccid/distinfo
@@ -1,3 +1,3 @@
-MD5 (ccid-0.9.4.tar.gz) = 9c73165ceb105b648847bc6ded747209
-SHA256 (ccid-0.9.4.tar.gz) = d9f2aa7479c41e81a3810fc9b64437d656d9639a4032e05d53f50d05b5f99c64
-SIZE (ccid-0.9.4.tar.gz) = 515641
+MD5 (ccid-1.0.0.tar.gz) = cae1d55c3361d6202adfdbea9d4e94d7
+SHA256 (ccid-1.0.0.tar.gz) = 64069a40f945a261c5ca41598e173ef1d0861f65289c41f8a84dc9b220fc93cd
+SIZE (ccid-1.0.0.tar.gz) = 536090
diff --git a/devel/libccid/pkg-plist b/devel/libccid/pkg-plist
index 68f845b6236e..d24a98e1c1a3 100644
--- a/devel/libccid/pkg-plist
+++ b/devel/libccid/pkg-plist
@@ -1,6 +1,6 @@
-lib/pcsc/drivers/ifd-ccid.bundle/Contents/FreeBSD/libccid.so.0.9.4
+lib/pcsc/drivers/ifd-ccid.bundle/Contents/FreeBSD/libccid.so.1.0.0
lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist
@dirrm lib/pcsc/drivers/ifd-ccid.bundle/Contents/FreeBSD
@dirrm lib/pcsc/drivers/ifd-ccid.bundle/Contents
@dirrm lib/pcsc/drivers/ifd-ccid.bundle
-@dirrm lib/pcsc/drivers
+@dirrmtry lib/pcsc/drivers