1a9b77fd36
-Improve: Reduce number of syscalls by using blocking read from stdin. This stops polling stdin with 100ms interval (#13, thanks to @E3uka)
24 lines
610 B
Makefile
24 lines
610 B
Makefile
# $NetBSD: Makefile,v 1.5 2021/03/01 15:13:01 pin Exp $
|
|
|
|
DISTNAME= kiro-editor-0.4.3
|
|
CATEGORIES= editors
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=rhysd/}
|
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
|
|
|
MAINTAINER= pin@NetBSD.org
|
|
HOMEPAGE= https://github.com/rhysd/kiro-editor/
|
|
COMMENT= Terminal UTF-8 text editor written in Rust
|
|
LICENSE= mit
|
|
|
|
.include "cargo-depends.mk"
|
|
|
|
USE_LANGUAGES+= c c++ # rust, but needs a toolchain to link
|
|
USE_TOOLS+= gmake
|
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/target/release/kiro ${DESTDIR}${PREFIX}/bin
|
|
|
|
.include "../../lang/rust/cargo.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|