blob: cad1966a8fc502904ffcafd8feee33e664728bb2 (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# 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
PORTREVISION= 1
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
LIB_DEPENDS= pcsclite.1:${PORTSDIR}/devel/pcsc-lite
USE_GMAKE= yes
CFLAGS+= -fPIC
PKGMESSAGE= ${WRKDIR}/pkg-message
WRKSRC= ${WRKDIR}/${PORTNAME:S/^ifd-//}
PORTDOCS= README
PLIST_FILES= lib/pcsc/drivers/libslb_rf60.so
do-install:
${MKDIR} ${PREFIX}/lib/pcsc/drivers/
${INSTALL_DATA} ${WRKSRC}/libslb_rf60.so \
${PREFIX}/lib/pcsc/drivers/libslb_rf60.so
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>
|