aboutsummaryrefslogtreecommitdiff
path: root/textproc/rubygem-fast_xs073
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2013-07-02 02:09:53 +0000
committerSteve Wills <swills@FreeBSD.org>2013-07-02 02:09:53 +0000
commit4cbe802d48b4122a2343e87d3180c03ebd88f0ae (patch)
tree2a33782b3c7201af12007912a6fc590768dd035f /textproc/rubygem-fast_xs073
parent8d8d2d5c9d6eb982e92d95c8eb1855403789c37e (diff)
downloadports-4cbe802d48b4122a2343e87d3180c03ebd88f0ae.tar.gz
ports-4cbe802d48b4122a2343e87d3180c03ebd88f0ae.zip
- Create backrev port for rubygem-fast_xs version 0.7.3 which is required by
chef
Notes
Notes: svn path=/head/; revision=322150
Diffstat (limited to 'textproc/rubygem-fast_xs073')
-rw-r--r--textproc/rubygem-fast_xs073/Makefile19
-rw-r--r--textproc/rubygem-fast_xs073/distinfo2
-rw-r--r--textproc/rubygem-fast_xs073/pkg-descr20
3 files changed, 41 insertions, 0 deletions
diff --git a/textproc/rubygem-fast_xs073/Makefile b/textproc/rubygem-fast_xs073/Makefile
new file mode 100644
index 000000000000..e56e38f3f41f
--- /dev/null
+++ b/textproc/rubygem-fast_xs073/Makefile
@@ -0,0 +1,19 @@
+# Created by: Scott Sanders <scott@jssjr.com>
+# $FreeBSD$
+
+PORTNAME= fast_xs
+PORTVERSION= 0.8.0
+PORTEPOCH= 1
+CATEGORIES= textproc rubygems
+MASTER_SITES= RG
+
+MAINTAINER= ruby@FreeBSD.org
+COMMENT= A systems integration framework. Expander
+
+RUN_DEPENDS= rubygem-hoe>=2.3.2:${PORTSDIR}/devel/rubygem-hoe
+
+USE_RUBY= yes
+USE_RUBYGEMS= yes
+RUBYGEM_AUTOPLIST= yes
+
+.include <bsd.port.mk>
diff --git a/textproc/rubygem-fast_xs073/distinfo b/textproc/rubygem-fast_xs073/distinfo
new file mode 100644
index 000000000000..fc17ff868d7e
--- /dev/null
+++ b/textproc/rubygem-fast_xs073/distinfo
@@ -0,0 +1,2 @@
+SHA256 (rubygem/fast_xs-0.8.0.gem) = 5ff2e1b088bdad3d4eae2a71b118b8aa9b39975702853c3bb307e35db1facdc7
+SIZE (rubygem/fast_xs-0.8.0.gem) = 22016
diff --git a/textproc/rubygem-fast_xs073/pkg-descr b/textproc/rubygem-fast_xs073/pkg-descr
new file mode 100644
index 000000000000..2a9e7539aea8
--- /dev/null
+++ b/textproc/rubygem-fast_xs073/pkg-descr
@@ -0,0 +1,20 @@
+fast_xs provides C extensions for escaping text.
+
+The original String#fast_xs method is based on the xchar code by Sam Ruby:
+
+o intertwingly.net/stories/2005/09/28/xchar.rb
+o intertwingly.net/blog/2005/09/28/XML-Cleansing
+
+_why also packages an older version with Hpricot (patches submitted). The
+version here should be compatible with the latest version of Hpricot code.
+
+Ruby on Rails will automatically use String#fast_xs from either Hpricot or this
+gem version with the bundled Builder package.
+
+String#fast_xs is an almost exact translation of Sam Ruby’s original
+implementation (String#to_xs), but it does escape “&quot;” (which is an
+optional, but all parsers are able ot handle it. XML::Builder as packaged in
+Rails 2.0 will be automatically use String#fast_xs instead of String#to_xs
+available.
+
+WWW: http://fast-xs.rubyforge.org/