Date: Tue, 31 May 2016 02:06:32 +0000 (UTC) From: Steve Wills <swills@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r416184 - in head/textproc: . rubygem-ox rubygem-ox/file Message-ID: <201605310206.u4V26W33072693@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: swills Date: Tue May 31 02:06:32 2016 New Revision: 416184 URL: https://svnweb.freebsd.org/changeset/ports/416184 Log: textproc/rubygem-ox: create port PR: 209708 Submitted by: mzaki@e-mail.ne.jp Added: head/textproc/rubygem-ox/ head/textproc/rubygem-ox/Makefile (contents, props changed) head/textproc/rubygem-ox/distinfo (contents, props changed) head/textproc/rubygem-ox/file/ head/textproc/rubygem-ox/file/patch-ox.gemspec (contents, props changed) head/textproc/rubygem-ox/pkg-descr (contents, props changed) Modified: head/textproc/Makefile Modified: head/textproc/Makefile ============================================================================== --- head/textproc/Makefile Tue May 31 01:40:09 2016 (r416183) +++ head/textproc/Makefile Tue May 31 02:06:32 2016 (r416184) @@ -1459,6 +1459,7 @@ SUBDIR += rubygem-octopress-escape-code SUBDIR += rubygem-opml SUBDIR += rubygem-org-ruby + SUBDIR += rubygem-ox SUBDIR += rubygem-parslet SUBDIR += rubygem-phone SUBDIR += rubygem-pretty-xml Added: head/textproc/rubygem-ox/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/rubygem-ox/Makefile Tue May 31 02:06:32 2016 (r416184) @@ -0,0 +1,25 @@ +# $FreeBSD$ + +PORTNAME= ox +PORTVERSION= 2.4.1 +CATEGORIES= textproc rubygems +MASTER_SITES= RG + +MAINTAINER= ruby@FreeBSD.org +COMMENT= Speed-optimized XML parser and object serializer for Ruby + +LICENSE= MIT + +USE_RUBY= yes +USES= gem + +# The original gem depends on ext/ox/ox.so, +# but the ext directory is eliminated by FreeBSD's Uses/gem.mk framework. +# The workaround below is to create symlink lib/ox/ox.so pointing to lib/ox.so. + +PLIST_FILES= ${GEM_LIB_DIR}/lib/ox/ox.so + +post-install: + ${LN} -s ../ox.so ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/lib/ox + +.include <bsd.port.mk> Added: head/textproc/rubygem-ox/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/rubygem-ox/distinfo Tue May 31 02:06:32 2016 (r416184) @@ -0,0 +1,3 @@ +TIMESTAMP = 1463981473 +SHA256 (rubygem/ox-2.4.1.gem) = 759bb0af0482c51fd22e41f632661406a486973ae569c3b1290043fa33e536ee +SIZE (rubygem/ox-2.4.1.gem) = 71680 Added: head/textproc/rubygem-ox/file/patch-ox.gemspec ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/rubygem-ox/file/patch-ox.gemspec Tue May 31 02:06:32 2016 (r416184) @@ -0,0 +1,11 @@ +--- ox.gemspec.orig 2016-05-23 07:20:09 UTC ++++ ox.gemspec +@@ -7,7 +7,7 @@ Gem::Specification.new do |s| + s.version = "2.4.1" + + s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version= +- s.require_paths = ["lib".freeze, "ext".freeze] ++ s.require_paths = ["lib".freeze] + s.authors = ["Peter Ohler".freeze] + s.date = "2016-04-30" + s.description = "A fast XML parser and object serializer that uses only standard C lib.\n \nOptimized XML (Ox), as the name implies was written to provide speed optimized\nXML handling. It was designed to be an alternative to Nokogiri and other Ruby\nXML parsers for generic XML parsing and as an alternative to Marshal for Object\nserialization. ".freeze Added: head/textproc/rubygem-ox/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/rubygem-ox/pkg-descr Tue May 31 02:06:32 2016 (r416184) @@ -0,0 +1,9 @@ +Ox, standing for Optimized XML, is a XML parser and object serializer, +which is designed to be a speed-optimized alternative to Nokogiri and Marshal. + +* Ox is self contained, and uses nothing other than standard C libraries. +* Ox writes/parses generic XML documents including HTML documents. +* Ox serializes Objects into human readable XML in contrast to Marshal +* Ox also supports SAX parsing. + +WWW: http://ohler.com/ox/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605310206.u4V26W33072693>