aboutsummaryrefslogtreecommitdiff
path: root/databases/tiledb/Makefile
blob: da9930304e409c884ad65cbe8e492f61d2c9a8dd (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
PORTNAME=	tiledb
PORTVERSION=	2.17.0
CATEGORIES=	databases

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	TileDB array data management
WWW=		https://www.tiledb.io/ \
		https://github.com/TileDB-Inc/TileDB

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	${RUN_DEPENDS}
LIB_DEPENDS=	libcapnp.so:devel/capnproto080 \
		libcurl.so:ftp/curl \
		libfmt.so:devel/libfmt \
		liblz4.so:archivers/liblz4 \
		libzstd.so:archivers/zstd
RUN_DEPENDS=	capnproto080>=0.8.0:devel/capnproto080 \
		catch2>=3.1:devel/catch2 \
		clipp>=1.2.3_1:devel/clipp \
		curl>=7.74.0:ftp/curl \
		liblz4>=1.9.3,1:archivers/liblz4 \
		spdlog>=1.11.0:devel/spdlog \
		zstd>=1.4.8:archivers/zstd

USES=		cmake compiler:c++17-lang localbase:ldflags pkgconfig ssl

CFLAGS+=	-DSPDLOG_FMT_EXTERNAL=1
CMAKE_ARGS=	-DCATCH_INCLUDE_DIR=${LOCALBASE}/include/catch2 \
		-Dlibmagic_DICTIONARY=/usr/share/misc/magic.mgc
CMAKE_OFF=	TILEDB_ABSEIL \
		TILEDB_ALLOW_REGEX_CHAR_PATH \
		TILEDB_ARROW_TESTS \
		TILEDB_ASSERTIONS \
		TILEDB_AZURE \
		TILEDB_CMAKE_IDE \
		TILEDB_CRC32 \
		TILEDB_EXPERIMENTAL_FEATURES \
		TILEDB_FORCE_ALL_DEPS \
		TILEDB_GCS \
		TILEDB_HDFS \
		TILEDB_INSTALL_STATIC_DEPS \
		TILEDB_S3 \
		TILEDB_SKIP_S3AWSSDK_DIR_LENGTH_CHECK \
		TILEDB_SUPERBUILD \
		TILEDB_TESTS \
		TILEDB_VERBOSE \
		TILEDB_WEBP \
		TILEDB_WERROR
CMAKE_ON=	CMAKE_EXPORT_COMPILE_COMMANDS \
		TILEDB_CCACHE \
		TILEDB_CPP_API \
		TILEDB_LOG_OUTPUT_ON_FAILURE \
		TILEDB_SERIALIZATION \
		TILEDB_STATIC \
		TILEDB_STATS \
		TILEDB_TOOLS
LDFLAGS+=	-lfmt

GH_ACCOUNT=	TileDB-Inc
GH_PROJECT=	TileDB
USE_GITHUB=	yes

post-install:
	${RM} ${STAGEDIR}${PREFIX}/lib/libbz2.so ${STAGEDIR}${PREFIX}/lib/liblz4.so ${STAGEDIR}${PREFIX}/lib/libzstd.so

.include <bsd.port.mk>