Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Nov 2013 18:25:30 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r334691 - head/textproc/p5-Text-QRCode
Message-ID:  <201311231825.rANIPUin010820@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Nov 23 18:25:30 2013
New Revision: 334691
URL: http://svnweb.freebsd.org/changeset/ports/334691

Log:
  - Update to 0.02
  
  Changes:	http://search.cpan.org/dist/Text-QRCode/Changes

Modified:
  head/textproc/p5-Text-QRCode/Makefile
  head/textproc/p5-Text-QRCode/distinfo   (contents, props changed)

Modified: head/textproc/p5-Text-QRCode/Makefile
==============================================================================
--- head/textproc/p5-Text-QRCode/Makefile	Sat Nov 23 18:20:40 2013	(r334690)
+++ head/textproc/p5-Text-QRCode/Makefile	Sat Nov 23 18:25:30 2013	(r334691)
@@ -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>

Modified: head/textproc/p5-Text-QRCode/distinfo
==============================================================================
--- head/textproc/p5-Text-QRCode/distinfo	Sat Nov 23 18:20:40 2013	(r334690)
+++ head/textproc/p5-Text-QRCode/distinfo	Sat Nov 23 18:25:30 2013	(r334691)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311231825.rANIPUin010820>