Changelog: https://github.com/Genivia/ugrep/releases/tag/v3.3.7 From Ricardo <risantos (AT) protonmail (DOT) com> on ports@ -- thanks!
38 lines
723 B
Makefile
38 lines
723 B
Makefile
# $OpenBSD: Makefile,v 1.27 2021/08/14 17:43:50 bcallah Exp $
|
|
|
|
COMMENT = ultra fast universal grep
|
|
CATEGORIES = sysutils
|
|
|
|
GH_ACCOUNT = Genivia
|
|
GH_PROJECT = ugrep
|
|
GH_TAGNAME = v3.3.7
|
|
|
|
MAINTAINER = Brian Callahan <bcallah@openbsd.org>
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
WANTLIB += ${COMPILER_LIBCXX} bz2 c lz4 lzma m pcre2-8 z zstd
|
|
|
|
# C++11
|
|
COMPILER = base-clang ports-gcc
|
|
|
|
LIB_DEPENDS = archivers/lz4 \
|
|
archivers/xz \
|
|
archivers/zstd \
|
|
devel/pcre2
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
CONFIGURE_ARGS = --disable-avx \
|
|
--disable-neon \
|
|
--without-boost-regex
|
|
|
|
# All amd64 machines support SSE2, but the same is not true of i386
|
|
.if ${MACHINE_ARCH:Mi386}
|
|
CONFIGURE_ARGS += --disable-sse2
|
|
.endif
|
|
|
|
USE_GMAKE = Yes
|
|
|
|
.include <bsd.port.mk>
|