git: 7597b07503e6 - main - textproc/codesearch: update to 1.3.0-rc.1

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Sun, 18 May 2025 10:18:16 UTC
The branch main has been updated by fuz:

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

commit 7597b07503e6a880fb929be652364546dd5f031a
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2025-05-05 22:29:51 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2025-05-18 10:17:51 +0000

    textproc/codesearch: update to 1.3.0-rc.1
    
     - use Go modules
     - adopt port
    
    PR:             286611
    Approved by:    eborisch@gmail.com (maintainer timeout)
---
 textproc/codesearch/Makefile | 15 ++++++---------
 textproc/codesearch/distinfo |  8 +++++---
 2 files changed, 11 insertions(+), 12 deletions(-)

diff --git a/textproc/codesearch/Makefile b/textproc/codesearch/Makefile
index 0ee4589ee2b8..2297a64e37a2 100644
--- a/textproc/codesearch/Makefile
+++ b/textproc/codesearch/Makefile
@@ -1,25 +1,22 @@
 PORTNAME=	codesearch
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.1.0
-PORTREVISION=	24
+DISTVERSION=	1.3.0-rc.1
 CATEGORIES=	textproc
 
-MAINTAINER=	eborisch@gmail.com
+MAINTAINER=	fuz@FreeBSD.org
 COMMENT=	Fast (indexed) text search tool from Google
 WWW=		https://github.com/google/codesearch
 
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		go
+USES=		go:modules,1.23
 
-USE_GITHUB=	yes
-GH_ACCOUNT=	google
-
-GO_PKGNAME=	github.com/google/codesearch
+GO_MODULE=	github.com/google/codesearch
 GO_TARGET=	./cmd/cgrep \
 		./cmd/cindex \
-		./cmd/csearch
+		./cmd/csearch \
+		./cmd/csweb
 
 CONFLICTS_INSTALL=	hs-cgrep
 
diff --git a/textproc/codesearch/distinfo b/textproc/codesearch/distinfo
index a1639aa72c77..5d93e667f468 100644
--- a/textproc/codesearch/distinfo
+++ b/textproc/codesearch/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1578920429
-SHA256 (google-codesearch-v1.1.0_GH0.tar.gz) = b177021d1da1ddfc333fcbfc679eadd62c8677a6ae6119f25c4ad6b912bcdd7e
-SIZE (google-codesearch-v1.1.0_GH0.tar.gz) = 34076
+TIMESTAMP = 1746484009
+SHA256 (go/textproc_codesearch/codesearch-v1.3.0-rc.1/v1.3.0-rc.1.mod) = 6d44cd220a4066e0b61021d3d0bc7bcb431db29312e5b2f1160a692b8d07574f
+SIZE (go/textproc_codesearch/codesearch-v1.3.0-rc.1/v1.3.0-rc.1.mod) = 45
+SHA256 (go/textproc_codesearch/codesearch-v1.3.0-rc.1/v1.3.0-rc.1.zip) = 697c29ada1133f2407209b1ae94579002b7fe7d043a31e3c5e7492653e0e9429
+SIZE (go/textproc_codesearch/codesearch-v1.3.0-rc.1/v1.3.0-rc.1.zip) = 64308