# -*- 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 PortSystem 1.0 PortGroup legacysupport 1.0 name profanity version 0.5.1 revision 3 categories net platforms darwin maintainers nomaintainer description A console-based XMPP client written in C using ncurses homepage http://profanity.im/ license {GPL-3+ OpenSSLException} master_sites ${homepage} long_description Profanity is a console based XMPP client written in C using \ ncurses and libstrophe, inspired by Irssi. checksums rmd160 5ce5f5cb21ceb78ed55d4ca30e285aa9e2cc34ad \ sha256 e3513713e74ec3363fbdbac2919bdc17e249988780cc5a4589d1425807a7feb8 \ size 691508 depends_build-append \ port:pkgconfig # test dependencies checked at configure depends_build-append \ port:cmocka \ port:expect depends_lib-append port:ncurses \ port:libassuan \ port:libotr \ port:libstrophe \ port:curl \ path:lib/libssl.dylib:openssl \ path:lib/pkgconfig/glib-2.0.pc:glib2 \ port:gtk2 \ port:expat \ port:gnutls \ port:gpgme \ port:readline \ port:xorg-libX11 \ port:xorg-libXScrnSaver \ port:python37 # allow build to find libreadline patchfiles-append patch-configure-macports-path.diff post-patch { reinplace "s|@@MACPORTS_PREFIX@@|${prefix}|g" ${worksrcpath}/configure } configure.args --disable-silent-rules # specify a python version configure.args-append \ PYTHON_FRAMEWORK=${frameworks_dir}/Python.framework \ PYTHON=${prefix}/bin/python3.7 variant notifications description {Enable terminal-notifier for notifications} { depends_lib-append port:terminal-notifier configure.args-append --enable-notifications }