git: a55e5323cf75 - main - textproc/{zed,zq}: Update to 1.5.0

From: Koichiro Iwao <meta_at_FreeBSD.org>
Date: Tue, 07 Feb 2023 10:02:08 UTC
The branch main has been updated by meta:

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

commit a55e5323cf75391d9d6d0f9cd27a98c8659351d7
Author:     Koichiro Iwao <meta@FreeBSD.org>
AuthorDate: 2023-02-07 09:55:19 +0000
Commit:     Koichiro Iwao <meta@FreeBSD.org>
CommitDate: 2023-02-07 10:01:47 +0000

    textproc/{zed,zq}: Update to 1.5.0
    
    While here, add a utility make target for maintainer.
    
    Changes:        https://github.com/brimdata/zed/releases/tag/v1.5.0
    Sponsored by:   Miracle Linux
---
 textproc/zed/Makefile | 20 ++++++++++++++++----
 textproc/zed/distinfo | 18 +++++++++---------
 2 files changed, 25 insertions(+), 13 deletions(-)

diff --git a/textproc/zed/Makefile b/textproc/zed/Makefile
index 0d422134e8fe..b970113e02dc 100644
--- a/textproc/zed/Makefile
+++ b/textproc/zed/Makefile
@@ -1,8 +1,6 @@
 PORTNAME?=	zed
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.4.0
-PORTREVISION=	1
-#PORTREVISION=	0
+DISTVERSION=	1.5.0
 CATEGORIES=	textproc
 
 MAINTAINER=	meta@FreeBSD.org
@@ -21,4 +19,18 @@ GO_PKGNAME?=	github.com/brimdata/zed/cmd/zed
 
 PLIST_FILES?=	bin/zed
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${SLAVE_PORT} == no
+
+x-maintainer-makesum:
+	${MAKE} DISTINFO_FILE=${.CURDIR}/distinfo.zed makesum
+	${MAKE} DISTINFO_FILE=${.CURDIR}/distinfo.zq -C "${.CURDIR}/../zq" makesum
+
+	${CAT} ${.CURDIR}/distinfo.zed ${.CURDIR}/distinfo.zq | \
+		${AWK} '$$1 != "TIMESTAMP" || NR == 1' > ${.CURDIR}/distinfo
+	${RM} ${.CURDIR}/distinfo.zed ${.CURDIR}/distinfo.zq
+
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/zed/distinfo b/textproc/zed/distinfo
index 70261b9ffd7b..3a53060373eb 100644
--- a/textproc/zed/distinfo
+++ b/textproc/zed/distinfo
@@ -1,9 +1,9 @@
-TIMESTAMP = 1672886768
-SHA256 (go/textproc_zed/zed-v1.4.0/v1.4.0.mod) = ce7a006ca10169d5e2103760692ef1d3366b1a26da59413b94c90bfc94a55c24
-SIZE (go/textproc_zed/zed-v1.4.0/v1.4.0.mod) = 3515
-SHA256 (go/textproc_zed/zed-v1.4.0/v1.4.0.zip) = e02cce0e1696fe1a942453ebb027fe7397618a0e60c4f5ee5e8f720a7b1b39ce
-SIZE (go/textproc_zed/zed-v1.4.0/v1.4.0.zip) = 3129764
-SHA256 (go/textproc_zq/zq-v1.4.0/v1.4.0.mod) = ce7a006ca10169d5e2103760692ef1d3366b1a26da59413b94c90bfc94a55c24
-SIZE (go/textproc_zq/zq-v1.4.0/v1.4.0.mod) = 3515
-SHA256 (go/textproc_zq/zq-v1.4.0/v1.4.0.zip) = 4ae81dedc4cbe25fe31095cd470fe4aab9c4ee8eef2078d84fa251650ad7c0d2
-SIZE (go/textproc_zq/zq-v1.4.0/v1.4.0.zip) = 3126700
+TIMESTAMP = 1675763594
+SHA256 (go/textproc_zed/zed-v1.5.0/v1.5.0.mod) = 97effc9eef9d9f055e903f75efdb29d66b29eec69eec043020d7bdb4b43f1e16
+SIZE (go/textproc_zed/zed-v1.5.0/v1.5.0.mod) = 3547
+SHA256 (go/textproc_zed/zed-v1.5.0/v1.5.0.zip) = c25b5c7fb5105ed447aed6596508a53d6f7e5fc55657a8eed2d156050d154e30
+SIZE (go/textproc_zed/zed-v1.5.0/v1.5.0.zip) = 3133750
+SHA256 (go/textproc_zq/zq-v1.5.0/v1.5.0.mod) = 97effc9eef9d9f055e903f75efdb29d66b29eec69eec043020d7bdb4b43f1e16
+SIZE (go/textproc_zq/zq-v1.5.0/v1.5.0.mod) = 3547
+SHA256 (go/textproc_zq/zq-v1.5.0/v1.5.0.zip) = 4835401a0560b6680cf108bdf4b966fe7ddcc23013d1f4b07393f63acdd32453
+SIZE (go/textproc_zq/zq-v1.5.0/v1.5.0.zip) = 3130676