<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/0be759153d558f60b6306e0032ef12559a5c4ba3">https://github.com/macports/macports-ports/commit/0be759153d558f60b6306e0032ef12559a5c4ba3</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 0be759153d558f60b6306e0032ef12559a5c4ba3
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Mon Mar 11 20:41:34 2019 +1100

<span style='display:block; white-space:pre;color:#404040;'>    mpstats: adapt to base startupitem changes
</span>---
 sysutils/mpstats/Portfile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/mpstats/Portfile b/sysutils/mpstats/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index b462358..aa5b21b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/mpstats/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/mpstats/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21,6 +21,7 @@ distfiles
</span> set launchd_dir     ${prefix}/etc/${startupitem.location}/${startupitem.uniquename}/
 
 startupitem.create   no
<span style='display:block; white-space:pre;background:#e0ffe0;'>+startupitem.type     launchd
</span> startupitem.autostart \
                     yes
 
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -57,11 +58,13 @@ destroot {
</span>         ${destroot}${prefix}/etc/macports/stats.conf
 
     # install the plist, if startupitem.install is set
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    if {[getuid] == 0 && ${startupitem.install} ne no} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    if {[getuid] == 0 && ${startupitem.install}} {
</span>         xinstall -m 755 -d ${destroot}/Library/${startupitem.location}
         # note this symlink *will* be broken at destroot time; we'll place the
         # correct file there on activation
         ln -sf "${launchd_dir}${startupitem.plist}" "${destroot}/Library/${startupitem.location}"
<span style='display:block; white-space:pre;background:#e0ffe0;'>+    } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        ln -sf ${launchd_dir}${startupitem.plist} ${destroot}${prefix}/etc/${startupitem.location}
</span>     }
 }
 
</pre><pre style='margin:0'>

</pre>