<pre style='margin:0'>
Zero King (l2dy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/809e0ce23c0ac33f0a8d9ff700aad9cbe03fd363">https://github.com/macports/macports-ports/commit/809e0ce23c0ac33f0a8d9ff700aad9cbe03fd363</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 809e0ce kermit-devel: new port
</span>809e0ce is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 809e0ce23c0ac33f0a8d9ff700aad9cbe03fd363
</span>Author: Zero King <l2dy@macports.org>
AuthorDate: Sun Jul 28 03:58:44 2019 +0000
<span style='display:block; white-space:pre;color:#404040;'> kermit-devel: new port
</span>---
comms/kermit-devel/Portfile | 53 ++++++++++++++++++++++++++++
comms/kermit-devel/files/patch-ckuus5.c.diff | 10 ++++++
comms/kermit-devel/files/patch-makefile.diff | 33 +++++++++++++++++
3 files changed, 96 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/comms/kermit-devel/Portfile b/comms/kermit-devel/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..2870d6e
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/comms/kermit-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,53 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name kermit-devel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+conflicts kermit
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 9.0.304-dev22
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories comms
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license BSD
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description Serial and network communications package.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description C-Kermit is a combined serial and network \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ communication software package offering \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ a consistent, medium-independent, \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cross-platform approach to connection \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ establishment, terminal sessions, file \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ transfer, character-set translation, \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ numeric and alphanumeric paging, and \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ automation of communication tasks.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage http://www.kermitproject.org/ck90.html
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites ftp://ftp.kermitproject.org/kermit/test/tar/ \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ http://www.kermitproject.org/ftp/kermit/test/tar/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distname cku[lindex [split ${version} .] end]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 717b1d28cedc68a677070d87f13db01e163adcec \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 dcd309dc2609eb544cd969e1a2b337584ef39427f605847f15465ead1ca2e5a2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 2474985
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+extract.mkdir yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.target
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-makefile.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-ckuus5.c.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platform darwin {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.target macosx
</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;'>+configure {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@@prefix@@|${prefix}|g" ${worksrcpath}/ckuus5.c ${worksrcpath}/makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace {s| CC=$(CC) | CC="$(CC)" |g} ${worksrcpath}/makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace {s| CC2=$(CC2) | CC2="$(CC2)" |g} ${worksrcpath}/makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|CC= cc|CC= ${configure.cc} [get_canonical_archflags]|g" ${worksrcpath}/makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|CC2= cc|CC2= ${configure.cc} [get_canonical_archflags]|g" ${worksrcpath}/makefile
</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;'>+pre-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file mkdir ${destroot}${prefix}/share/doc/kermit
</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;'>+livecheck.type regexm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.regex {<td><b>Version:</b></td>\n<td>([0-9\.]+)</td>}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/comms/kermit-devel/files/patch-ckuus5.c.diff b/comms/kermit-devel/files/patch-ckuus5.c.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..edf95cb
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/comms/kermit-devel/files/patch-ckuus5.c.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- ckuus5.c.orig 2017-04-30 16:29:34.000000000 +0000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ ckuus5.c 2019-07-28 03:00:00.000000000 +0000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -932,6 +932,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ char * k_info_dir = NULL; /* Where to find text files */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifdef UNIX
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ static char * txtdir[] = {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ "@@prefix@@/share/kermit" /* Mac OS X MacPorts */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "/usr/local/doc/", /* Linux, SunOS, ... */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "/usr/share/lib/", /* HP-UX 10.xx... */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "/usr/share/doc/", /* Other possibilities... */
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/comms/kermit-devel/files/patch-makefile.diff b/comms/kermit-devel/files/patch-makefile.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..75a19b4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/comms/kermit-devel/files/patch-makefile.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,33 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- makefile.orig 2017-05-01 12:43:14.000000000 +0000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ makefile 2019-07-28 03:00:00.000000000 +0000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -820,10 +820,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # The following symbols are used to specify library and header file locations:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-prefix = /usr/local
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++prefix = @@prefix@@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ srproot = $(prefix)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sslroot = $(prefix)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-manroot = $(prefix)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++manroot = $(prefix)/share
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ K4LIB=-L/usr/kerberos/lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ K4INC=-I/usr/kerberos/include
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -974,7 +974,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ MANDIR = $(manroot)/man/man1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ MANEXT = 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ SRCDIR =
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-INFODIR =
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++INFODIR = $(prefix)/share/doc/kermit
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CERTDIR =
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ TEXTFILES = COPYING.TXT ckcbwr.txt ckubwr.txt ckuins.txt ckccfg.txt \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1076,7 +1076,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cp $(BINARY) $(DESTDIR)$(BINDIR)/kermit || exit 1;\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ chmod 755 $(DESTDIR)$(BINDIR)/kermit || exit 1;\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rm -f $(DESTDIR)$(BINDIR)/kermit-sshsub;\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ln -s $(DESTDIR)$(BINDIR)/kermit\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ln -s kermit\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ $(DESTDIR)$(BINDIR)/kermit-sshsub || exit 1;\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo 'set flag=f\nPrC Removing binaries' >&3;\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "RmF $(DESTDIR)$(BINDIR)/kermit-sshsub" >&3;\
</span></pre><pre style='margin:0'>
</pre>