| @@ -1,23 +1,23 @@ | | | @@ -1,23 +1,23 @@ |
1 | # $NetBSD: Makefile,v 1.2 2021/02/14 14:23:36 pin Exp $ | | 1 | # $NetBSD: Makefile,v 1.3 2021/05/18 12:13:06 pin Exp $ |
2 | | | 2 | |
3 | DISTNAME= kibi-0.2.2 | | 3 | DISTNAME= kibi-0.2.2 |
4 | CATEGORIES= editors | | 4 | CATEGORIES= editors |
5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=ilai-deutel/} | | 5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=ilai-deutel/} |
6 | GITHUB_TAG= v${PKGVERSION_NOREV} | | 6 | GITHUB_TAG= v${PKGVERSION_NOREV} |
7 | | | 7 | |
8 | MAINTAINER= pin@NetBSD.org | | 8 | MAINTAINER= pin@NetBSD.org |
9 | HOMEPAGE= https://github.com/ilai-deutel/kibi/ | | 9 | HOMEPAGE= https://github.com/ilai-deutel/kibi/ |
10 | COMMENT= Text editor in less than 1024 lines of code, written in Rust | | 10 | COMMENT= Text editor in less than 1024 lines of code, written in Rust |
11 | LICENSE= mit | | 11 | LICENSE= mit OR apache-2.0 |
12 | | | 12 | |
13 | .include "cargo-depends.mk" | | 13 | .include "cargo-depends.mk" |
14 | | | 14 | |
15 | USE_LANGUAGES+= c # rust, but needs a toolchain to link | | 15 | USE_LANGUAGES+= c # rust, but needs a toolchain to link |
16 | | | 16 | |
17 | INSTALLATION_DIRS= bin | | 17 | INSTALLATION_DIRS= bin |
18 | | | 18 | |
19 | do-install: | | 19 | do-install: |
20 | ${INSTALL_PROGRAM} ${WRKSRC}/target/release/kibi ${DESTDIR}${PREFIX}/bin | | 20 | ${INSTALL_PROGRAM} ${WRKSRC}/target/release/kibi ${DESTDIR}${PREFIX}/bin |
21 | | | 21 | |
22 | .include "../../lang/rust/cargo.mk" | | 22 | .include "../../lang/rust/cargo.mk" |
23 | .include "../../mk/bsd.pkg.mk" | | 23 | .include "../../mk/bsd.pkg.mk" |