# $Id: Portfile 122844 2014-07-31 18:22:17Z devans@macports.org $ PortSystem 1.0 # When updating gpg-agent, update gnupg2 also if applicable. name gpg-agent version 2.0.25 categories security mail maintainers nomaintainer license GPL-3+ installs_libs no description GPG key agent long_description gpg-agent is a key management agent similar \ in function to ssh-agent. homepage http://www.gnupg.org platforms darwin freebsd sunos distname gnupg-${version} dist_subdir gnupg2 master_sites gnupg:gnupg use_bzip2 yes checksums rmd160 b1987258aa0e22a077a02242c0056bdf64e33bfd \ sha256 b3abe97df096cf53d6a422ac922f3c48e688bc892b7ccf669b92f0b7fc6c5823 configure.args --enable-agent-only \ --with-pinentry-pgm=${prefix}/bin/pinentry # glib fails to find the right stdint.h It picks clang's internal one rather # than the system header configure.env gl_cv_absolute_stdint_h=/usr/include/stdint.h depends_lib port:libiconv \ port:gettext \ port:zlib \ port:bzip2 \ port:bison \ port:libassuan \ port:libksba \ port:libgcrypt \ port:libgpg-error \ port:pth \ port:pinentry patchfiles patch-po_Makevars.diff post-destroot { # Prevent conflict with gnupg2 port. delete ${destroot}${prefix}/share/doc/gnupg/README } variant no_pinentry description {Do not use pinentry to handle user input} { depends_lib-delete port:pinentry configure.args-delete --with-pinentry-pgm=${prefix}/bin/pinentry } livecheck.type regex livecheck.url ftp://ftp.gnupg.org/gcrypt/gnupg/ livecheck.regex gnupg-(\\d+\\.\\d+\\.\\d+)