1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/textproc/ugrep/Makefile
Ashish SHUKLA 4d001c7726
textproc/ugrep: Update to 3.2.2
- Add ZSTD option
2021-05-14 22:25:14 +05:30

52 lines
1.5 KiB
Makefile

PORTNAME= ugrep
DISTVERSIONPREFIX= v
DISTVERSION= 3.2.2
CATEGORIES= textproc
MAINTAINER= ashish@FreeBSD.org
COMMENT= NEW ultra fast grep with interactive query UI
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USES= compiler:c++11-lang gmake
USE_GITHUB= yes
GH_ACCOUNT= Genivia
OPTIONS_DEFINE= COLOR HIDDEN LZ4 MMAP PAGER PCRE2 PRETTY ZSTD
OPTIONS_DEFINE_aarch64= NEON
OPTIONS_DEFINE_amd64= AVX SSE2
OPTIONS_DEFAULT= COLOR HIDDEN LZ4 MMAP PAGER PCRE2 PRETTY ZSTD
OPTIONS_DEFAULT_aarch64= NEON
OPTIONS_DEFAULT_amd64= AVX SSE2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-boost-regex
PCRE2_DESC= Use Perl Compatible Regular Expressions v2
PCRE2_CONFIGURE_WITH= pcre2=${LOCALBASE}
PCRE2_LIB_DEPENDS= libboost_regex.so:devel/boost-libs \
libpcre2-8.so:devel/pcre2
LZ4_CONFIGURE_WITH= lz4=${LOCALBASE}
LZ4_LIB_DEPENDS= liblz4.so:archivers/liblz4
NEON_DESC= ARM NEON/AArch64 optimizations
NEON_CONFIGURE_ENABLE= neon
AVX_CONFIGURE_ENABLE= avx
AVX_DESC= AVX optimizations
SSE2_CONFIGURE_ENABLE= sse2
SSE2_DESC= SSE2 optimizations
COLOR_DESC= Colorized output by default
COLOR_CONFIGURE_ENABLE= color
PRETTY_DESC= Pretty output by default
PRETTY_CONFIGURE_ENABLE= pretty
PAGER_DESC= Pager enabled by default
PAGER_CONFIGURE_ENABLE= pager
HIDDEN_DESC= Search hidden files by default
HIDDEN_CONFIGURE_ENABLE= hidden
MMAP_DESC= Enable memory mapped files by default
MMAP_CONFIGURE_ENABLE= mmap
ZSTD_CONFIGURE_WITH= zstd=${LOCALBASE}
ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd
.include <bsd.port.mk>