aboutsummaryrefslogtreecommitdiffstats
path: root/security/pcsc-tools/Makefile
blob: d15898ac9829828a964a2464f114262f0f21c1cb (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.20
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>