xref: /mports/databases/cassandra-cpp-driver/Makefile
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1PORTNAME=	cassandra-cpp-driver
2PORTVERSION=	2.17.1
3PORTREVISION=	0
4CATEGORIES=	databases
5
6MAINTAINER=	ports@MidnightBSD.org
7COMMENT=	DataStax C/C++ Driver for Apache Cassandra
8WWW=		https://datastax.github.io/cpp-driver/
9
10LICENSE=	Apache-2.0
11
12LIB_DEPENDS=	libuv.so:devel/libuv
13
14USES=		cmake compiler:c++11-lang pkgconfig pathfix ssl
15USE_LDCONFIG=	yes
16USE_GITHUB=	yes
17GH_ACCOUNT=	datastax
18GH_PROJECT=	cpp-driver
19
20CMAKE_ARGS=	-DCMAKE_INSTALL_LIBDIR:STRING=lib \
21		-DCASS_BUILD_STATIC:BOOL=ON
22
23PLIST_FILES=	include/cassandra.h \
24		include/dse.h \
25		lib/libcassandra.so \
26		lib/libcassandra.so.2 \
27		lib/libcassandra.so.${PORTVERSION} \
28		lib/libcassandra_static.a \
29		libdata/pkgconfig/cassandra.pc \
30		libdata/pkgconfig/cassandra_static.pc
31
32post-patch:
33	${REINPLACE_CMD} -e 's|-Werror||' ${WRKSRC}/src/CMakeLists.txt
34
35.include <bsd.port.mk>
36

served by {OpenGrok

Last Index Update: Sun Mar 22 17:06:33 EDT 2026