ports/devel/cpp-netlib/Makefile
Tobias C. Berner 707c6bf295 Change cmake default behaviour to outsource.
Ports that build out of source now simply can use "USES=cmake"
instead of "USES=cmake:outsource". Ports that fail to build
out of source now need to specify "USES=cmake:insource".

I tried to only set insource where explictely needed.

PR:		232038
Exp-run by:	antoine
2018-12-25 20:25:39 +00:00

28 lines
645 B
Makefile

# Created by: Ryan Steinmetz <zi@FreeBSD.org>
# $FreeBSD$
PORTNAME= cpp-netlib
DISTVERSIONPREFIX= ${PORTNAME}-
DISTVERSION= 0.12.0
DISTVERSIONSUFFIX= -final
PORTREVISION= 8
CATEGORIES= devel
MAINTAINER= zi@FreeBSD.org
COMMENT= Cross-platform, standards compliant networking library
LICENSE= BSL
LICENSE_FILE= ${WRKSRC}/LICENSE_1_0.txt
BUILD_DEPENDS= boost-libs>0:devel/boost-libs \
asio>0:net/asio
USES= cmake compiler:c++11-lang
USE_LDCONFIG= yes
CFLAGS+= -fPIC
CMAKE_ARGS+= -DCPP-NETLIB_BUILD_EXAMPLES=OFF \
-DCPP-NETLIB_BUILD_SHARED_LIBS=ON \
-DCPP-NETLIB_BUILD_TESTS=OFF
USE_GITHUB= yes
.include <bsd.port.mk>