diff --git a/textproc/p5-XML-Reader/Makefile b/textproc/p5-XML-Reader/Makefile index b53d2048e66e..51768343d851 100644 --- a/textproc/p5-XML-Reader/Makefile +++ b/textproc/p5-XML-Reader/Makefile @@ -6,7 +6,7 @@ # PORTNAME= XML-Reader -PORTVERSION= 0.39 +PORTVERSION= 0.40 CATEGORIES= textproc perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -14,8 +14,13 @@ PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Reading XML and providing path information based on a pull-parser -BUILD_DEPENDS= p5-XML-Parser>=1:${PORTSDIR}/textproc/p5-XML-Parser -RUN_DEPENDS= p5-XML-Parser>=1:${PORTSDIR}/textproc/p5-XML-Parser +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual + +TEST_DEPENDS= p5-XML-Parser>=1:${PORTSDIR}/textproc/p5-XML-Parser + +OPTIONS_DEFINE= PP +PP_DESC= Use XML::Parsepp (Perl 5.14+ required) PERL_CONFIGURE= yes @@ -23,4 +28,20 @@ MAN3= XML::Reader.3 \ XML::Reader_de.3 \ XML::Reader_fr.3 -.include +.include + +.if ${PORT_OPTIONS:MPP} +BUILD_DEPENDS+= p5-XML-Parsepp>=0:${PORTSDIR}/textproc/p5-XML-Parsepp +RUN_DEPENDS+= p5-XML-Parsepp>=0:${PORTSDIR}/textproc/p5-XML-Parsepp +.else +BUILD_DEPENDS+= p5-XML-Parser>=1:${PORTSDIR}/textproc/p5-XML-Parser +RUN_DEPENDS+= p5-XML-Parser>=1:${PORTSDIR}/textproc/p5-XML-Parser +.endif + +.include + +.if ${PERL_LEVEL} >= 501400 +TEST_DEPENDS+= p5-XML-Parsepp>=0:${PORTSDIR}/textproc/p5-XML-Parsepp +.endif + +.include diff --git a/textproc/p5-XML-Reader/distinfo b/textproc/p5-XML-Reader/distinfo index 84e5b3f692a5..01fb4a8fa3f7 100644 --- a/textproc/p5-XML-Reader/distinfo +++ b/textproc/p5-XML-Reader/distinfo @@ -1,2 +1,2 @@ -SHA256 (XML-Reader-0.39.tar.gz) = 296624121e3e541f2b5d928c71475e3576c545544f11e14ef6bf9a27597bcf12 -SIZE (XML-Reader-0.39.tar.gz) = 64113 +SHA256 (XML-Reader-0.40.tar.gz) = b9ab76a6010731838fe9920a08eb608d9fe8c2dd23566ba6dd58e5355431101b +SIZE (XML-Reader-0.40.tar.gz) = 72021