aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-Text-QRCode
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2013-11-24 02:25:30 +0800
committersunpoet <sunpoet@FreeBSD.org>2013-11-24 02:25:30 +0800
commit982b40fd28de93b688382dd45f93cd5f5e55f808 (patch)
treec252d7b7e9bd62bceb33301644d949dbb92519a8 /textproc/p5-Text-QRCode
parentc1af984952ad9b868f5985d74d275839ebe62a38 (diff)
downloadfreebsd-ports-gnome-982b40fd28de93b688382dd45f93cd5f5e55f808.tar.gz
freebsd-ports-gnome-982b40fd28de93b688382dd45f93cd5f5e55f808.tar.zst
freebsd-ports-gnome-982b40fd28de93b688382dd45f93cd5f5e55f808.zip
- Update to 0.02
Changes: http://search.cpan.org/dist/Text-QRCode/Changes
Diffstat (limited to 'textproc/p5-Text-QRCode')
-rw-r--r--textproc/p5-Text-QRCode/Makefile13
-rw-r--r--textproc/p5-Text-QRCode/distinfo4
2 files changed, 9 insertions, 8 deletions
diff --git a/textproc/p5-Text-QRCode/Makefile b/textproc/p5-Text-QRCode/Makefile
index 1138180878e4..87eada214836 100644
--- a/textproc/p5-Text-QRCode/Makefile
+++ b/textproc/p5-Text-QRCode/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= Text-QRCode
-PORTVERSION= 0.01
-PORTREVISION= 1
+PORTVERSION= 0.02
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -14,11 +13,13 @@ COMMENT= Generate text based QR Code
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
-BUILD_DEPENDS= libqrencode>=2.0.0:${PORTSDIR}/graphics/libqrencode
-RUN_DEPENDS:= ${BUILD_DEPENDS}
+LIB_DEPENDS= libqrencode.so:${PORTSDIR}/graphics/libqrencode
-USES= perl5
+MAKE_ARGS= PKG_CONFIG_PATH=${LOCALBASE}/bin
+USES= perl5 pkgconfig
USE_PERL5= configure
-CFLAGS+= -I${LOCALBASE}/include
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|qrencode.h|${LOCALBASE}/include/&|' ${WRKSRC}/Makefile.PL ${WRKSRC}/QRCode.xs
.include <bsd.port.mk>
diff --git a/textproc/p5-Text-QRCode/distinfo b/textproc/p5-Text-QRCode/distinfo
index 78b3d2954350..dab8b21c9cc2 100644
--- a/textproc/p5-Text-QRCode/distinfo
+++ b/textproc/p5-Text-QRCode/distinfo
@@ -1,2 +1,2 @@
-SHA256 (Text-QRCode-0.01.tar.gz) = 925b9f8f03cce5d3818e4bf459e01b701a06ff1c8760e42ada4bf8f43d238a9d
-SIZE (Text-QRCode-0.01.tar.gz) = 51303
+SHA256 (Text-QRCode-0.02.tar.gz) = 271219f5296bb69f8858631e0ecf5f48554634110bcbaf513d56cb192d50e399
+SIZE (Text-QRCode-0.02.tar.gz) = 59874