summaryrefslogtreecommitdiff
path: root/net/libjson-rpc-cpp/Makefile
blob: 04a8b5c9fc4876bbcd8cc8a5767bd40e78c90e41 (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

PORTNAME=		libjson-rpc-cpp
DISTVERSIONPREFIX=	v
DISTVERSION=		1.1.0
PORTREVISION=		4
CATEGORIES=		net www devel

MAINTAINER=	greg@unrelenting.technology
COMMENT=	C++ framework for JSON-RPC 1.0 and 2.0

BROKEN=		Doesn't build with libmicrohttpd 0.9.71 - PR: 250083

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE.txt

LIB_DEPENDS=	libcurl.so:ftp/curl \
		libmicrohttpd.so:www/libmicrohttpd \
		libjsoncpp.so:devel/jsoncpp \
		libargtable2.so:devel/argtable

USES=		cmake compiler:c++11-lang pkgconfig
USE_LDCONFIG=	yes

USE_GITHUB=	yes
GH_ACCOUNT=	cinemast

CMAKE_OFF=	COMPILE_TESTS COMPILE_EXAMPLES
CMAKE_ON=	UNIX_DOMAIN_SOCKET_SERVER UNIX_DOMAIN_SOCKET_CLIENT \
		FILE_DESCRIPTOR_SERVER FILE_DESCRIPTOR_CLIENT

OPTIONS_DEFINE=	REDIS
OPTIONS_SUB=	yes

REDIS_CMAKE_BOOL=	REDIS_SERVER REDIS_CLIENT
REDIS_LIB_DEPENDS=	libhiredis.so:databases/hiredis

.include <bsd.port.mk>