aboutsummaryrefslogtreecommitdiffstats
path: root/security/pcsc-tools/Makefile
blob: aa46c3537269e9f6e3bc3c1c26989c3136f27fa9 (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
# New ports collection makefile for:    pcsc-tools
# Date created:             2012-01-20
# Whom:                 arved
#
# $FreeBSD$

PORTNAME=   pcsc-tools
PORTVERSION=    1.4.21
CATEGORIES= security
MASTER_SITES=   http://ludovic.rousseau.free.fr/softwares/pcsc-tools/

MAINTAINER= arved@FreeBSD.org
COMMENT=    Tools to test a PCSC driver, card, or reader

LICENSE=    GPLv2

LIB_DEPENDS=    pcsclite.1:${PORTSDIR}/devel/pcsc-lite
RUN_DEPENDS=    p5-PCSC-Card>=0:${PORTSDIR}/devel/p5-PCSC-Card

USE_GMAKE=  yes

MAN1=       pcsc_scan.1 gscriptor.1p scriptor.1p ATR_analysis.1p

post-patch:
    ${REINPLACE_CMD} -e "s,DESTDIR,PREFIX,g" ${WRKSRC}/Makefile

post-install:
.for i in ${MAN1}
    ${INSTALL_MAN} ${WRKSRC}/$i ${MAN1PREFIX}/man/man1
.endfor

.include <bsd.port.mk>