# -*- 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
PortGroup legacysupport 1.0
description A console-based XMPP client written in C using ncurses
homepage http://profanity.im/
license {GPL-3+ OpenSSLException}
long_description Profanity is a console based XMPP client written in C using \
ncurses and libstrophe, inspired by Irssi.
checksums rmd160 5ce5f5cb21ceb78ed55d4ca30e285aa9e2cc34ad \
sha256 e3513713e74ec3363fbdbac2919bdc17e249988780cc5a4589d1425807a7feb8 \
# test dependencies checked at configure
depends_lib-append port:ncurses \
path:lib/libssl.dylib:openssl \
path:lib/pkgconfig/glib-2.0.pc:glib2 \
port:xorg-libXScrnSaver \
# allow build to find libreadline
patchfiles-append patch-configure-macports-path.diff
reinplace "s|@@MACPORTS_PREFIX@@|${prefix}|g" ${worksrcpath}/configure
configure.args --disable-silent-rules
# specify a python version
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