aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-XML-XML2JSON
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-01-22 16:44:05 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-01-22 16:44:05 +0000
commit8805ba8ebc6697fa84fc6c5ef2ba99d861951b9e (patch)
tree70c9e030ba00791e25b4f8ba25606a40df5a2e76 /textproc/p5-XML-XML2JSON
parent4cf133c49c2ac81b64c7d9ec180bcce7ccbe7f10 (diff)
downloadports-8805ba8ebc6697fa84fc6c5ef2ba99d861951b9e.tar.gz
ports-8805ba8ebc6697fa84fc6c5ef2ba99d861951b9e.zip
Notes
Diffstat (limited to 'textproc/p5-XML-XML2JSON')
-rw-r--r--textproc/p5-XML-XML2JSON/Makefile9
-rw-r--r--textproc/p5-XML-XML2JSON/distinfo4
2 files changed, 9 insertions, 4 deletions
diff --git a/textproc/p5-XML-XML2JSON/Makefile b/textproc/p5-XML-XML2JSON/Makefile
index 85e61957a223..0f90a8a1ad19 100644
--- a/textproc/p5-XML-XML2JSON/Makefile
+++ b/textproc/p5-XML-XML2JSON/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= XML-XML2JSON
-PORTVERSION= 0.05
+PORTVERSION= 0.06
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -14,6 +14,7 @@ PKGNAMEPREFIX= p5-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Convert XML into JSON (and back again) using XML::LibXML
+BUILD_DEPENDS= p5-XML-LibXML>=1.59:${PORTSDIR}/textproc/p5-XML-LibXML
RUN_DEPENDS= p5-XML-LibXML>=1.59:${PORTSDIR}/textproc/p5-XML-LibXML
# the order of options follows the search order of JSON module by XML::XML2JSON
@@ -29,22 +30,26 @@ MAN3= XML::XML2JSON.3
.include <bsd.port.options.mk>
.if defined(WITHOUT_JSON_SYCK) && !defined(WITH_JSON_XS) && !defined(WITH_JSON) && !defined(WITH_JSON_DWIW)
-IGNORE= You must choose at least one JSON module.
+IGNORE= you must choose at least one JSON module
.endif
.if !defined(WITHOUT_JSON_SYCK)
+BUILD_DEPENDS+= p5-YAML-Syck>=0:${PORTSDIR}/textproc/p5-YAML-Syck
RUN_DEPENDS+= p5-YAML-Syck>=0:${PORTSDIR}/textproc/p5-YAML-Syck
.endif
.if defined(WITH_JSON_XS)
+BUILD_DEPENDS+= p5-JSON-XS>=0:${PORTSDIR}/converters/p5-JSON-XS
RUN_DEPENDS+= p5-JSON-XS>=0:${PORTSDIR}/converters/p5-JSON-XS
.endif
.if defined(WITH_JSON)
+BUILD_DEPENDS+= p5-JSON>=0:${PORTSDIR}/converters/p5-JSON
RUN_DEPENDS+= p5-JSON>=0:${PORTSDIR}/converters/p5-JSON
.endif
.if defined(WITH_JSON_)
+BUILD_DEPENDS+= p5-JSON-DWIW>=0:${PORTSDIR}/converters/p5-JSON-DWIW
RUN_DEPENDS+= p5-JSON-DWIW>=0:${PORTSDIR}/converters/p5-JSON-DWIW
.endif
diff --git a/textproc/p5-XML-XML2JSON/distinfo b/textproc/p5-XML-XML2JSON/distinfo
index ad84047a64e2..34c76d66c281 100644
--- a/textproc/p5-XML-XML2JSON/distinfo
+++ b/textproc/p5-XML-XML2JSON/distinfo
@@ -1,2 +1,2 @@
-SHA256 (XML-XML2JSON-0.05.tar.gz) = a287c1bd058bf5aa2cd8c8e9d57647c92317d713a5c03a91ee23c3785bc7e7d7
-SIZE (XML-XML2JSON-0.05.tar.gz) = 23882
+SHA256 (XML-XML2JSON-0.06.tar.gz) = a4d0d081387533d3b6dff15ee4aebe32534073ef61a6a1cf00f515e1baa3fc7a
+SIZE (XML-XML2JSON-0.06.tar.gz) = 24504