You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
76 lines
2.7 KiB
Tcl
76 lines
2.7 KiB
Tcl
# -*- 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 github 1.0
|
|
PortGroup legacysupport 1.1
|
|
|
|
github.setup profanity-im profanity 0.15.1
|
|
revision 1
|
|
|
|
categories net
|
|
maintainers nomaintainer
|
|
description A console-based XMPP client written in C using ncurses
|
|
long_description Profanity is a console based XMPP client written in C using \
|
|
ncurses and libstrophe, inspired by Irssi.
|
|
homepage https://profanity-im.github.io
|
|
license {GPL-3+ OpenSSLException}
|
|
github.tarball_from archive
|
|
checksums rmd160 b7ecffcdc5e0272e024ba30c70487005e6441851 \
|
|
sha256 8cb5104fad69094a3d2991879089b9d30a5650f92e6ba2b19033ee29e9a639b1 \
|
|
size 617558
|
|
|
|
set py_ver 3.12
|
|
set py_ver_nodot [string map {. {}} ${py_ver}]
|
|
|
|
depends_build-append \
|
|
path:bin/pkg-config:pkgconfig \
|
|
port:libtool \
|
|
port:autoconf-archive
|
|
|
|
# test dependencies checked at configure
|
|
depends_build-append \
|
|
port:cmocka
|
|
|
|
depends_lib-append path:lib/pkgconfig/glib-2.0.pc:glib2 \
|
|
port:curl \
|
|
port:expat \
|
|
port:gpgme \
|
|
port:libassuan \
|
|
port:libgcrypt \
|
|
port:libgpg-error \
|
|
port:libotr \
|
|
port:libsignal-protocol-c \
|
|
port:libstrophe \
|
|
port:ncurses \
|
|
port:python${py_ver_nodot} \
|
|
port:qrencode \
|
|
port:readline
|
|
|
|
# allow pkg-config to find specifig version of python-embed.pc
|
|
patchfiles-append patch-configure.ac.diff
|
|
|
|
use_autoreconf yes
|
|
use_automake yes
|
|
|
|
configure.args --disable-silent-rules \
|
|
--disable-gdk-pixbuf \
|
|
--disable-icons-and-clipboard \
|
|
--enable-omemo \
|
|
--enable-omemo-qrcode \
|
|
--enable-pgp \
|
|
--enable-otr \
|
|
--enable-plugins \
|
|
--enable-c-plugins \
|
|
--enable-python-plugins \
|
|
--without-xscreensaver
|
|
|
|
# specify a python version
|
|
configure.args-append \
|
|
PYTHON_FRAMEWORK=${frameworks_dir}/Python.framework \
|
|
PYTHON=${prefix}/bin/python${py_ver}
|
|
|
|
variant notifications description {Enable terminal-notifier for notifications} {
|
|
depends_lib-append port:terminal-notifier
|
|
configure.args-append --enable-notifications
|
|
}
|