diff options
author | Ashish SHUKLA <ashish@FreeBSD.org> | 2020-03-22 05:50:30 +0000 |
---|---|---|
committer | Ashish SHUKLA <ashish@FreeBSD.org> | 2020-03-22 05:50:30 +0000 |
commit | 0ee529beaf56a3eb4ee97b06e433c19b5ff952f8 (patch) | |
tree | b215e5db5529e860d08d471cfd04658e0b0af0b2 /security/gopass/Makefile | |
parent | devel/py-pycapsicum: Unbreak on CURRENT (diff) |
- Add patches to fix brokenness in curses UI
- Pet portlint
PR: 244955
Approved by: Sascha Holzleiter <sascha at root-login dot org> (maintainer)
Notes
Notes:
svn path=/head/; revision=528898
Diffstat (limited to 'security/gopass/Makefile')
-rw-r--r-- | security/gopass/Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/security/gopass/Makefile b/security/gopass/Makefile index 5d5ec677e354..deb46f3f9af8 100644 --- a/security/gopass/Makefile +++ b/security/gopass/Makefile @@ -4,7 +4,7 @@ PORTNAME= gopass DISTVERSIONPREFIX= v DISTVERSION= 1.8.6 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MAINTAINER= sascha@root-login.org @@ -13,6 +13,9 @@ COMMENT= Gopass is a rewrite of the pass password manager in Go LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE +ONLY_FOR_ARCHS= amd64 +ONLY_FOR_ARCHS_REASON= Upstream only supports amd64 + RUN_DEPENDS= git:devel/git \ gpg2:security/gnupg @@ -20,15 +23,18 @@ USES= go USE_GITHUB= yes GH_ACCOUNT= gopasspw -ONLY_FOR_ARCHS= amd64 -ONLY_FOR_ARCHS_REASON= Upstream only supports amd64 - GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME} PLIST_FILES= bin/gopass \ etc/bash_completion.d/gopass.sh \ share/zsh/site-functions/_gopass +pre-build: + ${GREP} -FRl github.com/nsf/termbox-go \ + ${WRKSRC}/vendor/github.com/jroimartin/gocui/ | \ + ${XARGS} ${REINPLACE_CMD} -e \ + s,github.com/nsf/termbox-go,github.com/gdamore/tcell/termbox, + post-install: @${STAGEDIR}${PREFIX}/bin/gopass completion bash > ${WRKDIR}/gopass.comp.sh @${STAGEDIR}${PREFIX}/bin/gopass completion zsh > ${WRKDIR}/gopass.comp.zsh |