blob: 7da64055d3556b49c5ed1bcf6aa7605908b2d304 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
PORTNAME= profanity
DISTVERSION= 0.13.1
CATEGORIES= net-im
MASTER_SITES= https://github.com/${PORTNAME}-im/${PORTNAME}/releases/download/${DISTVERSION}/
MAINTAINER= ashish@FreeBSD.org
COMMENT= Console based XMPP client
WWW= http://www.profanity.im/
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
LIB_DEPENDS= libcurl.so:ftp/curl \
libotr.so:security/libotr \
libuuid.so:misc/e2fsprogs-libuuid \
libgpgme.so:security/gpgme \
libassuan.so:security/libassuan \
libgpg-error.so:security/libgpg-error \
libgcrypt.so:security/libgcrypt \
libsignal-protocol-c.so:net/libsignal-protocol-c \
libstrophe.so:net-im/libstrophe \
libqrencode.so:graphics/libqrencode
USES= cpe gnome libtool ncurses pkgconfig python \
readline sqlite:3 tar:xz
CPE_VENDOR= ${PORTNAME}_project
GNU_CONFIGURE= yes
USE_GNOME= glib20
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
CONFIGURE_ARGS= --enable-otr --enable-python-plugins --enable-c-plugins \
--enable-pgp --disable-icons-and-clipboard \
--without-xscreensaver --disable-gdk-pixbuf \
--enable-omemo --enable-omemo-qrcode
OPTIONS_DEFINE= NOTIFY
NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify
NOTIFY_CONFIGURE_ENABLE=notifications
post-patch:
${REINPLACE_CMD} "s,python3-embed,python-${PYTHON_VER}-embed,g" \
${WRKSRC}/configure
post-install:
cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/man/man1 "-name *\.1"
.include <bsd.port.mk>
|