summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2011-03-04 08:31:12 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2011-03-04 08:31:12 +0000
commita6e131e4b90984adfdf44ea3e44aafba565b9c86 (patch)
treebc0905218680a337ec1d4617c8f0963d3e5b012c
parentlibrt is not needed, but we have nanosleep, fix check. (diff)
rubygem-multi_xml
A generic swappable back-end for XML parsing. Lots of Ruby libraries utilize XML parsing in some form, and everyone has their favorite XML library. In order to best support multiple XML parsers and libraries, multi_xml is a general-purpose swappable XML backend library. WWW: http://rubygems.org/gems/multi_xml
Notes
Notes: svn path=/head/; revision=270259
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/rubygem-multi_xml/Makefile27
-rw-r--r--textproc/rubygem-multi_xml/distinfo2
-rw-r--r--textproc/rubygem-multi_xml/pkg-descr8
4 files changed, 38 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 70acbb90edd7..8db6c83db5d7 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1140,6 +1140,7 @@
SUBDIR += rubygem-liquid
SUBDIR += rubygem-loofah
SUBDIR += rubygem-markaby
+ SUBDIR += rubygem-multi_xml
SUBDIR += rubygem-nokogiri
SUBDIR += rubygem-opml
SUBDIR += rubygem-rak
diff --git a/textproc/rubygem-multi_xml/Makefile b/textproc/rubygem-multi_xml/Makefile
new file mode 100644
index 000000000000..2a2ac4235a19
--- /dev/null
+++ b/textproc/rubygem-multi_xml/Makefile
@@ -0,0 +1,27 @@
+# Ports collection makefile for: rubygem-multi_xml
+# Date created: 4 March 2011
+# Whom: Cheng-Lung Sung <clsung@FreeBSD.org>
+#
+# $FreeBSD$
+
+PORTNAME= multi_xml
+PORTVERSION= 0.2.0
+CATEGORIES= textproc rubygems
+MASTER_SITES= RG
+
+MAINTAINER= clsung@FreeBSD.org
+COMMENT= Ruby library provide swappable XML backends
+
+OPTIONS= NOKOGIRI "Nokogiri is a HTML, XML, SAX, and Reader parser" off
+
+USE_RUBY= yes
+USE_RUBYGEMS= yes
+RUBYGEM_AUTOPLIST= yes
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_NOKOGIRI)
+RUN_DEPENDS+= rubygem-nokogiri>=0:${PORTSDIR}/textproc/rubygem-nokogiri
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/rubygem-multi_xml/distinfo b/textproc/rubygem-multi_xml/distinfo
new file mode 100644
index 000000000000..a5713a3d7555
--- /dev/null
+++ b/textproc/rubygem-multi_xml/distinfo
@@ -0,0 +1,2 @@
+SHA256 (rubygem/multi_xml-0.2.0.gem) = 5e78981a42028b9ac2f881b75212f8ffe8edcf8dcfe27020a567fd2a5e7ebfff
+SIZE (rubygem/multi_xml-0.2.0.gem) = 13312
diff --git a/textproc/rubygem-multi_xml/pkg-descr b/textproc/rubygem-multi_xml/pkg-descr
new file mode 100644
index 000000000000..95415e4cc6bc
--- /dev/null
+++ b/textproc/rubygem-multi_xml/pkg-descr
@@ -0,0 +1,8 @@
+A generic swappable back-end for XML parsing.
+
+Lots of Ruby libraries utilize XML parsing in some form, and
+everyone has their favorite XML library. In order to best
+support multiple XML parsers and libraries, multi_xml is a
+general-purpose swappable XML backend library.
+
+WWW: http://rubygems.org/gems/multi_xml