# $FreeBSD: head/security/aws-vault/Makefile 569020 2021-03-23 12:49:18Z dmgk $ PORTNAME= aws-vault DISTVERSIONPREFIX= v DISTVERSION= 6.3.0 CATEGORIES= security MAINTAINER= dmgk@FreeBSD.org COMMENT= Vault for securely storing and accessing AWS credentials LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:modules GO_MODULE= github.com/99designs/aws-vault/v6 GO_BUILDFLAGS= -ldflags="-s -w -X main.Version=${PORTVERSION}" PORTDOCS= README.md USAGE.md OPTIONS_DEFINE= DOCS YUBIKEY OPTIONS_SUB= yes YUBIKEY_DESC= Install Yubikey IAM helper script post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d @${MKDIR} ${STAGEDIR}${PREFIX}/share/fish/completions @${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions ${INSTALL_DATA} ${WRKSRC}/contrib/completions/bash/aws-vault.bash ${STAGEDIR}${PREFIX}/etc/bash_completion.d ${INSTALL_DATA} ${WRKSRC}/contrib/completions/fish/aws-vault.fish ${STAGEDIR}${PREFIX}/share/fish/completions ${INSTALL_DATA} ${WRKSRC}/contrib/completions/zsh/aws-vault.zsh ${STAGEDIR}${PREFIX}/share/zsh/site-functions post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} post-install-YUBIKEY-on: ${INSTALL_SCRIPT} ${WRKSRC}/contrib/scripts/aws-iam-create-yubikey-mfa.sh ${STAGEDIR}${PREFIX}/bin .include