aboutsummaryrefslogtreecommitdiffstats
path: root/security/pcsc-tools/Makefile
blob: 1e4c900a14a1f6b8c2158ea46761e8b8a18e6150 (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
# Created by: arved
# $FreeBSD$

PORTNAME=   pcsc-tools
PORTVERSION=    1.4.25
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
LICENSE_FILE=   ${WRKSRC}/LICENCE

LIB_DEPENDS=    libpcsclite.so:${PORTSDIR}/devel/pcsc-lite
RUN_DEPENDS=    p5-PCSC-Card>=0:${PORTSDIR}/devel/p5-PCSC-Card \
        p5-Gtk2>=0:${PORTSDIR}/x11-toolkits/p5-Gtk2

USES=       gmake pkgconfig

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/pcsc_scan \
        ${STAGEDIR}${PREFIX}/bin/
    ${INSTALL_SCRIPT} ${WRKSRC}/ATR_analysis \
        ${WRKSRC}/gscriptor \
        ${WRKSRC}/scriptor \
        ${STAGEDIR}${PREFIX}/bin/
    ${INSTALL_MAN} ${WRKSRC}/pcsc_scan.1 \
        ${WRKSRC}/gscriptor.1p \
        ${WRKSRC}/scriptor.1p \
        ${WRKSRC}/ATR_analysis.1p \
        ${STAGEDIR}${MAN1PREFIX}/man/man1
    ${MKDIR} ${STAGEDIR}/${PREFIX}/share/pcsc
    ${INSTALL_DATA} ${WRKSRC}/smartcard_list.txt \
        ${STAGEDIR}/${PREFIX}/share/pcsc

.include <bsd.port.mk>