summaryrefslogtreecommitdiff
path: root/textproc/p5-XML-Reader
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2014-08-09 12:36:30 +0000
committerKurt Jaeger <pi@FreeBSD.org>2014-08-09 12:36:30 +0000
commit0d9f8ba47583ac76659d0340d52c5472f2d9902b (patch)
tree3513fbd0fe99177240408e7ea4a8619b321adcea /textproc/p5-XML-Reader
parenta278d202b38cb4ff650764882e6ab5b8ee1ccb54 (diff)
Notes
Diffstat (limited to 'textproc/p5-XML-Reader')
-rw-r--r--textproc/p5-XML-Reader/Makefile19
-rw-r--r--textproc/p5-XML-Reader/distinfo4
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 <bsd.port.options.mk>
-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 <bsd.port.mk>
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