From owner-svn-ports-all@freebsd.org Tue May 31 02:06:33 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ACF82B556B6; Tue, 31 May 2016 02:06:33 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7CD261AA1; Tue, 31 May 2016 02:06:33 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u4V26W6x072699; Tue, 31 May 2016 02:06:32 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u4V26W33072693; Tue, 31 May 2016 02:06:32 GMT (envelope-from swills@FreeBSD.org) Message-Id: <201605310206.u4V26W33072693@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills Date: Tue, 31 May 2016 02:06:32 +0000 (UTC) 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 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 May 2016 02:06:33 -0000 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 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/