blob: 10a51fc6d188e142b74cde976248fb3aeab1bd19 (
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
|
PORTNAME= cpp-httplib
DISTVERSIONPREFIX= v
DISTVERSION= 0.8.6
CATEGORIES= www devel
MAINTAINER= yuri@FreeBSD.org
COMMENT= C++ header-only HTTP/HTTPS server and client library
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cmake
USE_GITHUB= yes
GH_ACCOUNT= yhirose
CMAKE_ON= HTTPLIB_REQUIRE_ZLIB
NO_ARCH= yes
PLIST_FILES= include/httplib.h \
lib/cmake/httplib/FindBrotli.cmake \
lib/cmake/httplib/httplibConfig.cmake \
lib/cmake/httplib/httplibConfigVersion.cmake \
lib/cmake/httplib/httplibTargets.cmake
OPTIONS_DEFINE= BROTLI ${${OSVERSION}>1200085:?SSL:}
OPTIONS_DEFAULT= BROTLI ${${OSVERSION}>1200085:?SSL:}
BROTLI_CMAKE_BOOL= HTTPLIB_REQUIRE_BROTLI HTTPLIB_USE_BROTLI_IF_AVAILABLE
BROTLI_BUILD_DEPENDS= brotli>0:archivers/brotli
BROTLI_RUN_DEPENDS= brotli>0:archivers/brotli
SSL_USES= ssl
SSL_CMAKE_BOOL= HTTPLIB_REQUIRE_OPENSSL HTTPLIB_USE_OPENSSL_IF_AVAILABLE
.include <bsd.port.mk>
|