summaryrefslogtreecommitdiffstats
path: root/devel/mongo-cxx-driver/Makefile
blob: 3e58c0605859102c01f830ca98241a707121d3b7 (plain)
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
35
36
37
38
39
# Created by: Simun Mikecin <numisemis@yahoo.com>
# $FreeBSD$

PORTNAME=	mongo-cxx-driver
PORTVERSION=	1.1.2
DISTVERSIONPREFIX=legacy-
PORTREVISION=	1
CATEGORIES=	devel

MAINTAINER=	numisemis@yahoo.com
COMMENT=	MongoDB Legacy C++ Driver

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/APACHE-2.0.txt

LIB_DEPENDS=	libboost_system.so:devel/boost-libs

BROKEN_powerpc64=	Does not build

MAKE_JOBS_UNSAFE=	yes

OPTIONS_DEFINE=		SCRAM-SHA-1
OPTIONS_DEFAULT=	SCRAM-SHA-1

SCRAM-SHA-1_LIB_DEPENDS=	libsasl2.so:security/cyrus-sasl2
SCRAM-SHA-1_MAKE_ARGS=		--use-sasl-client --ssl
SCRAM-SHA-1_DESC=	SCRAM-SHA-1 authentication mechanism support.

USE_GITHUB=	yes
GH_ACCOUNT=	mongodb
GH_PROJECT=	mongo-cxx-driver

USES=		execinfo scons
MAKE_ARGS=	--prefix=${STAGEDIR}${PREFIX} \
		--cc=${CC} \
		--cxx=${CXX}
USE_LDCONFIG=	yes

.include <bsd.port.mk>
OpenPOWER on IntegriCloud