From owner-dev-commits-ports-main@freebsd.org Sun Aug 1 00:59:51 2021 Return-Path: Delivered-To: dev-commits-ports-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0F473667BAE; Sun, 1 Aug 2021 00:59:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GcjTf6mHCz3nKm; Sun, 1 Aug 2021 00:59:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D041722979; Sun, 1 Aug 2021 00:59:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1710xoIc013425; Sun, 1 Aug 2021 00:59:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1710xoGI013424; Sun, 1 Aug 2021 00:59:50 GMT (envelope-from git) Date: Sun, 1 Aug 2021 00:59:50 GMT Message-Id: <202108010059.1710xoGI013424@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: 3ab2afc78506 - main - devel/zls: add new port MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3ab2afc785061b463732e1ed2bde968c9e3b95c7 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Aug 2021 00:59:51 -0000 The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=3ab2afc785061b463732e1ed2bde968c9e3b95c7 commit 3ab2afc785061b463732e1ed2bde968c9e3b95c7 Author: Jan Beich AuthorDate: 2021-08-01 00:43:58 +0000 Commit: Jan Beich CommitDate: 2021-08-01 00:59:07 +0000 devel/zls: add new port Zig Language Server, or zls, is a language server for Zig. The Zig wiki states that "The Zig community is decentralized" and "There is no concept of 'official' or 'unofficial'", so instead of calling zls unofficial, and I'm going to call it a cool option, one of many. https://github.com/zigtools/zls --- devel/Makefile | 1 + devel/zls/Makefile | 33 +++++++++++++++++++++++++++++++++ devel/zls/distinfo | 7 +++++++ devel/zls/pkg-descr | 6 ++++++ 4 files changed, 47 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index d0c429672c2e..a09205a1a105 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -7091,6 +7091,7 @@ SUBDIR += zapcc SUBDIR += zeal SUBDIR += zfp + SUBDIR += zls SUBDIR += zookeeper SUBDIR += zpu-binutils SUBDIR += zpu-gcc diff --git a/devel/zls/Makefile b/devel/zls/Makefile new file mode 100644 index 000000000000..31c3966c58ce --- /dev/null +++ b/devel/zls/Makefile @@ -0,0 +1,33 @@ +PORTNAME= zls +DISTVERSION= 0.1.0-226 +DISTVERSIONSUFFIX= -g39d8718 +CATEGORIES= devel + +MAINTAINER= jbeich@FreeBSD.org +COMMENT= Zig LSP implementation + Zig Language Server + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.md + +BUILD_DEPENDS= zig>=0.8.0:lang/zig +RUN_DEPENDS= zig:lang/zig + +USE_GITHUB= yes +GH_ACCOUNT= zigtools +GH_TUPLE= ziglibs:known-folders:0.7.0-6-ge179436:known_folders/src/known-folders \ + ziglibs:zinput:0.1.0-16-g95106b1:zinput/src/zinput +MAKE_ENV= DESTDIR="${STAGEDIR}" +CONFIGURE_ARGS= --prefix "${PREFIX}" \ + ${WITH_DEBUG:U-Drelease-fast=true} \ + --verbose +NO_INSTALL= yes # strip(1) breaks runtime +PLIST_FILES= bin/${PORTNAME} \ + bin/build_runner.zig + +do-build: + @(cd ${WRKSRC} && ${MAKE_ENV} zig build ${CONFIGURE_ARGS}) + +do-test: + @(cd ${WRKSRC} && ${TEST_ENV} zig build test ${CONFIGURE_ARGS}) + +.include diff --git a/devel/zls/distinfo b/devel/zls/distinfo new file mode 100644 index 000000000000..17d732ad44a2 --- /dev/null +++ b/devel/zls/distinfo @@ -0,0 +1,7 @@ +TIMESTAMP = 1622931690 +SHA256 (zigtools-zls-0.1.0-226-g39d8718_GH0.tar.gz) = 3fcd98187947582dcd17fb0305c44c50d08ef032607be898f4bf2133e232385d +SIZE (zigtools-zls-0.1.0-226-g39d8718_GH0.tar.gz) = 217073 +SHA256 (ziglibs-known-folders-0.7.0-6-ge179436_GH0.tar.gz) = 169b3d7ff2e649aefda9fff498c54ddfe12c790d30843f3d4d40a9e760309f50 +SIZE (ziglibs-known-folders-0.7.0-6-ge179436_GH0.tar.gz) = 6424 +SHA256 (ziglibs-zinput-0.1.0-16-g95106b1_GH0.tar.gz) = 0a6a8d2ce8ff21c7dba1e2918e9b997764446748d699f6be1f33aeaf6dd7bf37 +SIZE (ziglibs-zinput-0.1.0-16-g95106b1_GH0.tar.gz) = 4009 diff --git a/devel/zls/pkg-descr b/devel/zls/pkg-descr new file mode 100644 index 000000000000..b8c10fd12d1f --- /dev/null +++ b/devel/zls/pkg-descr @@ -0,0 +1,6 @@ +Zig Language Server, or zls, is a language server for Zig. The Zig +wiki states that "The Zig community is decentralized" and "There is no +concept of 'official' or 'unofficial'", so instead of calling zls +unofficial, and I'm going to call it a cool option, one of many. + +WWW: https://github.com/zigtools/zls