summaryrefslogtreecommitdiff
path: root/databases/libmongocrypt/Makefile
blob: 69c67512580bbe5e868649463e74e44eb1612557 (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
PORTNAME=	libmongocrypt
DISTVERSION=	1.8.1
CATEGORIES=	databases

MAINTAINER=	hiroo.ono+freebsd@gmail.com
COMMENT=	MongoDB companion C library for client side encryption in drivers
WWW=		https://github.com/mongodb/libmongocrypt

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libbson-1.0.so:devel/libbson \
		libmongoc-1.0.so:devel/mongo-c-driver

USES=		cmake python:build ssl

USE_GITHUB=	yes
GH_ACCOUNT=	mongodb

CMAKE_OFF=	BUILD_TESTING ENABLE_ONLINE_TESTS \
		MONGOCRYPT_ENABLE_DECIMAL128
CMAKE_ON=	USE_SHARED_LIBBSON
CMAKE_ARGS=	-DBUILD_VERSION=${DISTVERSION} \
		-DMONGOCRYPT_MONGOC_DIR="USE-SYSTEM"

.include <bsd.port.mk>