aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libccid/Makefile
blob: 4406643d2374fc1e24d9d21a417d02ff0dda36da (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# New ports collection Makefile for:        libccid
# Date created:                 2005-01-20
# Whom:                     arved
#
# $FreeBSD$

PORTNAME=   ccid
PORTVERSION=    1.1.0
CATEGORIES= devel
MASTER_SITES=   http://alioth.debian.org/download.php/1740/

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
CONFIGURE_ARGS= --enable-usbdropdir=${LOCALBASE}/lib/pcsc/drivers \
        --enable-ccidtwindir=${LOCALBASE}/lib/pcsc/drivers/serial \
CONFIGURE_ENV=  CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
        LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS}" \
        LIBUSB_CFLAGS="-I${LOCALBASE}/include" \
        LIBUSB_LIBS="-L${LOCALBASE}/lib -lusb"

PLIST_SUB=  VER=${PORTVERSION}

.include <bsd.port.mk>