<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/b40c2889322d3d596ebc3781e79409c28e0d820e">https://github.com/macports/macports-ports/commit/b40c2889322d3d596ebc3781e79409c28e0d820e</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 b40c288 profanity: new port
</span>b40c288 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit b40c2889322d3d596ebc3781e79409c28e0d820e
</span>Author: Ken Cunningham <kencu@macports.org>
AuthorDate: Wed Oct 11 19:29:01 2017 -0700
<span style='display:block; white-space:pre;color:#404040;'> profanity: new port
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> console-based XMPP client
</span><span style='display:block; white-space:pre;color:#404040;'> closes: https://trac.macports.org/ticket/48916
</span>---
net/profanity/Portfile | 52 ++++++++++++++++++++++
.../files/patch-configure-macports-path.diff | 31 +++++++++++++
2 files changed, 83 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/profanity/Portfile b/net/profanity/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..32e9675
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/profanity/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,52 @@
</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;'>+PortGroup snowleopard_fixes 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name profanity
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 0.5.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories net
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers me.com:link.dupont openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description A console-based XMPP client written in C using ncurses
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage http://profanity.im/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license {GPL-3+ OpenSSLException}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites ${homepage}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description Profanity is a console based XMPP client written in C using \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ncurses and libstrophe, inspired by Irssi.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 5ce5f5cb21ceb78ed55d4ca30e285aa9e2cc34ad \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 e3513713e74ec3363fbdbac2919bdc17e249988780cc5a4589d1425807a7feb8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append port:ncurses \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libstrophe \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:curl \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:openssl \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:glib2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:expat \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libotr \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:gnutls \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:python34
</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;'>+# allow build to find libreadline
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-configure-macports-path.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@@MACPORTS_PREFIX@@|${prefix}|g" ${worksrcpath}/configure
</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;'>+# specify a python version
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PYTHON_FRAMEWORK=${prefix}/Library/Frameworks/Python.framework \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PYTHON=${prefix}/bin/python3.4
</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;'>+variant notifications description {Enable terminal-notifier for notifications} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:terminal-notifier
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --enable-notifications
</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;color:#808080;'>diff --git a/net/profanity/files/patch-configure-macports-path.diff b/net/profanity/files/patch-configure-macports-path.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..37e0811
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/profanity/files/patch-configure-macports-path.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,31 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.old 2017-10-11 18:38:18.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure 2017-10-11 18:45:07.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -14159,14 +14159,14 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/local/opt/readline/lib" >&5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-$as_echo_n "checking for /usr/local/opt/readline/lib... " >&6; }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for @@MACPORTS_PREFIX@@/lib" >&5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++$as_echo_n "checking for @@MACPORTS_PREFIX@@/lib... " >&6; }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if ${ac_cv_file__usr_local_opt_readline_lib+:} false; then :
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ $as_echo_n "(cached) " >&6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test "$cross_compiling" = yes &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if test -r "/usr/local/opt/readline/lib"; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++if test -r "@@MACPORTS_PREFIX@@/lib"; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ac_cv_file__usr_local_opt_readline_lib=yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ac_cv_file__usr_local_opt_readline_lib=no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -14176,8 +14176,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ $as_echo "$ac_cv_file__usr_local_opt_readline_lib" >&6; }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if test "x$ac_cv_file__usr_local_opt_readline_lib" = xyes; then :
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LIBS="-lreadline $LIBS"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- AM_CPPFLAGS="-I/usr/local/opt/readline/include $AM_CPPFLAGS"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- AM_LDFLAGS="-L/usr/local/opt/readline/lib $AM_LDFLAGS"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ AM_CPPFLAGS="-I@@MACPORTS_PREFIX@@/include $AM_CPPFLAGS"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ AM_LDFLAGS="-L@@MACPORTS_PREFIX@@/lib $AM_LDFLAGS"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ as_fn_error $? "libreadline is required for profanity" "$LINENO" 5
</span></pre><pre style='margin:0'>
</pre>