mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
60 lines
1.9 KiB
Tcl
60 lines
1.9 KiB
Tcl
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
|
|
|
|
PortSystem 1.0
|
|
PortGroup github 1.0
|
|
|
|
github.setup FiloSottile passage 1.7.4a2
|
|
revision 0
|
|
github.tarball_from archive
|
|
categories security
|
|
license GPL-2+
|
|
platforms any
|
|
supported_archs noarch
|
|
|
|
maintainers {macports.halostatue.ca:austin @halostatue} \
|
|
openmaintainer
|
|
|
|
description ${name} passage is a fork of password-store \
|
|
that uses age as a backend instead of GnuPG.
|
|
long_description {*}${description}
|
|
|
|
# passage depends on either `age` or `rage`
|
|
depends_run port:git \
|
|
port:tree \
|
|
port:qrencode \
|
|
port:util-linux \
|
|
bin:age:age
|
|
|
|
checksums rmd160 a7280b91bb5f3c57fb82082a7078209825ddd50f \
|
|
sha256 d4bd97be2eda4249b31c2042707ef70ba50385f6fb7791598f51be794168ee2c \
|
|
size 19537
|
|
|
|
patchfiles patch-getopt-path.diff
|
|
|
|
post-patch {
|
|
reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/src/platform/darwin.sh
|
|
}
|
|
|
|
use_configure no
|
|
build {}
|
|
|
|
destroot.env-append PREFIX=${prefix} \
|
|
SYSCONFDIR=${prefix}/etc \
|
|
WITH_ALLCOMP=yes
|
|
|
|
notes {
|
|
To use passage bash completion, add the following lines at the end of your
|
|
.bash_profile:
|
|
|
|
[[ -r "${prefix}/share/bash-completion/completions/passage" ]] &&
|
|
source "${prefix}/share/bash-completion/completions/passage"
|
|
|
|
No additional steps are required for zsh and fish shells installed from
|
|
MacPorts.
|
|
|
|
To use these completions with the system version of zsh, include the
|
|
directory with shell completion via fpath to your .zprofile:
|
|
|
|
fpath=(${prefix}/share/zsh/site-functions $fpath)
|
|
}
|