source: trunk/dports/security/pass/Portfile

Last change on this file was 138311, checked in by ionic@…, 2 years ago

pass: switch to path-based dependency for gpg2. We do not want to use other gpg2 binaries.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# -*- 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
2# $Id: Portfile 138311 2015-07-05 17:16:04Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                pass
7version             1.6.5
8maintainers         macports.swinbank.org:john openmaintainer
9categories          security
10description         ${name} is the standard unix password manager
11long_description    ${description}
12platforms           darwin
13supported_archs     noarch
14homepage            http://www.passwordstore.org/
15license             GPL-2+
16
17depends_run                     port:git \
18                    port:pwgen \
19                    port:getopt \
20                    port:tree \
21                    path:bin/gpg2:gnupg2
22
23master_sites        http://git.zx2c4.com/password-store/snapshot/
24distname            password-store-${version}
25use_xz              yes
26
27checksums           rmd160 76e50eaef02163dc23c155ade34b88e965ac6f30 \
28                    sha256 337a39767e6a8e69b2bcc549f27ff3915efacea57e5334c6068fcb72331d7315
29
30patchfiles          patch-Makefile.diff \
31                    patch-getopt-path.diff
32
33post-patch {
34    reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/src/platform/darwin.sh
35}
36
37use_configure       no
38build {}
39
40destroot.env-append PREFIX=${prefix} \
41                    SYSCONFDIR=${prefix}/etc
42
43default_variants    +bash
44
45variant bash description {Include Bash completion support} {
46    depends_run-append port:bash
47    destroot.env-append FORCE_BASHCOMP=1
48}
49
50variant fish description {Include fish completion support} {
51    depends_run-append port:fish
52    destroot.env-append FORCE_FISHCOMP=1
53}
54
55variant zsh description {Include Zsh completion support} {
56    depends_run-append port:zsh
57    destroot.env-append FORCE_ZSHCOMP=1
58}
Note: See TracBrowser for help on using the repository browser.