freebsd-ports/textproc/jq/Makefile
Muhammad Moinur Rahman 76eb937808 textproc/jq: Moved man to share/man
Approved by:    portmgr (blanket)
2024-01-27 01:30:43 +01:00

39 lines
993 B
Makefile

PORTNAME= jq
DISTVERSION= 1.7
PORTREVISION= 3
CATEGORIES= textproc
MASTER_SITES= https://github.com/jqlang/${PORTNAME}/releases/download/${PORTNAME}-${DISTVERSION}/
MAINTAINER= yuri@FreeBSD.org
COMMENT= Lightweight and flexible command-line JSON processor
WWW= https://jqlang.github.io/jq/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
USES= cpe gmake libtool
CPE_VENDOR= ${PORTNAME}_project
USE_CSTD= gnu99
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
CONFIGURE_ARGS= --disable-maintainer-mode \
--docdir="${DOCSDIR}"
INSTALL_TARGET= install-strip
TEST_TARGET= check # 3 tests fail, see https://github.com/jqlang/jq/issues/2885
PORTDOCS= *
OPTIONS_DEFINE= DOCS ONIGURUMA
OPTIONS_DEFAULT= ONIGURUMA
DOCS_CONFIGURE_ENABLE= docs
DOCS_MAKE_ARGS_OFF= docdir=
ONIGURUMA_DESC= With oniguruma BSDL regular expression library
ONIGURUMA_LIB_DEPENDS= libonig.so:devel/oniguruma
ONIGURUMA_CONFIGURE_WITH= oniguruma=${LOCALBASE}
.include <bsd.port.mk>