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

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/2014d5fb039b2d62b7b608fefb2165eaab1297bb">https://github.com/macports/macports-ports/commit/2014d5fb039b2d62b7b608fefb2165eaab1297bb</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 2014d5fb039b2d62b7b608fefb2165eaab1297bb
</span>Author: BjarneDM <bjarne@mathiesen.info>
AuthorDate: Tue Feb 18 00:42:22 2025 +0100

<span style='display:block; white-space:pre;color:#404040;'>    fixed the certbot +docs variant
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    1) removed post-patch
</span><span style='display:block; white-space:pre;color:#404040;'>    2) fixed the env(doc_path) in post-build
</span><span style='display:block; white-space:pre;color:#404040;'>    3) fixed build dir in post-destroot
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Changes to be committed:
</span><span style='display:block; white-space:pre;color:#404040;'>            modified:   security/certbot/Portfile
</span>---
 security/certbot/Portfile | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/security/certbot/Portfile b/security/certbot/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 35a51c86d57..7f8b138c2fb 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/security/certbot/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/security/certbot/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -65,14 +65,8 @@ subport ${name} {
</span>             port:py${python.version}-sphinx \
             port:py${python.version}-sphinx_rtd_theme
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        post-patch {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-            reinplace "s|/etc/|${prefix}/etc/|" ${worksrcpath}/certbot/compat/misc.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-            reinplace "s|/var/lib/|${prefix}/var/db/|" ${worksrcpath}/certbot/compat/misc.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-            reinplace "s|/var/log/|${prefix}/var/log/|" ${worksrcpath}/certbot/compat/misc.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span>         post-build {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-            set env(doc_path) ${worksrcpath}/${name}/docs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            set env(doc_path) ${worksrcpath}/docs
</span>             set env(python_branch) ${python.branch}
             exec sh -c {cd $doc_path && sphinx-build-$python_branch -N -b man . _build/man} >@stdout
         }
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -80,9 +74,9 @@ subport ${name} {
</span>         post-destroot {
             xinstall -d ${destroot}${prefix}/share/man/man1
             xinstall -d ${destroot}${prefix}/share/man/man7
<span style='display:block; white-space:pre;background:#ffe0e0;'>-            xinstall -m 640 ${worksrcpath}//${name}/docs/_build/man/certbot.1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            xinstall -m 640 ${worksrcpath}/docs/_build/man/certbot.1 \
</span>                 ${destroot}${prefix}/share/man/man1/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-            xinstall -m 640 ${worksrcpath}//${name}/docs/_build/man/certbot.7 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            xinstall -m 640 ${worksrcpath}/docs/_build/man/certbot.7 \
</span>                 ${destroot}${prefix}/share/man/man7/
         }
     }
</pre><pre style='margin:0'>

</pre>