# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8::et:sw=4:ts=4:sts=4
description ${name} is the standard unix password manager
long_description ${description}
homepage https://www.passwordstore.org/
master_sites https://git.zx2c4.com/password-store/snapshot/
distname password-store-${version}
checksums rmd160 69f8482fa565f3b5990de74cbf4429b20addd577 \
sha256 4768c5e1965c4d2aeb28818681e484fb105b6f46cbd75a97608615c4ec6980ea \
patchfiles patch-getopt-path.diff
reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/src/platform/darwin.sh
destroot.env-append PREFIX=${prefix} \
variant bash description {Include Bash completion support} {
depends_run-append port:bash
destroot.env-append FORCE_BASHCOMP=1
To use pass bash completion, add the following lines at the end of your .bash_profile:
[[ -r "${prefix}/share/bash-completion/completions/pass" ]] && source "${prefix}/share/bash-completion/completions/pass"
variant fish description {Include fish completion support} {
depends_run-append port:fish
destroot.env-append FORCE_FISHCOMP=1
variant zsh description {Include Zsh completion support} {
depends_run-append port:zsh
destroot.env-append FORCE_ZSHCOMP=1