1 # $NetBSD: Makefile,v 1.2 2008/04/10 07:56:09 wiz Exp $
4 DISTNAME= pcsc-tools-1.4.15
6 MASTER_SITES= http://ludovic.rousseau.free.fr/softwares/pcsc-tools/
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.
12 DEPENDS+= p5-pcsc-perl>=1.4.6:../../security/p5-pcsc
14 USE_TOOLS+= pkg-config
18 INSTALL_ENV+= DESTDIR=${PREFIX:Q}
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,'
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},'
30 .include "../../security/pcsc-lite/buildlink3.mk"
31 .include "../../security/ccid/buildlink3.mk"
32 .include "../../mk/bsd.pkg.mk"