1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/devel/p5-PCSC-Card/Makefile
2021-04-06 16:31:07 +02:00

31 lines
754 B
Makefile

# Created by: Bruce M Simpson
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: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>