aboutsummaryrefslogtreecommitdiff
path: root/textproc/Makefile
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2011-12-16 22:23:34 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2011-12-16 22:23:34 +0000
commit8d20cbf7185676325212b36ee3d80dcc1f18f88d (patch)
tree41237bbdb80eb5cb27f37866000848d7a2919b2e /textproc/Makefile
parent66f31bdae79ee667d8e3e58f5cace3a86369482e (diff)
downloadports-8d20cbf7185676325212b36ee3d80dcc1f18f88d.tar.gz
ports-8d20cbf7185676325212b36ee3d80dcc1f18f88d.zip
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 a " (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/ PR: ports/163362 Submitted by: Scott Sanders <scott@jssjr.com> Sponsored by: RideCharge Inc. / Taxi Magic
Notes
Notes: svn path=/head/; revision=287508
Diffstat (limited to 'textproc/Makefile')
-rw-r--r--textproc/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 93ef7b0c2848..4e74d79ffb3e 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1223,6 +1223,7 @@
SUBDIR += rubygem-diff-lcs
SUBDIR += rubygem-escape_utils
SUBDIR += rubygem-ezamar
+ SUBDIR += rubygem-fast_xs
SUBDIR += rubygem-ferret
SUBDIR += rubygem-formosa
SUBDIR += rubygem-heredoc_unindent