aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpi <pi@FreeBSD.org>2014-08-09 20:36:30 +0800
committerpi <pi@FreeBSD.org>2014-08-09 20:36:30 +0800
commit28e92630360d845e5fddc8cc5b18e694863e4ab5 (patch)
tree3513fbd0fe99177240408e7ea4a8619b321adcea
parentf013e84258e8d22d72f7cf7f0e1288aab7802b24 (diff)
downloadfreebsd-ports-gnome-28e92630360d845e5fddc8cc5b18e694863e4ab5.tar.gz
freebsd-ports-gnome-28e92630360d845e5fddc8cc5b18e694863e4ab5.tar.zst
freebsd-ports-gnome-28e92630360d845e5fddc8cc5b18e694863e4ab5.zip
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
-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