2004-07-19 08:04:16 +02:00
|
|
|
# New ports collection makefile for: slb_rf60
|
|
|
|
# Date created: 20 Feb 2003
|
|
|
|
# Whom: Toni Andjelkovic <toni@soth.at>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= ifd-slb_rf60
|
|
|
|
PORTVERSION= 2.2.0
|
2005-04-20 14:42:06 +02:00
|
|
|
PORTREVISION= 1
|
2004-07-19 08:04:16 +02:00
|
|
|
CATEGORIES= security devel
|
|
|
|
MASTER_SITES= http://www.linuxnet.com/drivers/readers/files/
|
|
|
|
DISTNAME= ${PORTNAME:S/^ifd-//}-drv-${PORTVERSION}
|
|
|
|
|
|
|
|
MAINTAINER= toni@soth.at
|
|
|
|
COMMENT= PC/SC Lite driver for the Reflex 62 serial smart card reader
|
|
|
|
|
2005-04-20 14:42:06 +02:00
|
|
|
LIB_DEPENDS= pcsclite.1:${PORTSDIR}/devel/pcsc-lite
|
2004-07-19 08:04:16 +02:00
|
|
|
|
|
|
|
USE_GMAKE= yes
|
2005-04-21 16:42:37 +02:00
|
|
|
CFLAGS+= -fPIC
|
2004-07-19 08:04:16 +02:00
|
|
|
|
|
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME:S/^ifd-//}
|
|
|
|
|
|
|
|
PORTDOCS= README
|
2005-04-21 16:42:37 +02:00
|
|
|
PLIST_FILES= lib/pcsc/drivers/libslb_rf60.so
|
2004-07-19 08:04:16 +02:00
|
|
|
|
|
|
|
do-install:
|
2005-04-21 16:42:37 +02:00
|
|
|
${MKDIR} ${PREFIX}/lib/pcsc/drivers/
|
2004-07-19 08:04:16 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/libslb_rf60.so \
|
2005-04-21 16:42:37 +02:00
|
|
|
${PREFIX}/lib/pcsc/drivers/libslb_rf60.so
|
2004-07-19 08:04:16 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
@${SED} 's,%%PREFIX%%,${PREFIX},g' < ${FILESDIR}/pkg-message.in > \
|
|
|
|
${WRKDIR}/pkg-message
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|