a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 23176 2007-03-27 00:13:05Z jmpp@macports.org $
PortSystem 1.0
name gpg-agent
version 2.0.2
categories security mail
maintainers yeled@macports.org
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}
master_sites gnupg:gnupg
use_bzip2 yes
checksums md5 9f972c78135a7dea1bae66bb9f263980 \
sha1 1a3165c5b601f3244b8885143d02bea4210495e3 \
rmd160 6cc52da761927e17842842c00598c4974208affa
configure.env CPPFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib"
configure.args --enable-agent-only \
--with-pinentry-pgm=${prefix}/bin/pinentry
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
test.run yes
test.dir ${worksrcpath}/tests
test.target check
platform darwin {
configure.env-append MACOSX_DEPLOYMENT_TARGET=10.3
build.env-append MACOSX_DEPLOYMENT_TARGET=10.3
}
platform darwin 7 {
configure.env-delete LDFLAGS="-L${prefix}/lib"
configure.env-append LDFLAGS="-L${prefix}/lib -framework IOKit"
}
variant no_pinentry {
depends_lib-delete port:pinentry
configure.args-delete --with-pinentry-pgm=${prefix}/bin/pinentry
}