<pre style='margin:0'>
kimura wataru (kimuraw) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/027b922c6cbc8ff3dcfa67af8d0f6834e07672b4">https://github.com/macports/macports-ports/commit/027b922c6cbc8ff3dcfa67af8d0f6834e07672b4</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 027b922c6cbc8ff3dcfa67af8d0f6834e07672b4
</span>Author: kimura wataru <kimuraw@i.nifty.jp>
AuthorDate: Sun Dec 25 16:43:57 2016 +0900

<span style='display:block; white-space:pre;color:#404040;'>    group/ruby-1.0.tcl: improve ruby.setup "gem" to accept destroot.post_args
</span>---
 _resources/port1.0/group/ruby-1.0.tcl | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/ruby-1.0.tcl b/_resources/port1.0/group/ruby-1.0.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 104936d..58813c6 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/ruby-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/ruby-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -458,7 +458,10 @@ proc ruby.setup {module vers {type "install.rb"} {docs {}} {source "custom"} {im
</span>                 }
             }
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-            extract {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            extract {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                file mkdir ${worksrcpath}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                copy ${distpath}/${distname}.gem ${worksrcpath}/${ruby.filename}.gem
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            }
</span>             build {}
 
             pre-destroot {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -469,11 +472,9 @@ proc ruby.setup {module vers {type "install.rb"} {docs {}} {source "custom"} {im
</span>             destroot.target install
             destroot.args   --local --force --install-dir ${destroot}${ruby.gemdir}
             destroot.env-append rake=${ruby.rake}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+            destroot.post_args ${worksrcpath}/${ruby.filename}.gem
</span> 
             destroot {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                # note: port cannot read $distpath and $distname
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                #       outside of destroot {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                destroot.post_args ${distpath}/${distname}.gem
</span>                 command_exec destroot
 
                 set binDir ${destroot}${ruby.gemdir}/bin
</pre><pre style='margin:0'>

</pre>