[137460] trunk/dports/ruby/rb-libxml2/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu Jun 11 20:06:45 PDT 2015


Revision: 137460
          https://trac.macports.org/changeset/137460
Author:   ryandesign at macports.org
Date:     2015-06-11 20:06:45 -0700 (Thu, 11 Jun 2015)
Log Message:
-----------
rb-libxml2: compute version from github.version rather than writing it manually

Modified Paths:
--------------
    trunk/dports/ruby/rb-libxml2/Portfile

Modified: trunk/dports/ruby/rb-libxml2/Portfile
===================================================================
--- trunk/dports/ruby/rb-libxml2/Portfile	2015-06-12 03:04:51 UTC (rev 137459)
+++ trunk/dports/ruby/rb-libxml2/Portfile	2015-06-12 03:06:45 UTC (rev 137460)
@@ -3,8 +3,10 @@
 PortSystem             1.0
 PortGroup              ruby 1.0
 PortGroup              github 1.0
+
 github.setup           xml4r libxml-ruby 2_3_4 REL_
-ruby.setup             {libxml2 libxml-ruby} 2.3.4 setup.rb {}
+version                [string map {_ .} ${github.version}]
+ruby.setup             {libxml2 libxml-ruby} ${version} setup.rb {}
 categories-append      textproc
 maintainers            nomaintainer
 platforms              darwin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150611/737e89bd/attachment.html>


More information about the macports-changes mailing list