4 MASTER_SITES= https://github.com/${PORTNAME}-im/${PORTNAME}/releases/download/${DISTVERSION}/
6 MAINTAINER= ashish@FreeBSD.org
7 COMMENT= Console based XMPP client
8 WWW= http://www.profanity.im/
11 LICENSE_FILE= ${WRKSRC}/LICENSE.txt
13 BUILD_DEPENDS= autoconf-archive>=0:devel/autoconf-archive
14 LIB_DEPENDS= libcurl.so:ftp/curl \
15 libotr.so:security/libotr \
16 libuuid.so:misc/e2fsprogs-libuuid \
17 libgpgme.so:security/gpgme \
18 libassuan.so:security/libassuan \
19 libgpg-error.so:security/libgpg-error \
20 libgcrypt.so:security/libgcrypt \
21 libsignal-protocol-c.so:net/libsignal-protocol-c \
22 libstrophe.so:net-im/libstrophe \
23 libqrencode.so:graphics/libqrencode
25 USES= autoreconf cpe gnome libtool ncurses pkgconfig python:3.8+ \
26 readline sqlite:3 tar:xz
27 CPE_VENDOR= ${PORTNAME}_project
32 INSTALL_TARGET= install-strip
34 CONFIGURE_ARGS= --enable-otr --enable-python-plugins --enable-c-plugins \
35 --enable-pgp --disable-icons-and-clipboard \
36 --without-xscreensaver --disable-gdk-pixbuf \
37 --enable-omemo --enable-omemo-qrcode
39 OPTIONS_DEFINE= NOTIFY
41 NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify
42 NOTIFY_CONFIGURE_ENABLE=notifications
45 ${REINPLACE_CMD} "s,python3-embed,python-${PYTHON_VER}-embed,g" \
46 ${WRKSRC}/configure.ac
49 cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/man/man1 "-name *\.1"
51 .include <bsd.port.mk>