From nobody Tue Dec 07 22:21:21 2021 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 9B11918C1B94; Tue, 7 Dec 2021 22:21:21 +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 4J7vsF1tj4z3l9W; Tue, 7 Dec 2021 22:21:21 +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 208BF27C82; Tue, 7 Dec 2021 22:21:21 +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 1B7MLLNl079079; Tue, 7 Dec 2021 22:21:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1B7MLLMf079078; Tue, 7 Dec 2021 22:21:21 GMT (envelope-from git) Date: Tue, 7 Dec 2021 22:21:21 GMT Message-Id: <202112072221.1B7MLLMf079078@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Juraj Lutter Subject: git: d7a1eabd4d36 - main - devel/gopls: Add port: Go language server List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: otis X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d7a1eabd4d361d0f659fadb7262935b252b9a757 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638915681; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=XmwvCKyfc05YfC0JvKEeZWUh/JI2cJZodjL4z4/20+E=; b=rgDtYagzZgzsTDCp8rGFWsKoe7BNXinZhVnj/EdgeuqEc9MEnCd76kFiu+b6JNdUxGcghZ ZsEkMcdA1GJrJmftE6HL4WnUKqpvY/k70NGt6TtkejTVuF6aM5N6ib/iSwmxq3Lb516ST9 1pJ+WD9xNBQl0bfq5gW0uE1Q9eNOOm2QL6deAh4PKLOtAsfEDU7rA7r79tvqVlokONV3YR zBNoU4S2P50f4tDzFT44ke8iFnEuyLacPbIDajeIVxKEY2vv6n+b5czZS1m3k7jufANE0j F+6irCDMrIzfbSxv0QcFo7wNY0mhh1tK+TzXZIaiiFlPR+ZrwiAnrrJO5vgulQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638915681; a=rsa-sha256; cv=none; b=YRNIoJ9H9tXKDX1W/r+lFoBV2m7cuu5TF9FyyQkaH/I18CO4czIfTgoA4cHDEskmRSCZ7x gRSg3NbN6hIXEBlK3E/tF71KI8uxv+RG/+d3pFJUn4u+bT/k6sPDzJASat1ohm4V6ELf6X yGCPuT8aIt2V3Ojx5Do2vCbw3UTp51ex6iXwKsHAsLYnAMe/k1/XYGnjyY9imstw9RfN/F obWnA4D3SLg0DA4bY7290TxHOqaBCea7B1sh/0D73wI4sk9fKxzFze55yuCdvRWoLoCp7G 80jvvmDdOnXoGNiQkv/+VJ6G4Xp4GGyu5pAiPosrn6y3VMnYCSNOoI1CU5FoZQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by otis: URL: https://cgit.FreeBSD.org/ports/commit/?id=d7a1eabd4d361d0f659fadb7262935b252b9a757 commit d7a1eabd4d361d0f659fadb7262935b252b9a757 Author: Robert Clausecker AuthorDate: 2021-12-07 22:18:47 +0000 Commit: Juraj Lutter CommitDate: 2021-12-07 22:18:47 +0000 devel/gopls: Add port: Go language server gopls (pronounced "Go please") is the official Go language server developed by the Go team. It provides IDE features to any LSP-compatible editor. PR: 260258 --- devel/Makefile | 1 + devel/gopls/Makefile | 23 +++++++++++++++++++++++ devel/gopls/distinfo | 5 +++++ devel/gopls/pkg-descr | 10 ++++++++++ devel/gopls/pkg-plist | 19 +++++++++++++++++++ 5 files changed, 58 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 1a45d5b40161..90c0a13af5a4 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -906,6 +906,7 @@ SUBDIR += google-perftools SUBDIR += google-styleguide SUBDIR += googletest + SUBDIR += gopls SUBDIR += goprotobuf SUBDIR += goredo SUBDIR += goreleaser diff --git a/devel/gopls/Makefile b/devel/gopls/Makefile new file mode 100644 index 000000000000..1f08b5864efb --- /dev/null +++ b/devel/gopls/Makefile @@ -0,0 +1,23 @@ +PORTNAME= gopls +DISTVERSIONPREFIX= v +DISTVERSION= 0.7.3 +CATEGORIES= devel + +MAINTAINER= fuz@fuz.su +COMMENT= Go language LSP server + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= go:modules +GO_MODULE= golang.org/x/tools/gopls +GO_TARGET= . + +OPTIONS_DEFINE= DOCS + +post-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC} && ${COPYTREE_SHARE} "README.md doc" ${STAGEDIR}${DOCSDIR} + ${RM} ${STAGEDIR}${DOCSDIR}/doc/*.go + +.include diff --git a/devel/gopls/distinfo b/devel/gopls/distinfo new file mode 100644 index 000000000000..466380df6628 --- /dev/null +++ b/devel/gopls/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1638798658 +SHA256 (go/devel_gopls/gopls-v0.7.3/v0.7.3.mod) = 271cc227e005f66ae97122f94e18787daad54419d2f881458948f6bfd706fc9f +SIZE (go/devel_gopls/gopls-v0.7.3/v0.7.3.mod) = 686 +SHA256 (go/devel_gopls/gopls-v0.7.3/v0.7.3.zip) = 6b866a46556c5e724e185a4595a0956f5c6c566a4fec17369792eb765de91865 +SIZE (go/devel_gopls/gopls-v0.7.3/v0.7.3.zip) = 155055 diff --git a/devel/gopls/pkg-descr b/devel/gopls/pkg-descr new file mode 100644 index 000000000000..690b34738981 --- /dev/null +++ b/devel/gopls/pkg-descr @@ -0,0 +1,10 @@ +gopls (pronounced "Go please") is the official Go language server +developed by the Go team. It provides IDE features to any +LSP-compatible editor. + +You should not need to interact with gopls directly---it will be +automatically integrated into your editor. The specific features and +settings vary slightly by editor, so we recommend that you proceed to +the documentation for your editor below. + +WWW: https://pkg.go.dev/golang.org/x/tools/gopls diff --git a/devel/gopls/pkg-plist b/devel/gopls/pkg-plist new file mode 100644 index 000000000000..1542dcd879ca --- /dev/null +++ b/devel/gopls/pkg-plist @@ -0,0 +1,19 @@ +bin/gopls +%%PORTDOCS%%%%DOCSDIR%%/README.md +%%PORTDOCS%%%%DOCSDIR%%/doc/advanced.md +%%PORTDOCS%%%%DOCSDIR%%/doc/analyzers.md +%%PORTDOCS%%%%DOCSDIR%%/doc/command-line.md +%%PORTDOCS%%%%DOCSDIR%%/doc/commands.md +%%PORTDOCS%%%%DOCSDIR%%/doc/contributing.md +%%PORTDOCS%%%%DOCSDIR%%/doc/daemon.md +%%PORTDOCS%%%%DOCSDIR%%/doc/design/design.md +%%PORTDOCS%%%%DOCSDIR%%/doc/design/implementation.md +%%PORTDOCS%%%%DOCSDIR%%/doc/design/integrating.md +%%PORTDOCS%%%%DOCSDIR%%/doc/emacs.md +%%PORTDOCS%%%%DOCSDIR%%/doc/features.md +%%PORTDOCS%%%%DOCSDIR%%/doc/semantictokens.md +%%PORTDOCS%%%%DOCSDIR%%/doc/settings.md +%%PORTDOCS%%%%DOCSDIR%%/doc/subl.md +%%PORTDOCS%%%%DOCSDIR%%/doc/troubleshooting.md +%%PORTDOCS%%%%DOCSDIR%%/doc/vim.md +%%PORTDOCS%%%%DOCSDIR%%/doc/workspace.md