<pre style='margin:0'>
Frank Schima (mf2k) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/1b0916ae5d8a67dcb5960661a8b3cdf9946cda18">https://github.com/macports/macports-ports/commit/1b0916ae5d8a67dcb5960661a8b3cdf9946cda18</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 1b0916ae5d8 minicom: make kermit support a port variant
</span>1b0916ae5d8 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 1b0916ae5d8a67dcb5960661a8b3cdf9946cda18
</span>Author: Knapoc <Knapoc@users.noreply.github.com>
AuthorDate: Sat Nov 28 17:36:53 2020 +0100
<span style='display:block; white-space:pre;color:#404040;'> minicom: make kermit support a port variant
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> * moves kermit support to a variant
</span><span style='display:block; white-space:pre;color:#404040;'> * kermit variant is used as the default variant
</span><span style='display:block; white-space:pre;color:#404040;'> * allows minicom being used without kermit
</span>---
comms/minicom/Portfile | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/comms/minicom/Portfile b/comms/minicom/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index bb775c9b348..243a1dcbd86 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/comms/minicom/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/comms/minicom/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,6 +4,7 @@ PortSystem 1.0
</span>
name minicom
version 2.7.1
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> set download_id 4215
categories comms
maintainers nomaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27,16 +28,21 @@ depends_build port:pkgconfig
</span> depends_lib port:gettext \
port:ncurses
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_run port:kermit \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:lrzsz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_run port:lrzsz
</span>
post-patch {
reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/src/rwconf.c
reinplace "s|/usr/bin/ascii-xfr|${prefix}/bin/ascii-xfr|g" ${worksrcpath}/src/rwconf.c
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args --enable-lock-dir=/tmp \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-kermit=${prefix}/bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args --enable-lock-dir=/tmp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant kermit description {Builds minicom with kermit support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_run-append port:kermit
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --enable-kermit=${prefix}/bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+default_variants +kermit
</span>
livecheck.type regex
livecheck.url ${homepage}
</pre><pre style='margin:0'>
</pre>