0c34c5fd80
While here, remove needless -Wno-c11-extensions from the CXXFLAGS.
28 lines
694 B
Makefile
28 lines
694 B
Makefile
PORTNAME= cpprestsdk
|
|
PORTVERSION= 2.10.18
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Microsoft C++ REST SDK
|
|
WWW= https://github.com/Microsoft/cpprestsdk
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/../license.txt
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/websocketpp/client.hpp:devel/websocketpp
|
|
LIB_DEPENDS= libboost_system.so:devel/boost-libs
|
|
|
|
USES= cmake compiler:c++11-lang pkgconfig ssl
|
|
USE_LDCONFIG= yes
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= Microsoft
|
|
WRKSRC_SUBDIR= Release
|
|
CMAKE_OFF= BUILD_SAMPLES BUILD_TESTS WERROR
|
|
|
|
OPTIONS_DEFINE= BROTLI
|
|
|
|
BROTLI_LIB_DEPENDS= libbrotlidec.so:archivers/brotli
|
|
BROTLI_CMAKE_ON= -DCPPREST_EXCLUDE_BROTLI:BOOL=OFF
|
|
|
|
.include <bsd.port.mk>
|