diff --git a/textproc/Makefile b/textproc/Makefile index ff1e86c26ecc..c03609b53ef7 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1596,6 +1596,7 @@ SUBDIR += rubygem-regexp_property_values SUBDIR += rubygem-representable SUBDIR += rubygem-reverse_markdown + SUBDIR += rubygem-rexml SUBDIR += rubygem-ri_cal SUBDIR += rubygem-rich SUBDIR += rubygem-rly diff --git a/textproc/rubygem-rexml/Makefile b/textproc/rubygem-rexml/Makefile new file mode 100644 index 000000000000..1da214fd9fd4 --- /dev/null +++ b/textproc/rubygem-rexml/Makefile @@ -0,0 +1,20 @@ +# Created by: Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= rexml +PORTVERSION= 3.2.4 +CATEGORIES= textproc rubygems +MASTER_SITES= RG + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= XML toolkit for Ruby + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +USES= gem +USE_RUBY= yes + +NO_ARCH= yes + +.include diff --git a/textproc/rubygem-rexml/distinfo b/textproc/rubygem-rexml/distinfo new file mode 100644 index 000000000000..7f2f9a933028 --- /dev/null +++ b/textproc/rubygem-rexml/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1587445348 +SHA256 (rubygem/rexml-3.2.4.gem) = 036b31f3c052be42b7a2e6914f3322daaecce46b172806f38fea4297389b7bd6 +SIZE (rubygem/rexml-3.2.4.gem) = 77824 diff --git a/textproc/rubygem-rexml/pkg-descr b/textproc/rubygem-rexml/pkg-descr new file mode 100644 index 000000000000..fe7ae577af46 --- /dev/null +++ b/textproc/rubygem-rexml/pkg-descr @@ -0,0 +1,11 @@ +REXML was inspired by the Electric XML library for Java, which features an +easy-to-use API, small size, and speed. Hopefully, REXML, designed with the same +philosophy, has these same features. I've tried to keep the API as intuitive as +possible, and have followed the Ruby methodology for method naming and code +flow, rather than mirroring the Java API. + +REXML supports both tree and stream document parsing. Stream parsing is faster +(about 1.5 times as fast). However, with stream parsing, you don't get access to +features such as XPath. + +WWW: https://github.com/ruby/rexml