blob: d7e4c61ef94053c43adbd0fa28229712242a5eda (
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
|
# Created by: Bruce M Simpson
# $FreeBSD$
PORTNAME= PCSC-Card
PORTVERSION= 1.4.14
CATEGORIES= devel perl5
MASTER_SITES= CPAN \
http://ludovic.rousseau.free.fr/softwares/pcsc-perl/
MASTER_SITE_SUBDIR= CPAN:WHOM
PKGNAMEPREFIX= p5-
DISTNAME= pcsc-perl-${PORTVERSION}
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl bindings for the PC/SC Lite Framework
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENCE
LIB_DEPENDS= libpcsclite.so:${PORTSDIR}/devel/pcsc-lite
USES= perl5 pkgconfig tar:bzip2
USE_PERL5= configure
MAKE_ENV= LOCALBASE="${LOCALBASE}"
post-patch:
@${REINPLACE_CMD} -e 's|-I/usr/local/pcsc/include|-I${LOCALBASE}/include/PCSC|' ${WRKSRC}/Makefile.PL
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Chipcard/PCSC/PCSC.so
.include <bsd.port.mk>
|