blob: b424dd67200c782298717941b76ea74d0c1f8a2c (
plain)
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
29
30
|
# Created by: Bruce M Simpson
# $FreeBSD$
PORTNAME= ifd-test
PORTVERSION= 1.0
PORTREVISION= 3
CATEGORIES= devel security
MASTER_SITES= http://www.linuxnet.com/drivers/readers/files/
MAINTAINER= arved@FreeBSD.org
COMMENT= IFD Test Suite for PC/SC Lite
BROKEN= unfetchable
LIB_DEPENDS= libpcsclite.so:${PORTSDIR}/devel/pcsc-lite
USES= gmake
NOMAN=
PLIST_FILES= sbin/ifdtest
LIBS+= -L${LOCALBASE}/lib -lpcsclite
post-patch:
${REINPLACE_CMD} -e "s,LPSTR,LPTSTR,g; s,LPCSTR,LPCTSTR,g; \
s,[P]*SCARD_READERSTATE_A,SCARD_READERSTATE\*,g" \
${WRKSRC}/commands.h
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ifdtest ${STAGEDIR}${PREFIX}/sbin
.include <bsd.port.mk>
|