2005-04-20 13:33:39 +00:00
|
|
|
# New ports collection Makefile for: libccid
|
|
|
|
# Date created: 2005-01-20
|
|
|
|
# Whom: arved
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= ccid
|
2006-04-07 19:05:24 +00:00
|
|
|
PORTVERSION= 1.0.0
|
2005-04-20 13:33:39 +00:00
|
|
|
CATEGORIES= devel
|
2006-04-07 19:05:24 +00:00
|
|
|
MASTER_SITES= http://alioth.debian.org/download.php/1474/
|
2005-04-20 13:33:39 +00:00
|
|
|
|
|
|
|
MAINTAINER= arved@FreeBSD.org
|
|
|
|
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
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2006-04-07 19:05:24 +00:00
|
|
|
CONFIGURE_ARGS= --enable-usbdropdir=${LOCALBASE}/lib/pcsc/drivers \
|
2005-04-20 13:33:39 +00:00
|
|
|
--enable-ccidtwindir=${LOCALBASE}/lib/pcsc/drivers/serial \
|
2006-04-07 19:05:24 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
|
|
|
|
LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS}" \
|
|
|
|
LIBUSB_CFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBUSB_LIBS="-L${LOCALBASE}/lib -lusb"
|
2005-04-20 13:33:39 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|