diff options
Diffstat (limited to 'devel/rubygem-nori')
-rw-r--r-- | devel/rubygem-nori/Makefile | 16 | ||||
-rw-r--r-- | devel/rubygem-nori/pkg-descr | 7 |
2 files changed, 13 insertions, 10 deletions
diff --git a/devel/rubygem-nori/Makefile b/devel/rubygem-nori/Makefile index 00bd5689662b..b42fdfa74b08 100644 --- a/devel/rubygem-nori/Makefile +++ b/devel/rubygem-nori/Makefile @@ -3,28 +3,26 @@ DISTVERSION= 2.7.1 CATEGORIES= devel rubygems MASTER_SITES= RG -MAINTAINER= joe@thrallingpenguin.com -COMMENT= Library for converting XML to Hash syntax +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= XML to Hash translator WWW= https://github.com/savonrb/nori LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= rubygem-bigdecimal>0:math/rubygem-bigdecimal +RUN_DEPENDS= rubygem-bigdecimal>=0:math/rubygem-bigdecimal USES= gem NO_ARCH= yes -OPTIONS_DEFAULT= NOKOGIRI - -OPTIONS_MULTI= PARSER +OPTIONS_MULTI= PARSER OPTIONS_MULTI_PARSER= NOKOGIRI REXML - +OPTIONS_DEFAULT=NOKOGIRI NOKOGIRI_DESC= Use Nokogiri as parser REXML_DESC= Use REXML as parser -NOKOGIRI_RUN_DEPENDS= rubygem-nokogiri>0:textproc/rubygem-nokogiri -REXML_RUN_DEPENDS= rubygem-rexml>0:textproc/rubygem-rexml +NOKOGIRI_RUN_DEPENDS= rubygem-nokogiri>=0:textproc/rubygem-nokogiri +REXML_RUN_DEPENDS= rubygem-rexml>=3.2<4:textproc/rubygem-rexml .include <bsd.port.mk> diff --git a/devel/rubygem-nori/pkg-descr b/devel/rubygem-nori/pkg-descr index e1044fa8fefe..8214c6b6b8eb 100644 --- a/devel/rubygem-nori/pkg-descr +++ b/devel/rubygem-nori/pkg-descr @@ -1 +1,6 @@ -XML to Hash translator. +Really simple XML parsing ripped from Crack, which ripped it from Merb. + +Nori supports pluggable parsers and ships with both REXML and Nokogiri +implementations. + +It defaults to Nokogiri since v2.0.0, but you can change it to use REXML. |