git: f42a71e82c2f - 2023Q4 - textproc/jq: Use tarball published by upstream

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 28 Nov 2023 18:09:02 UTC
The branch 2023Q4 has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f42a71e82c2f53f8b1579c81067cf3066ba8aa9b

commit f42a71e82c2f53f8b1579c81067cf3066ba8aa9b
Author:     Joseph Mingrone <jrm@FreeBSD.org>
AuthorDate: 2023-11-28 18:06:25 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-11-28 18:09:00 +0000

    textproc/jq: Use tarball published by upstream
    
    This fixes the output of 'jq --version'.
    
    Differential Revision:  D42758
    
    (cherry picked from commit 7f64a4333a35c3923e7ff9f6a9fd567832a283a9)
---
 textproc/jq/Makefile | 20 ++++++++------------
 textproc/jq/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 15 deletions(-)

diff --git a/textproc/jq/Makefile b/textproc/jq/Makefile
index a5de3eace68e..87a7f5cc44e0 100644
--- a/textproc/jq/Makefile
+++ b/textproc/jq/Makefile
@@ -1,28 +1,24 @@
 PORTNAME=	jq
-DISTVERSIONPREFIX=	${PORTNAME}-
 DISTVERSION=	1.7
-PORTREVISION=	1
+PORTREVISION=	2
 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://stedolan.github.io/jq/
+WWW=		https://jqlang.github.io/jq/
 
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		autoreconf bison cpe gmake libtool
+USES=		cpe gmake libtool
+CPE_VENDOR=	${PORTNAME}_project
 USE_CSTD=	gnu99
 USE_LDCONFIG=	yes
 
-CPE_VENDOR=	${PORTNAME}_project
-
-USE_GITHUB=	yes
-GH_ACCOUNT=	stedolan
-
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--docdir="${DOCSDIR}" \
-		--disable-maintainer-mode
+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
@@ -32,8 +28,8 @@ PORTDOCS=	*
 OPTIONS_DEFINE=			DOCS ONIGURUMA
 OPTIONS_DEFAULT=		ONIGURUMA
 
-DOCS_MAKE_ARGS_OFF=		docdir=
 DOCS_CONFIGURE_ENABLE=		docs
+DOCS_MAKE_ARGS_OFF=		docdir=
 
 ONIGURUMA_DESC=			With oniguruma BSDL regular expression library
 ONIGURUMA_LIB_DEPENDS=		libonig.so:devel/oniguruma
diff --git a/textproc/jq/distinfo b/textproc/jq/distinfo
index 14f8b17a9ef0..b9d0fcdfacde 100644
--- a/textproc/jq/distinfo
+++ b/textproc/jq/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1694068636
-SHA256 (stedolan-jq-jq-1.7_GH0.tar.gz) = f755e813b88b494a5087502812cb35bc32e1544102345900707e8d71124caffc
-SIZE (stedolan-jq-jq-1.7_GH0.tar.gz) = 1267139
+TIMESTAMP = 1700850542
+SHA256 (jq-1.7.tar.gz) = 402a0d6975d946e6f4e484d1a84320414a0ff8eb6cf49d2c11d144d4d344db62
+SIZE (jq-1.7.tar.gz) = 1905863