summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Clausecker <fuz@FreeBSD.org>2025-05-06 00:29:51 +0200
committerRobert Clausecker <fuz@FreeBSD.org>2025-05-18 12:17:51 +0200
commit7597b07503e6a880fb929be652364546dd5f031a (patch)
tree6bf13826c8c018d3d7f332b249a6ee247c71fadd
parentmisc/py-litellm: update to 1.70.0 (diff)
textproc/codesearch: update to 1.3.0-rc.1
- use Go modules - adopt port PR: 286611 Approved by: eborisch@gmail.com (maintainer timeout)
-rw-r--r--textproc/codesearch/Makefile15
-rw-r--r--textproc/codesearch/distinfo8
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