blob: d8ead2520489d5a3f5d73add70b97912e486bc0f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# $NetBSD: Makefile,v 1.1 2022/04/09 09:24:56 bsiegert Exp $
DISTNAME= gitui-0.20.1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=extrawurst/}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= nonakap@gmail.com
HOMEPAGE= https://github.com/extrawurst/gitui/
COMMENT= Terminal UI for git
LICENSE= mit
.include "cargo-depends.mk"
USE_TOOLS+= pkg-config perl gmake
INSTALLATION_DIRS= bin share/doc/gitui share/examples/gitui
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/target/release/gitui \
${DESTDIR}${PREFIX}/bin
for i in KEY_CONFIG.md LICENSE.md README.md THEMES.md; do \
${INSTALL_DATA} ${WRKSRC}/$$i \
${DESTDIR}${PREFIX}/share/doc/gitui/$$i; \
done
for i in vim_style_key_config.ron; do \
${INSTALL_DATA} ${WRKSRC}/$$i \
${DESTDIR}${PREFIX}/share/examples/gitui/$$i; \
done
.include "../../lang/rust/cargo.mk"
.include "../../mk/bsd.pkg.mk"
|