summaryrefslogtreecommitdiff
path: root/net-im/mtxclient/Makefile
blob: ebd7dd10d1ee75af4a885234a534c084803c320f (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
PORTNAME=		mtxclient
DISTVERSIONPREFIX=	v
DISTVERSION=		0.4.1
CATEGORIES=		net-im

MAINTAINER=	adridg@FreeBSD.org
COMMENT=	Client API library for the Matrix protocol

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

IGNORE_FreeBSD_11=	unsupported SSL in base

BUILD_DEPENDS=	nlohmann-json>=3:devel/nlohmann-json
LIB_DEPENDS=	libsodium.so:security/libsodium \
		libboost_date_time.so:devel/boost-libs \
		libboost_chrono.so:devel/boost-libs \
		libboost_iostreams.so:devel/boost-libs \
		libboost_regex.so:devel/boost-libs \
		libboost_system.so:devel/boost-libs \
		libboost_thread.so:devel/boost-libs \
		libolm.so:security/olm \
		libspdlog.so:devel/spdlog

USES=		cmake compiler:c++17-lang pkgconfig ssl \
		tar:xz
CMAKE_OFF=	BUILD_LIB_TESTS

USE_GITHUB=	yes
GH_ACCOUNT=	Nheko-Reborn

PLIST_SUB=	SOVER=${DISTVERSION}

.include <bsd.port.mk>