<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/15283cb82af492c911e24add93474a1db1f09263">https://github.com/macports/macports-ports/commit/15283cb82af492c911e24add93474a1db1f09263</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 15283cb82af pg stub: cleanup: remove superfluous proc 'subport_name'
</span>15283cb82af is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 15283cb82af492c911e24add93474a1db1f09263
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Sun Mar 27 11:29:57 2022 -0400
<span style='display:block; white-space:pre;color:#404040;'> pg stub: cleanup: remove superfluous proc 'subport_name'
</span>---
_resources/port1.0/group/stub-1.0.tcl | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/stub-1.0.tcl b/_resources/port1.0/group/stub-1.0.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 6fa902a9c7e..8c7ecdd40cf 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/stub-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/stub-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -33,7 +33,7 @@
</span> #------------------------------------------------------------------------------
#
# Options:
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# * stub.subport_name - override subport name, for README location
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# * stub.subport_name - override subport name, for README location
</span> #
#==============================================================================
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -53,14 +53,10 @@ use_configure no
</span>
build {}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-proc stub::subport_name {} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- return [option stub.subport_name]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> proc stub::destroot {} {
global destroot prefix
<span style='display:block; white-space:pre;background:#ffe0e0;'>- set subport_name [stub::subport_name]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set subport_name [option stub.subport_name]
</span> set docdir ${destroot}${prefix}/share/doc/${subport_name}
xinstall -d ${docdir}
system "echo ${subport_name} is a stub port > ${docdir}/README"
</pre><pre style='margin:0'>
</pre>