The DISTFILES+= is no longer needed

--
 Sent from a phone, apologies for poor formatting.

On 24 February 2023 23:36:53 aisha <openbsd.po...@aisha.cc> wrote:

On 23/02/24 11:26PM, Hukadan wrote:
Le 2023-02-24 18:54, Renato Aguiar a ??crit??:
> rust-analyzer is an implementation of Language Server Protocol for the
> Rust programming language. It provides features like completion and goto
> definition for many code editors, including VS Code, Emacs and Vim.
>
> (port attached)
>
>
> --
> Renato

Thanks for porting this. Tested on amd64 with Helix editor.

H.


ok aisha@ with the following nits (patch for ease of use).

diff --git a/devel/rust-analyzer/Makefile b/devel/rust-analyzer/Makefile
index db2128d..60d8b90 100644
--- a/devel/rust-analyzer/Makefile
+++ b/devel/rust-analyzer/Makefile
@@ -1,16 +1,20 @@
-COMMENT =      A Rust compiler front-end for IDEs
+COMMENT =      Modular Rust compiler front-end for IDEs
+
+CATEGORIES =   devel
+
GH_ACCOUNT =    rust-lang
GH_PROJECT =    rust-analyzer
GH_TAGNAME =    2023-02-20
+
PKGNAME =       ${GH_PROJECT}-${GH_TAGNAME:S/-//g}
-CATEGORIES =   devel
+
HOMEPAGE =      https://rust-analyzer.github.io/

# MIT or Apache-2.0
PERMIT_PACKAGE =        Yes

# as devel/cargo MODULES adds DISTFILES, GH_* didn't
-DISTFILES +=            ${DISTNAME}${EXTRACT_SUFX}
+DISTFILES +=            ${GH_DISTFILE}

MODULES =               devel/cargo
CONFIGURE_STYLE =       cargo

Reply via email to