2013-08-17 18:21:37 +02:00
|
|
|
# Created by: chinsan
|
2011-02-16 06:03:28 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= Text-QRCode
|
2016-10-12 17:49:20 +02:00
|
|
|
PORTVERSION= 0.05
|
2017-09-23 04:59:07 +02:00
|
|
|
PORTREVISION= 1
|
2011-02-16 06:03:28 +01:00
|
|
|
CATEGORIES= textproc perl5
|
|
|
|
MASTER_SITES= CPAN
|
|
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
|
2013-08-17 18:21:37 +02:00
|
|
|
MAINTAINER= perl@FreeBSD.org
|
2011-02-16 06:03:28 +01:00
|
|
|
COMMENT= Generate text based QR Code
|
|
|
|
|
2017-09-15 10:58:46 +02:00
|
|
|
LICENSE= ART10 GPLv1+
|
2013-10-20 14:54:30 +02:00
|
|
|
LICENSE_COMB= dual
|
|
|
|
|
2016-04-01 16:25:16 +02:00
|
|
|
LIB_DEPENDS= libqrencode.so:graphics/libqrencode
|
2011-02-16 06:03:28 +01:00
|
|
|
|
2013-11-23 19:25:30 +01:00
|
|
|
USES= perl5 pkgconfig
|
2013-08-18 16:25:16 +02:00
|
|
|
USE_PERL5= configure
|
2013-11-23 19:25:30 +01:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|qrencode.h|${LOCALBASE}/include/&|' ${WRKSRC}/Makefile.PL ${WRKSRC}/QRCode.xs
|
2011-02-16 06:03:28 +01:00
|
|
|
|
2016-10-12 17:49:20 +02:00
|
|
|
post-install:
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Text/QRCode/QRCode.so
|
|
|
|
|
2011-02-16 06:03:28 +01:00
|
|
|
.include <bsd.port.mk>
|