diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2018-05-01 17:15:42 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2018-05-01 17:15:42 +0000 |
commit | 3fe601528328a9fc983d0686e7bf0946f41e97b4 (patch) | |
tree | 40673ab34a1179a2be2f0cf10b2ebf7c9ffe4a23 /security/gopass/Makefile | |
parent | Update to 0.26.2 (diff) |
gopass is a rewrite of the pass password manager in Go with the aim
of making it cross-platform and adding additional features.
PR: 227845
Submitted by: Sascha Holzleiter <sascha@root-login.org>
Notes
Notes:
svn path=/head/; revision=468769
Diffstat (limited to 'security/gopass/Makefile')
-rw-r--r-- | security/gopass/Makefile | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/security/gopass/Makefile b/security/gopass/Makefile new file mode 100644 index 000000000000..5f4de5c48ede --- /dev/null +++ b/security/gopass/Makefile @@ -0,0 +1,38 @@ +# Created by: Sascha Holzleiter <sascha@root-login.org> +# $FreeBSD$ + +PORTNAME= gopass +PORTVERSION= 1.6.11 +DISTVERSIONPREFIX= v +CATEGORIES= security + +MAINTAINER= sascha@root-login.org +COMMENT= Gopass is a rewrite of the pass password manager in Go + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= gpg2:security/gnupg + +USES= go + +USE_GITHUB= yes +GH_ACCOUNT= justwatchcom + +GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME} + +PLIST_FILES= bin/gopass \ + etc/bash_completion.d/gopass.sh \ + share/zsh/site-functions/_gopass + +post-install: + @${STAGEDIR}${PREFIX}/bin/gopass completion bash > ${WRKDIR}/gopass.comp.sh + @${STAGEDIR}${PREFIX}/bin/gopass completion zsh > ${WRKDIR}/gopass.comp.zsh + @${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d + ${INSTALL_DATA} ${WRKDIR}/gopass.comp.sh \ + ${STAGEDIR}${PREFIX}/etc/bash_completion.d/gopass.sh + @${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions + ${INSTALL_DATA} ${WRKDIR}/gopass.comp.zsh \ + ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_gopass + +.include <bsd.port.mk> |