From 28e92630360d845e5fddc8cc5b18e694863e4ab5 Mon Sep 17 00:00:00 2001 From: pi Date: Sat, 9 Aug 2014 12:36:30 +0000 Subject: textproc/p5-XML-Reader: 0.49 -> 0.51 - Add the possibility of reading http (using Net::HTTP) - fix a typing error in the POD documentation --- textproc/p5-XML-Reader/Makefile | 19 ++++++++++++------- textproc/p5-XML-Reader/distinfo | 4 ++-- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/textproc/p5-XML-Reader/Makefile b/textproc/p5-XML-Reader/Makefile index aded5eecbdf0..20a2f7a0e10b 100644 --- a/textproc/p5-XML-Reader/Makefile +++ b/textproc/p5-XML-Reader/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= XML-Reader -PORTVERSION= 0.49 +PORTVERSION= 0.51 CATEGORIES= textproc perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -13,18 +13,23 @@ COMMENT= Reading XML and providing path information based on a pull-parser LICENSE= ART10 GPLv1 LICENSE_COMB= dual +RUN_DEPENDS= p5-Net-HTTP>=0:${PORTSDIR}/net/p5-Net-HTTP +BUILD_DEPENDS= ${RUN_DEPENDS} TEST_DEPENDS= p5-XML-Parser>=1:${PORTSDIR}/textproc/p5-XML-Parser \ p5-XML-Parsepp>=0.04:${PORTSDIR}/textproc/p5-XML-Parsepp +USES= perl5 +USE_PERL5= configure + OPTIONS_DEFINE= PP PP_DESC= Use XML::Parsepp -USES= perl5 -USE_PERL5= configure +.include -PP_BUILD_DEPENDS= p5-XML-Parsepp>=0.04:${PORTSDIR}/textproc/p5-XML-Parsepp -PP_BUILD_DEPENDS_OFF= p5-XML-Parser>=1:${PORTSDIR}/textproc/p5-XML-Parser -PP_RUN_DEPENDS= p5-XML-Parsepp>=0.04:${PORTSDIR}/textproc/p5-XML-Parsepp -PP_RUN_DEPENDS_OFF= p5-XML-Parser>=1:${PORTSDIR}/textproc/p5-XML-Parser +.if ${PORT_OPTIONS:MPP} +RUN_DEPENDS+= p5-XML-Parsepp>=0.04:${PORTSDIR}/textproc/p5-XML-Parsepp +.else +RUN_DEPENDS+= p5-XML-Parser>=1:${PORTSDIR}/textproc/p5-XML-Parser +.endif .include diff --git a/textproc/p5-XML-Reader/distinfo b/textproc/p5-XML-Reader/distinfo index 1081b6b36aec..bcc75d2c830d 100644 --- a/textproc/p5-XML-Reader/distinfo +++ b/textproc/p5-XML-Reader/distinfo @@ -1,2 +1,2 @@ -SHA256 (XML-Reader-0.49.tar.gz) = 48acefd7015431affc130f834fd89bf843f9e8fd0a642ee032d917e2faa06457 -SIZE (XML-Reader-0.49.tar.gz) = 69424 +SHA256 (XML-Reader-0.51.tar.gz) = ccdc90d15c88ae8f6052405e5a9e53d7ddafcb4ad4a7430b1a40e2ac5fcf6448 +SIZE (XML-Reader-0.51.tar.gz) = 69873 -- cgit