summaryrefslogtreecommitdiff
path: root/net/rsocket-cpp/Makefile
blob: 801204e658f4184eb15e09457cd81188b142dd59 (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
# $FreeBSD$

PORTNAME=	rsocket-cpp
DISTVERSIONPREFIX=	v
DISTVERSION=	0.10.0-942
PORTREVISION=	1
DISTVERSIONSUFFIX=	-g3d878b1e
CATEGORIES=	net

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	C++ implementation of RSocket

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libboost_atomic.so:devel/boost-libs \
		libdouble-conversion.so:devel/double-conversion \
		libevent.so:devel/libevent \
		libfolly.so:devel/folly \
		libgflags.so:devel/gflags \
		libglog.so:devel/glog \
		liblz4.so:archivers/liblz4 \
		libsnappy.so:archivers/snappy \
		libsodium.so:security/libsodium \
		libunwind.so:devel/libunwind \
		libzstd.so:archivers/zstd

USES=		cmake compiler:c++14-lang ssl
USE_GITHUB=	yes
GH_ACCOUNT=	rsocket
USE_LDCONFIG=	yes

CMAKE_ON=	BUILD_SHARED_LIBS
CMAKE_OFF=	BUILD_TESTS BUILD_EXAMPLES

post-install: # https://github.com/rsocket/rsocket-cpp/issues/890
	@cd ${STAGEDIR}${LOCALBASE} && ${RM} -r include/rsocket/examples include/rsocket/test include/yarpl/cmake include/yarpl/perf include/yarpl/test

.include <bsd.port.mk>