diff options
| author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2014-02-27 22:50:37 +0000 |
|---|---|---|
| committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2014-02-27 22:50:37 +0000 |
| commit | aa768d97037bc392049fc2552b1d974c74951aa2 (patch) | |
| tree | 80535dc7ce95a4ea311f8270f1824c97efc7bc87 /textproc/p5-XML-Reader | |
| parent | 529cd25c5bf843e32a0c374136b6391a07754c36 (diff) | |
Notes
Diffstat (limited to 'textproc/p5-XML-Reader')
| -rw-r--r-- | textproc/p5-XML-Reader/Makefile | 26 |
1 files changed, 8 insertions, 18 deletions
diff --git a/textproc/p5-XML-Reader/Makefile b/textproc/p5-XML-Reader/Makefile index d1fd5b1d8705..aded5eecbdf0 100644 --- a/textproc/p5-XML-Reader/Makefile +++ b/textproc/p5-XML-Reader/Makefile @@ -13,28 +13,18 @@ COMMENT= Reading XML and providing path information based on a pull-parser LICENSE= ART10 GPLv1 LICENSE_COMB= dual -TEST_DEPENDS= p5-XML-Parser>=1:${PORTSDIR}/textproc/p5-XML-Parser +TEST_DEPENDS= p5-XML-Parser>=1:${PORTSDIR}/textproc/p5-XML-Parser \ + p5-XML-Parsepp>=0.04:${PORTSDIR}/textproc/p5-XML-Parsepp OPTIONS_DEFINE= PP -PP_DESC= Use XML::Parsepp (Perl 5.14+ required) +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} -BUILD_DEPENDS+= p5-XML-Parsepp>=0.04:${PORTSDIR}/textproc/p5-XML-Parsepp -RUN_DEPENDS+= p5-XML-Parsepp>=0.04:${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 <bsd.port.pre.mk> - -.if ${PERL_LEVEL} >= 501400 -TEST_DEPENDS+= p5-XML-Parsepp>=0.04:${PORTSDIR}/textproc/p5-XML-Parsepp -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> |
