aboutsummaryrefslogtreecommitdiffstats
path: root/databases/cassandra-cpp-driver/Makefile
blob: bd9233df8f5a7759606b4d1bbc4f37404fa851ca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Created by: gahr
# $FreeBSD$

PORTNAME=   cassandra-cpp-driver
PORTVERSION=    2.3.0
CATEGORIES= databases

MAINTAINER= gahr@FreeBSD.org
COMMENT=    DataStax C/C++ Driver for Apache Cassandra

LICENSE=    APACHE20

LIB_DEPENDS=    libuv.so:${PORTSDIR}/devel/libuv

USE_GITHUB= nodefault
GH_ACCOUNT= datastax
GH_PROJECT= cpp-driver

USES=       cmake:outsource pkgconfig pathfix
CMAKE_ARGS= -DCMAKE_INSTALL_LIBDIR:STRING=lib \
        -DCASS_BUILD_STATIC:BOOL=ON

USE_LDCONFIG=   yes
USE_OPENSSL=    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

.include <bsd.port.mk>