Files

40 lines
803 B
Makefile
Raw Permalink Normal View History

2013-07-11 21:02:23 +00:00
COMMENT = lightweight and flexible command-line JSON processor
2025-07-02 12:39:30 +00:00
V = 1.8.1
2015-10-24 10:25:39 +00:00
DISTNAME = jq-$V
2019-10-04 12:45:12 +00:00
SHARED_LIBS += jq 2.2 # 1.4
2015-07-28 15:33:05 +00:00
CATEGORIES = textproc
HOMEPAGE = https://jqlang.org
2015-07-28 15:33:05 +00:00
# MIT (code), CC-BY-3.0 (docs)
PERMIT_PACKAGE = Yes
2013-07-11 21:02:23 +00:00
2016-08-16 06:48:19 +00:00
# uses pledge()
2023-09-07 10:43:39 +00:00
WANTLIB += c m onig pthread
2018-11-02 16:41:29 +00:00
LIB_DEPENDS = textproc/oniguruma
2013-07-11 21:02:23 +00:00
2023-09-07 10:43:39 +00:00
SITES = https://github.com/jqlang/jq/releases/download/jq-$V/
2013-07-11 21:02:23 +00:00
2018-11-02 16:41:29 +00:00
USE_GMAKE = Yes
2015-07-28 15:33:05 +00:00
CONFIGURE_STYLE = gnu
2018-11-02 16:41:29 +00:00
CONFIGURE_ARGS = --with-oniguruma=${LOCALBASE}
2013-07-11 21:02:23 +00:00
2023-09-07 10:43:39 +00:00
# no need for python to regenerate existing docs and manual
CONFIGURE_ARGS += --disable-docs
# makes all tests fail with SIGILL
CONFIGURE_ARGS += --disable-valgrind
BUILD_DEPENDS = textproc/gsed
TEST_DEPENDS = shells/bash
pre-configure:
ln -s ${LOCALBASE}/bin/gsed ${WRKDIR}/bin/sed
2013-07-11 21:02:23 +00:00
.include <bsd.port.mk>