Merge from vendor branch TNF:
[pkgsrc.git] / security / pcsc-tools / Makefile
1 # $NetBSD: Makefile,v 1.2 2008/04/10 07:56:09 wiz Exp $
2 #
3
4 DISTNAME=       pcsc-tools-1.4.15
5 CATEGORIES=     security
6 MASTER_SITES=   http://ludovic.rousseau.free.fr/softwares/pcsc-tools/
7
8 MAINTAINER=     shannonjr@NetBSD.org
9 HOMEPAGE=       http://ludovic.rousseau.free.fr/softwares/pcsc-tools/
10 COMMENT=        Some tools usefull for a PC/SC user.
11
12 DEPENDS+=       p5-pcsc-perl>=1.4.6:../../security/p5-pcsc
13
14 USE_TOOLS+=     pkg-config
15 USE_TOOLS+=     gmake
16 USE_TOOLS+=     perl:run
17
18 INSTALL_ENV+=   DESTDIR=${PREFIX:Q}
19
20 SUBST_CLASSES+=         prefix
21 SUBST_STAGE.prefix=     post-patch
22 SUBST_FILES.prefix=     ATR_analysis ./ATR_analysis.1p
23 SUBST_SED.prefix=       -e 's,/usr/local/pcsc,${PREFIX}/share/pcsc,'
24
25 SUBST_CLASSES+=         perl
26 SUBST_STAGE.perl=       post-patch
27 SUBST_FILES.perl=       scriptor gscriptor gscriptor.gtk1.2 ATR_analysis
28 SUBST_SED.perl=         -e 's,perl,${PERL5},'
29
30 .include "../../security/pcsc-lite/buildlink3.mk"
31 .include "../../security/ccid/buildlink3.mk"
32 .include "../../mk/bsd.pkg.mk"