freebsd-ports/devel/p5-PCSC-Card/Makefile
Mathieu Arnold 4e1b79a0a6 Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:00:51 +00:00

31 lines
766 B
Makefile

# 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: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>