pkgsrc/lang/rust-analyzer/Makefile
wiz 0fb0d65663 rust-analyzer: update to 0.0.2021.12.06.
10944: internal: Prefer resolution of inert attributes
10876: fix: Show parameter hints unconditionally for logical not expressions
2021-12-07 19:50:34 +00:00

28 lines
778 B
Makefile

# $NetBSD: Makefile,v 1.2 2021/12/07 19:50:34 wiz Exp $
DISTNAME= rust-analyzer-2021-12-06
PKGNAME= ${DISTNAME:C/-2([0-9]*)-([0-9]*)-([0-9]*)/-0.0.2\1.\2.\3/}
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GITHUB:=rust-analyzer/}
GITHUB_PROJECT= rust-analyzer
GITHUB_TAG= ${DISTNAME:S/rust-analyzer-//}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/rust-analyzer/rust-analyzer/
COMMENT= Rust compiler front-end for IDEs
LICENSE= apache-2.0
DEPENDS+= rust-src-[0-9]*:../../lang/rust-src
WRKSRC= ${WRKDIR}/${DISTNAME}
INSTALLATION_DIRS= bin
USE_LANGUAGES= c c++
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/target/release/rust-analyzer ${DESTDIR}${PREFIX}/bin
.include "cargo-depends.mk"
.include "../../lang/rust/cargo.mk"
.include "../../mk/bsd.pkg.mk"