summaryrefslogtreecommitdiff
path: root/archivers/c-blosc2/Makefile
blob: 32bf7c4015e55da55167938b4a0a55e85682f546 (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
PORTNAME=	c-blosc2
PORTVERSION=	2.2.0
DISTVERSIONPREFIX=	v
CATEGORIES=	archivers

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	High performance compressor optimized for binary data

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE.txt

LIB_DEPENDS=	liblz4.so:archivers/liblz4 \
		libzstd.so:archivers/zstd

USES=		cmake:testing

CMAKE_OFF=	BUILD_LITE DEACTIVATE_AVX2 DEACTIVATE_ZLIB DEACTIVATE_ZSTD TEST_INCLUDE_BENCH_DEBUGSUITE TEST_INCLUDE_BENCH_SUITE TEST_INCLUDE_BENCH_SUM_OPENMP
CMAKE_ON=	BUILD_BENCHMARKS BUILD_EXAMPLES BUILD_FUZZERS BUILD_PLUGINS BUILD_SHARED BUILD_STATIC BUILD_TESTS DEACTIVATE_IPP PREFER_EXTERNAL_LZ4 PREFER_EXTERNAL_ZLIB PREFER_EXTERNAL_ZSTD TEST_INCLUDE_BENCH_BITSHUFFLE_1 TEST_INCLUDE_BENCH_BITSHUFFLE_N TEST_INCLUDE_BENCH_DELTA TEST_INCLUDE_BENCH_SHUFFLE_1 TEST_INCLUDE_BENCH_SHUFFLE_N TEST_INCLUDE_BENCH_TRUNC_PREC TEST_INCLUDE_BENCH_ZERO_RUNLEN TEST_INCLUDE_COMPAT TEST_INCLUDE_EXAMPLES
USE_LDCONFIG=	yes

PLIST_SUB=	PORTVERSION=${PORTVERSION}

GH_ACCOUNT=	Blosc
USE_GITHUB=	yes

.include <bsd.port.options.mk>

.if ${ARCH:Mpowerpc64*}
USES+=		compiler:gcc-c++11-lib
USE_CSTD=	c11
.endif

post-patch:
# Clean up bundled libraries
	@${RM} -r ${WRKSRC}/internal-complibs/

.include <bsd.port.mk>