diff options
author | swills <swills@FreeBSD.org> | 2013-07-02 10:09:53 +0800 |
---|---|---|
committer | swills <swills@FreeBSD.org> | 2013-07-02 10:09:53 +0800 |
commit | d78c8322eaac2569d4a9876d8253357ef4731861 (patch) | |
tree | 2a33782b3c7201af12007912a6fc590768dd035f /textproc | |
parent | d8443880bbff291af5eef3e88ebb51c062f67a56 (diff) | |
download | freebsd-ports-gnome-d78c8322eaac2569d4a9876d8253357ef4731861.tar.gz freebsd-ports-gnome-d78c8322eaac2569d4a9876d8253357ef4731861.tar.zst freebsd-ports-gnome-d78c8322eaac2569d4a9876d8253357ef4731861.zip |
- Create backrev port for rubygem-fast_xs version 0.7.3 which is required by
chef
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/rubygem-fast_xs073/Makefile | 19 | ||||
-rw-r--r-- | textproc/rubygem-fast_xs073/distinfo | 2 | ||||
-rw-r--r-- | textproc/rubygem-fast_xs073/pkg-descr | 20 |
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 “"” (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/ |