# New ports collection makefile for: ifd-test
# Date created: 23 August 2002
# Whom: Bruce M Simpson
#
# $FreeBSD: ports/devel/ifd-test/Makefile,v 1.10 2006/05/04 21:40:44 edwin Exp $
#
PORTNAME= ifd-test
PORTVERSION= 1.0
PORTREVISION= 2
CATEGORIES= devel security
MASTER_SITES= http://www.linuxnet.com/drivers/readers/files/
MAINTAINER= ports@FreeBSD.org
COMMENT= IFD Test Suite for PC/SC Lite
LIB_DEPENDS= pcsclite.1:${PORTSDIR}/devel/pcsc-lite
USE_GMAKE= yes
NOMAN=
PLIST_FILES= sbin/ifdtest
MAKE_ENV= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" \
LIBS="-L${PREFIX}/lib -lpcsclite ${PTHREAD_LIBS}"
post-patch:
${REINPLACE_CMD} -e "s,LPSTR,LPTSTR,g; s,LPCSTR,LPCTSTR,g" \
${WRKSRC}/commands.h ${WRKSRC}/ifdtest.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ifdtest ${PREFIX}/sbin
.include <bsd.port.mk>
syntax highlighted by Code2HTML, v. 0.9.1