[39815] trunk/dports/ruby

kimuraw at macports.org kimuraw at macports.org
Sat Sep 6 03:55:59 PDT 2008


Revision: 39815
          http://trac.macports.org/changeset/39815
Author:   kimuraw at macports.org
Date:     2008-09-06 03:55:58 -0700 (Sat, 06 Sep 2008)
Log Message:
-----------
ruby/rb-htree: New Port rb-htree
htree is a library of Ruby.
htree provides a tree data structure which represent HTML and XML data.

Added Paths:
-----------
    trunk/dports/ruby/rb-htree/
    trunk/dports/ruby/rb-htree/Portfile
    trunk/dports/ruby/rb-htree/files/
    trunk/dports/ruby/rb-htree/files/patch-install.rb.diff

Added: trunk/dports/ruby/rb-htree/Portfile
===================================================================
--- trunk/dports/ruby/rb-htree/Portfile	                        (rev 0)
+++ trunk/dports/ruby/rb-htree/Portfile	2008-09-06 10:55:58 UTC (rev 39815)
@@ -0,0 +1,38 @@
+# $Id$
+
+PortSystem		1.0
+PortGroup		ruby 1.0
+
+ruby.setup		htree 0.7 install.rb {README rdoc}
+maintainers		kimuraw
+description		htree provides a tree data structre which represent HTML and XML data.
+long_description	htree provides a tree data structre which represent HTML and XML data.\
+\
+  * Permissive unified HTML/XML parser\
+  * byte-to-byte roundtripping unparser\
+  * XML namespace support\
+  * Dedicated class for escaped string. This ease sanitization.\
+  * HTML/XHTML/XML generator\
+  * template engine\
+  * recursive template expansion\
+  * converter to REXML document\
+
+platforms   		darwin
+
+homepage        http://www.a-k-r.org/htree/
+master_sites    http://www.a-k-r.org/htree/
+checksums		md5 a65a52be7acdf91ddc7388c6fbc06763 \
+				rmd160 e6c2e8385da5fbd098326ead8abd533f294e1f5d \
+				sha1 e1a00176288e447e89ad4a835b159bd473a4fb41
+
+destroot.target --destdir=${destroot}
+patchfiles		patch-install.rb.diff
+
+test.run        yes
+test.cmd        ${ruby.bin}
+test.target		test-all.rb
+
+livecheck.check	regex
+livecheck.url	${homepage}
+livecheck.regex	{>htree-([0-9.]+).tar.gz</a>}
+


Property changes on: trunk/dports/ruby/rb-htree/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/ruby/rb-htree/files/patch-install.rb.diff
===================================================================
--- trunk/dports/ruby/rb-htree/files/patch-install.rb.diff	                        (rev 0)
+++ trunk/dports/ruby/rb-htree/files/patch-install.rb.diff	2008-09-06 10:55:58 UTC (rev 39815)
@@ -0,0 +1,11 @@
+--- install.rb.orig	2007-03-03 21:09:00.000000000 +0900
++++ install.rb	2008-09-06 14:48:35.000000000 +0900
+@@ -12,7 +12,7 @@
+ 
+ def target_directory
+   $:.each {|loc|
+-    if %r{/site_ruby/[\d.]+\z} =~ loc
++    if %r{/vendor_ruby/[\d.]+\z} =~ loc
+       return loc
+     end
+   }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080906/4f9bc5a2/attachment-0001.html 


More information about the macports-changes mailing list