summaryrefslogtreecommitdiff
path: root/chat/profanity/Makefile
blob: fe813e698267f29f934139c5c5d54744e4282273 (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
51
52
53
# $NetBSD: Makefile,v 1.5 2020/12/04 20:45:01 nia Exp $

DISTNAME=	profanity-0.9.5
PKGREVISION=	2
CATEGORIES=	chat
MASTER_SITES=	https://profanity-im.github.io/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://profanity-im.github.io/
COMMENT=	Console based XMPP client inspired by irssi
LICENSE=	gnu-gpl-v3

USE_TOOLS+=	autoconf pkg-config

AUTOCONF_REQD=	2.69

FAKE_NCURSES=	yes
GNU_CONFIGURE=	yes
USE_LIBTOOL=	yes
USE_TOOLS+=	pkg-config

USE_CURSES=	wide

SUBST_CLASSES+=		python
SUBST_STAGE.python=	pre-configure
SUBST_FILES.python=	configure.ac
SUBST_SED.python=	-e 's,python-config,python${PYVERSSUFFIX}-config,g'

CONFIGURE_ARGS+=	--enable-plugins
CONFIGURE_ARGS+=	--enable-c-plugins
CONFIGURE_ARGS+=	--enable-python-plugins
CONFIGURE_ARGS+=	--enable-omemo

pre-configure:
	cd ${WRKSRC} && autoconf

BUILDLINK_API_DEPENDS.libmesode+=	libmesode>=0.9.1
.include "../../chat/libmesode/buildlink3.mk"
.include "../../chat/libotr/buildlink3.mk"
.include "../../chat/libsignal-protocol-c/buildlink3.mk"
BUILDLINK_API_DEPENDS.sqlite3+=		sqlite3>=3.22.0
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/libuuid/buildlink3.mk"
.include "../../devel/readline/buildlink3.mk"
.include "../../security/gpgme/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/curses.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"