<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/c1dd50d3d2ced165771b77f366deb0cd05751684">https://github.com/macports/macports-ports/commit/c1dd50d3d2ced165771b77f366deb0cd05751684</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 c1dd50d3d2c mactop: write log file in $prefix/var/log
</span>c1dd50d3d2c is described below

<span style='display:block; white-space:pre;color:#808000;'>commit c1dd50d3d2ced165771b77f366deb0cd05751684
</span>Author: Blair Zajac <blair@macports.org>
AuthorDate: Fri May 31 20:20:56 2024 -0700

<span style='display:block; white-space:pre;color:#404040;'>    mactop: write log file in $prefix/var/log
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    The log file is currently hardcoded to /var/log [1] so change this to
</span><span style='display:block; white-space:pre;color:#404040;'>    $prefix/var/log.
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    [1] https://github.com/context-labs/mactop/commit/52b618c1cc383a81b5fa50c80853b9569b92e15b
</span>---
 sysutils/mactop/Portfile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/mactop/Portfile b/sysutils/mactop/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ddc7f766568..0ef094ac47b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/mactop/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/mactop/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -6,7 +6,7 @@ PortGroup           golang 1.0
</span> go.setup            github.com/context-labs/mactop 0.1.8 v
 go.package          github.com/context-labs/mactop/v2
 github.tarball_from archive
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision            0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision            1
</span> 
 description         Apple Silicon Monitor Top written in pure Golang
 
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -23,6 +23,10 @@ maintainers         {gmail.com:herby.gillot @herbygillot} \
</span>                     openmaintainer
 platforms           {darwin >= 18}
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    reinplace       "s|/var/log|${prefix}/var/log|g" ${worksrcpath}/main.go
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> build.args-append   -o ./${name}
 
 destroot {
</pre><pre style='margin:0'>

</pre>