Tweak net-im/purple-plugin-pack version 2.8.0
[dports.git] / net-im / profanity / Makefile
1 PORTNAME=       profanity
2 DISTVERSION=    0.13.0
3 CATEGORIES=     net-im
4 MASTER_SITES=   https://github.com/${PORTNAME}-im/${PORTNAME}/releases/download/${DISTVERSION}/
5
6 MAINTAINER=     ashish@FreeBSD.org
7 COMMENT=        Console based XMPP client
8 WWW=            http://www.profanity.im/
9
10 LICENSE=        GPLv3+
11 LICENSE_FILE=   ${WRKSRC}/LICENSE.txt
12
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
24
25 USES=           autoreconf cpe gnome libtool ncurses pkgconfig python:3.8+ \
26                 readline sqlite:3 tar:xz
27 CPE_VENDOR=     ${PORTNAME}_project
28 GNU_CONFIGURE=  yes
29 USE_GNOME=      glib20
30 USE_LDCONFIG=   yes
31
32 INSTALL_TARGET= install-strip
33
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
38
39 OPTIONS_DEFINE= NOTIFY
40
41 NOTIFY_LIB_DEPENDS=     libnotify.so:devel/libnotify
42 NOTIFY_CONFIGURE_ENABLE=notifications
43
44 post-patch:
45         ${REINPLACE_CMD} "s,python3-embed,python-${PYTHON_VER}-embed,g" \
46                 ${WRKSRC}/configure.ac
47
48 post-install:
49         cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/man/man1 "-name *\.1"
50
51 .include <bsd.port.mk>