aboutsummaryrefslogtreecommitdiff
path: root/net/wangle/Makefile
blob: 4fca01687f3dd399d84c002037e7452162b43556 (plain) (blame)
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
PORTNAME=	wangle
DISTVERSIONPREFIX=	v
DISTVERSION=	2021.04.12.00
CATEGORIES=	net

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Framework for building services in a consistent/modular/composable way

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/../LICENSE

LIB_DEPENDS=	libboost_system.so:devel/boost-libs \
		libdouble-conversion.so:devel/double-conversion \
		libevent.so:devel/libevent \
		libfizz.so:security/fizz \
		libfolly.so:devel/folly \
		libgflags.so:devel/gflags \
		libfmt.so:devel/libfmt \
		libglog.so:devel/glog \
		libsodium.so:security/libsodium

USES=		cmake compiler:c++17-lang ssl
USE_GITHUB=	yes
GH_ACCOUNT=	facebook
USE_LDCONFIG=	yes

WRKSRC_SUBDIR=	${PORTNAME}

CMAKE_ON=	BUILD_SHARED_LIBS
CMAKE_OFF=	BUILD_TESTS

post-install: # https://github.com/facebook/wangle/issues/179
	cd ${STAGEDIR}${PREFIX} && \
		${RMDIR} \
			include/wangle/service/test \
			include/wangle/ssl/test/certs \
			include/wangle/util/test

.include <bsd.port.mk>