blob: 41e8469597ef4673c40277f1edc3c11142702e4d (
plain) (
blame)
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
33
34
35
36
37
|
PORTNAME= vm-tui
DISTVERSIONPREFIX= v
DISTVERSION= 1.0.0
PORTREVISION= 2
CATEGORIES= sysutils
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Terminal UI and CLI for vm-bhyve guests, switches and images
WWW= https://github.com/olgeni/vm-tui
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= vm:sysutils/vm-bhyve
USES= go:modules
GO_MODULE= github.com/olgeni/vm-tui
PLIST_FILES= bin/vm-tui \
share/bash-completion/completions/vm-tui \
share/fish/vendor_completions.d/vm-tui.fish \
share/man/man1/vm-tui.1.gz \
share/zsh/site-functions/_vm-tui
post-install:
${INSTALL_MAN} ${WRKSRC}/vm-tui.1 ${STAGEDIR}${PREFIX}/share/man/man1/
@${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions \
${STAGEDIR}${PREFIX}/share/fish/vendor_completions.d \
${STAGEDIR}${PREFIX}/share/zsh/site-functions
${INSTALL_DATA} ${WRKSRC}/completions/vm-tui.bash \
${STAGEDIR}${PREFIX}/share/bash-completion/completions/vm-tui
${INSTALL_DATA} ${WRKSRC}/completions/vm-tui.fish \
${STAGEDIR}${PREFIX}/share/fish/vendor_completions.d/vm-tui.fish
${INSTALL_DATA} ${WRKSRC}/completions/_vm-tui \
${STAGEDIR}${PREFIX}/share/zsh/site-functions/_vm-tui
.include <bsd.port.mk>
|