blob: 832d0bd474d47403c533efe6a8d90f7ce2187709 (
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
|
PORTNAME= step-cli
DISTVERSIONPREFIX=v
DISTVERSION= 0.23.4
PORTREVISION= 4
CATEGORIES= security
MAINTAINER= mw@wipp.bayern
COMMENT= Smallstep step-ca command line client
WWW= https://smallstep.com/cli/
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go:modules shebangfix
SHEBANG_FILES= autocomplete/bash_autocomplete
GO_MODULE= github.com/smallstep/cli
GO_TARGET= ./cmd/step
GO_BUILDFLAGS= -ldflags "-w -X main.Version=${PORTVERSION}"
PLIST_FILES= bin/step \
etc/bash_completion.d/step-completion.bash \
share/zsh/site-functions/_step
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d
${CP} ${WRKSRC}/autocomplete/bash_autocomplete ${STAGEDIR}${PREFIX}/etc/bash_completion.d/step-completion.bash
${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions
${CP} ${WRKSRC}/autocomplete/zsh_autocomplete ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_step
.include <bsd.port.mk>
|