git: 51ffa86efc4c - main - devel/zls: update to 0.12.0

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Mon, 20 May 2024 14:43:02 UTC
The branch main has been updated by jbeich:

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

commit 51ffa86efc4c9900b3d3b7b3e6fe4b0035daf79c
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-04-25 17:44:10 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-05-20 14:42:45 +0000

    devel/zls: update to 0.12.0
    
    Changes:        https://github.com/zigtools/zls/releases/tag/0.12.0
    Reported by:    GitHub (watch releases)
---
 devel/zls/Makefile | 17 ++++++++++-------
 devel/zls/distinfo | 22 +++++++++++-----------
 2 files changed, 21 insertions(+), 18 deletions(-)

diff --git a/devel/zls/Makefile b/devel/zls/Makefile
index 56a97bd93da7..53367daba228 100644
--- a/devel/zls/Makefile
+++ b/devel/zls/Makefile
@@ -1,6 +1,9 @@
 PORTNAME=	zls
-DISTVERSION=	0.11.0
+DISTVERSION=	0.12.0
 CATEGORIES=	devel
+MASTER_SITES=	https://raw.githubusercontent.com/ziglang/:langref
+DISTFILES=	zig/${DISTVERSION}/doc/langref.html.in:langref
+EXTRACT_ONLY=	${DISTFILES:N*\:langref:C/\:.*//}
 
 MAINTAINER=	jbeich@FreeBSD.org
 COMMENT=	Zig LSP implementation + Zig Language Server
@@ -9,20 +12,20 @@ WWW=		https://github.com/zigtools/zls
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	zig011>=0.11.0:lang/zig011
-RUN_DEPENDS=	zig:lang/zig011
+BUILD_DEPENDS=	zig>=0.12.0:lang/zig
+RUN_DEPENDS=	zig:lang/zig
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	zigtools
-GH_TUPLE=	antlilja:8372900fcc09e38d7b0b6bbaddad3904:6c3321e:binned_allocator/../.cache/zig/p/1220363c7e27b2d3f39de6ff6e90f9537a0634199860fea237a55ddb1e1717f5d6a5 \
-		wolfpld:tracy:v0.9.1:tracy/src/tracy \
-		ziglibs:diffz:90353d4:diffz/../.cache/zig/p/122089a8247a693cad53beb161bde6c30f71376cd4298798d45b32740c3581405864 \
-		ziglibs:known-folders:0.7.0-26-gfa75e1b:known_folders/../.cache/zig/p/122048992ca58a78318b6eba4f65c692564be5af3b30fbef50cd4abeda981b2e7fa5
+GH_TUPLE=	wolfpld:tracy:v0.10:tracy/src/tracy \
+		ziglibs:diffz:e10bf15:diffz/../.cache/zig/p/12200d71e4b7029ea56a429e24260c6c0e85a3069b0d4ba85eace21a0fd75910aa64 \
+		ziglibs:known-folders:0.7.0-34-gbf79988:known_folders/../.cache/zig/p/12201314cffeb40c5e4e3da166217d2c74628c74486414aaf97422bcd2279915b9fd
 MAKE_ENV=	DESTDIR="${STAGEDIR}"
 CONFIGURE_ARGS=	--prefix "${PREFIX}" \
 		${WITH_DEBUG:D:U-Doptimize=ReleaseFast} \
 		-Dcpu=${CPUTYPE:Ubaseline} \
 		-Ddata_version=${DISTVERSION} \
+		-Dversion_data_path=${DISTFILES:M*\:langref:C/\:.*//:S,^,${_DISTDIR},} \
 		--verbose
 NO_INSTALL=	yes # strip(1) breaks runtime
 PLIST_FILES=	bin/${PORTNAME}
diff --git a/devel/zls/distinfo b/devel/zls/distinfo
index 434841639e69..8426b67282a7 100644
--- a/devel/zls/distinfo
+++ b/devel/zls/distinfo
@@ -1,11 +1,11 @@
-TIMESTAMP = 1691412659
-SHA256 (zigtools-zls-0.11.0_GH0.tar.gz) = 09fee5720fed9f3e1f494236ba88bf9176d3a01304feaa355b9f4726a574431b
-SIZE (zigtools-zls-0.11.0_GH0.tar.gz) = 554005
-SHA256 (antlilja-8372900fcc09e38d7b0b6bbaddad3904-6c3321e_GH0.tar.gz) = 69c8f7fe1dae6f45bb18e8ff792078aa22e92ca2b4e01807c1646b1e3c7e1a28
-SIZE (antlilja-8372900fcc09e38d7b0b6bbaddad3904-6c3321e_GH0.tar.gz) = 4052
-SHA256 (wolfpld-tracy-v0.9.1_GH0.tar.gz) = c2de9f35ab2a516a9689ff18f5b62a55b73b93b66514bd09ba013d7957993cd7
-SIZE (wolfpld-tracy-v0.9.1_GH0.tar.gz) = 5961762
-SHA256 (ziglibs-diffz-90353d4_GH0.tar.gz) = f36a3056de1f30cdcef8835b0510e243e6e515a0c1252bff10d22b3f6dc140c9
-SIZE (ziglibs-diffz-90353d4_GH0.tar.gz) = 17163
-SHA256 (ziglibs-known-folders-0.7.0-26-gfa75e1b_GH0.tar.gz) = 9b2bbbed719abecb647b4fa2b2a62d956ef7b7a2a0418a56837242cc11917be3
-SIZE (ziglibs-known-folders-0.7.0-26-gfa75e1b_GH0.tar.gz) = 6722
+TIMESTAMP = 1714067050
+SHA256 (zig/0.12.0/doc/langref.html.in) = ee51527e454b3ab9f8da76276320e60649117ccf74de5514259e5283e7815291
+SIZE (zig/0.12.0/doc/langref.html.in) = 465363
+SHA256 (zigtools-zls-0.12.0_GH0.tar.gz) = c8c59dc6a708f3857ffbc1f593db4f6409e50e5ff1319b84dc65b84271e5a3d8
+SIZE (zigtools-zls-0.12.0_GH0.tar.gz) = 341927
+SHA256 (wolfpld-tracy-v0.10_GH0.tar.gz) = a76017d928f3f2727540fb950edd3b736caa97b12dbb4e5edce66542cbea6600
+SIZE (wolfpld-tracy-v0.10_GH0.tar.gz) = 6023869
+SHA256 (ziglibs-diffz-e10bf15_GH0.tar.gz) = 6a940d0f2cfba95ecc017c3bceff80371044130571c46acbe2098ab0ce5efe25
+SIZE (ziglibs-diffz-e10bf15_GH0.tar.gz) = 17264
+SHA256 (ziglibs-known-folders-0.7.0-34-gbf79988_GH0.tar.gz) = 7f650bf379f3354b647a0d5f41af03eb9c4e16b0b43bb150c54bf30d77936d2f
+SIZE (ziglibs-known-folders-0.7.0-34-gbf79988_GH0.tar.gz) = 6780