freebsd-ports/databases/cassandra-cpp-driver/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

34 lines
759 B
Makefile

# Created by: gahr
# $FreeBSD$
PORTNAME= cassandra-cpp-driver
PORTVERSION= 2.10.0
PORTREVISION= 1
CATEGORIES= databases
MAINTAINER= gahr@FreeBSD.org
COMMENT= DataStax C/C++ Driver for Apache Cassandra
LICENSE= APACHE20
LIB_DEPENDS= libuv.so:devel/libuv
USES= cmake compiler:c++11-lang pkgconfig pathfix ssl
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= datastax
GH_PROJECT= cpp-driver
USES= cmake pkgconfig pathfix ssl
CMAKE_ARGS= -DCMAKE_INSTALL_LIBDIR:STRING=lib \
-DCASS_BUILD_STATIC:BOOL=ON
PLIST_FILES= include/cassandra.h \
lib/libcassandra.so \
lib/libcassandra.so.2 \
lib/libcassandra.so.${PORTVERSION} \
lib/libcassandra_static.a \
libdata/pkgconfig/cassandra.pc \
libdata/pkgconfig/cassandra_static.pc
.include <bsd.port.mk>