3 | | PortSystem 1.0 |
4 | | name gpg-agent |
5 | | version 1.9.10 |
6 | | revision 1 |
7 | | categories security |
8 | | maintainers yeled@macports.org |
9 | | description GPG key agent |
10 | | long_description gpg-agent is a key management agent similar \ |
11 | | in function to ssh-agent. |
12 | | homepage http://www.gnupg.org/ |
13 | | platforms darwin |
14 | | distname gnupg-${version} |
15 | | master_sites ftp://ftp.gnupg.org/gcrypt/alpha/gnupg/ \ |
16 | | ftp://ftp.freenet.de/pub/ftp.gnupg.org/gcrypt/alpha/gnupg/ |
17 | | checksums md5 d923cfe0921898fbeb66374a0e32ddc6 |
18 | | |
19 | | configure.args --mandir=${prefix}/share/man \ |
20 | | --infodir=${prefix}/share/info \ |
21 | | --with-pinentry-pgm=${prefix}/bin/pinentry \ |
22 | | --enable-agent-only |
23 | | |
24 | | depends_lib port:gettext port:libiconv port:zlib port:bison \ |
25 | | port:libgpg-error port:libassuan port:libgcrypt port:libksba \ |
26 | | port:pth port:pinentry |
27 | | |
28 | | destroot.dir ${worksrcpath}/agent |
29 | | |
30 | | test.run yes |
31 | | test.dir ${worksrcpath}/checks |
32 | | test.target check |
33 | | |
34 | | variant darwin { |
35 | | configure.args-append --disable-asm --disable-dynload |
| 3 | PortSystem 1.0 |
| 4 | name gpg-agent |
| 5 | version 2.0.2 |
| 6 | categories mail security |
| 7 | maintainers yeled@macports.org |
| 8 | description GPG key agent |
| 9 | long_description gpg-agent is a key management agent similar \ |
| 10 | in function to ssh-agent. |
| 11 | homepage http://www.gnupg.org |
| 12 | platforms darwin freebsd sunos |
| 13 | distname gnupg-${version} |
| 14 | master_sites http://mirrors.rootmode.com/ftp.gnupg.org/alpha/gnupg/ \ |
| 15 | ftp://ftp.freenet.de/pub/ftp.gnupg.org/gcrypt/alpha/gnupg/ \ |
| 16 | ftp://ftp.gnupg.org/gcrypt/alpha/gnupg/ |
| 17 | |
| 18 | use_bzip2 yes |
| 19 | checksums ${distfiles} md5 9f972c78135a7dea1bae66bb9f263980 \ |
| 20 | sha1 1a3165c5b601f3244b8885143d02bea4210495e3 \ |
| 21 | rmd160 6cc52da761927e17842842c00598c4974208affa |
| 22 | |
| 23 | |
| 24 | configure.env CPPFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib" |
| 25 | |
| 26 | configure.args --enable-agent-only \ |
| 27 | --with-pinentry-pgm=${prefix}/bin/pinentry |
| 28 | |
| 29 | depends_lib port:libiconv \ |
| 30 | port:gettext \ |
| 31 | port:zlib \ |
| 32 | port:bzip2 \ |
| 33 | port:bison \ |
| 34 | port:libassuan \ |
| 35 | port:libksba \ |
| 36 | port:libgcrypt \ |
| 37 | port:libgpg-error \ |
| 38 | port:pth \ |
| 39 | port:pinentry |
| 40 | |
| 41 | patchfiles patch-po_Makevars |
| 42 | |
| 43 | test.run yes |
| 44 | test.dir ${worksrcpath}/tests |
| 45 | test.target check |
| 46 | |
| 47 | platform darwin { |
| 48 | configure.env-append MACOSX_DEPLOYMENT_TARGET=10.3 |
| 49 | build.env-append MACOSX_DEPLOYMENT_TARGET=10.3 |