blob: 60c8d19c90519ed563be91c9ca04ef88eb8864b9 (
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
|
PORTNAME= restbed
DISTVERSION= 4.8
CATEGORIES= www
MAINTAINER= yuri@FreeBSD.org
COMMENT= Asynchronous RESTful functionality to C++11 applications
LICENSE= AGPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cmake:testing compiler:c++14-lang ssl
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= Corvusoft
GH_TUPLE= Corvusoft:asio-dependency:a4d820d:a/dependency/asio \
Corvusoft:catch-dependency:d10b9bd:c/dependency/catch
CMAKE_ON= BUILD_SHARED
CMAKE_OFF= BUILD_TESTS
CMAKE_ARGS= -DCMAKE_INSTALL_LIBDIR:STRING=lib
CMAKE_TESTING_ON= BUILD_TESTS
pre-test: # tests only pass when net.inet6.ip6.v6only=0, see pkg-message
@if [ $$(sysctl -n net.inet6.ip6.v6only) == 1 ]; then \
${ECHO} "tests only pass when net.inet6.ip6.v6only=0"; \
return 1; \
fi
.include <bsd.port.mk>
|