blob: e1f3e910986bac17ea04684c19416cf9c8805c26 (
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
|
# Created by: John Marino <marino@FreeBSD.org>
PORTNAME= zstd
PORTVERSION= 1.5.2
CATEGORIES= archivers
MASTER_SITES= https://github.com/facebook/zstd/releases/download/v${PORTVERSION}/
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Fast real-time compression algorithm
LICENSE= BSD3CLAUSE GPLv2
LICENSE_COMB= dual
LICENSE_FILE_BSD3CLAUSE=${WRKSRC}/../../LICENSE
LICENSE_FILE_GPLv2= ${WRKSRC}/../../COPYING
TEST_DEPENDS= gmd5sum:sysutils/coreutils
USES= meson pkgconfig python:3.7+,build shebangfix tar:zst
MESON_ARGS= -Ddefault_library=both
USE_LDCONFIG= yes
WRKSRC_SUBDIR= build/meson
PLIST_SUB= PORTVERSION=${PORTVERSION}
SHEBANG_FILES= *.py
OPTIONS_DEFINE= LZ4 OPTIMIZED_CFLAGS TEST
OPTIONS_DEFAULT=LZ4
LZ4_LIB_DEPENDS= liblz4.so:archivers/liblz4
LZ4_MESON_ENABLED= lz4
LZ4_USES= localbase:ldflags
OPTIMIZED_CFLAGS_VARS= CFLAGS+=-O3
TEST_MESON_TRUE= bin_tests
.include <bsd.port.mk>
|