[Midnightbsd-cvs] mports [24759] trunk/databases: add cpp driver for cassandra

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Jan 5 15:14:12 EST 2019


Revision: 24759
          http://svnweb.midnightbsd.org/mports/?rev=24759
Author:   laffer1
Date:     2019-01-05 15:14:11 -0500 (Sat, 05 Jan 2019)
Log Message:
-----------
add cpp driver for cassandra

Modified Paths:
--------------
    trunk/databases/Makefile

Added Paths:
-----------
    trunk/databases/cassandra-cpp-driver/
    trunk/databases/cassandra-cpp-driver/Makefile
    trunk/databases/cassandra-cpp-driver/distinfo
    trunk/databases/cassandra-cpp-driver/pkg-descr

Modified: trunk/databases/Makefile
===================================================================
--- trunk/databases/Makefile	2019-01-04 22:29:14 UTC (rev 24758)
+++ trunk/databases/Makefile	2019-01-05 20:14:11 UTC (rev 24759)
@@ -5,6 +5,7 @@
 SUBDIR += adodb
 SUBDIR += cassandra
 SUBDIR += cassandra2
+SUBDIR += cassandra-cpp-driver
 SUBDIR += couchdb
 SUBDIR += courier-authlib-userdb
 SUBDIR += db

Added: trunk/databases/cassandra-cpp-driver/Makefile
===================================================================
--- trunk/databases/cassandra-cpp-driver/Makefile	                        (rev 0)
+++ trunk/databases/cassandra-cpp-driver/Makefile	2019-01-05 20:14:11 UTC (rev 24759)
@@ -0,0 +1,38 @@
+# $MidnightBSD$
+
+PORTNAME=	cassandra-cpp-driver
+PORTVERSION=	2.7.0
+CATEGORIES=	databases
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	DataStax C/C++ Driver for Apache Cassandra
+
+LICENSE=	apache2
+
+LIB_DEPENDS=	libuv.so:devel/libuv
+
+BROKEN_powerpc64=	fails to compile: reader.h: warning: comparison is always true due to limited range of data type
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	datastax
+GH_PROJECT=	cpp-driver
+
+USES=		cmake:outsource pkgconfig pathfix ssl
+CMAKE_ARGS=	-DCMAKE_INSTALL_LIBDIR:STRING=lib \
+		-DCASS_BUILD_STATIC:BOOL=ON
+
+USE_LDCONFIG=	yes
+
+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
+
+post-install:
+	${MKDIR} ${PREFIX}/libdata/pkgconfig
+	${MV} ${PREFIX}/lib/pkgconfig/*.pc ${PREFIX}/libdata/pkgconfig/
+
+.include <bsd.port.mk>


Property changes on: trunk/databases/cassandra-cpp-driver/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/databases/cassandra-cpp-driver/distinfo
===================================================================
--- trunk/databases/cassandra-cpp-driver/distinfo	                        (rev 0)
+++ trunk/databases/cassandra-cpp-driver/distinfo	2019-01-05 20:14:11 UTC (rev 24759)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1546641022
+SHA256 (cassandra-cpp-driver-2.7.0_GH0.tar.gz) = 44a97679e719b2b046ef90323beab4fe3a491ae79396e7f28e6a9677b618a0e4
+SIZE (cassandra-cpp-driver-2.7.0_GH0.tar.gz) = 622137


Property changes on: trunk/databases/cassandra-cpp-driver/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/databases/cassandra-cpp-driver/pkg-descr
===================================================================
--- trunk/databases/cassandra-cpp-driver/pkg-descr	                        (rev 0)
+++ trunk/databases/cassandra-cpp-driver/pkg-descr	2019-01-05 20:14:11 UTC (rev 24759)
@@ -0,0 +1,5 @@
+DataStax Cpp Driver is modern, feature-rich, and highly tunable C/C++ client
+library for Apache Cassandra (1.2+) and DataStax Enterprise (3.1+) using
+exclusively Cassandra's native protocol and Cassandra Query Language v3.
+
+WWW: http://datastax.github.io/cpp-driver/


Property changes on: trunk/databases/cassandra-cpp-driver/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list