1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/www/cpr/Makefile
2023-10-16 23:59:42 +08:00

45 lines
965 B
Makefile

PORTNAME= cpr
PORTVERSION= 1.10.5
CATEGORIES= www
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= C++ Requests: Curl for People
WWW= https://github.com/libcpr/cpr
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libcurl.so:ftp/curl
USES= cmake compiler:c++17-lang ssl
CMAKE_OFF= CPR_BUILD_TESTS \
CPR_BUILD_TESTS_PROXY \
CPR_BUILD_TESTS_SSL \
CPR_CURL_NOSIGNAL \
CPR_DEBUG_SANITIZER_FLAG_ADDR \
CPR_DEBUG_SANITIZER_FLAG_ALL \
CPR_DEBUG_SANITIZER_FLAG_LEAK \
CPR_DEBUG_SANITIZER_FLAG_THREAD \
CPR_DEBUG_SANITIZER_FLAG_UB \
CPR_ENABLE_CPPCHECK \
CPR_ENABLE_CURL_HTTP_ONLY \
CPR_ENABLE_LINTING \
CPR_GENERATE_COVERAGE \
CPR_USE_BOOST_FILESYSTEM \
CPR_USE_SYSTEM_GTEST \
CURL_VERBOSE_LOGGING
CMAKE_ON= BUILD_SHARED_LIBS \
BUILD_STATIC_LIBS \
CPR_ENABLE_SSL \
CPR_SKIP_CA_BUNDLE_SEARCH \
CPR_USE_SYSTEM_CURL
PIE_UNSAFE= yes
PLIST_SUB= PORTVERSION=${PORTVERSION}
USE_GITHUB= yes
GH_ACCOUNT= libcpr
.include <bsd.port.mk>