# -*- 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
maintainers {jann @roederja} {ionic @ionic} openmaintainer
description GNU Privacy Guard
long_description GnuPG is a complete and free replacement for PGP. Because \
it does not use the patented IDEA algorithm, it can be used \
without any restrictions. GnuPG is a RFC4880 (OpenPGP) \
homepage https://www.gnupg.org
platforms darwin freebsd sunos
distname ${my_name}-${version}
master_sites ${my_name}:${my_name}
checksums rmd160 33822aa08d9c0990f51227aa8cee5ff05468bdef \
sha256 401a3e64780fdfa6d7670de0880aa5c9d589b3db7a7098979d7606cec546f2ec \
if {![variant_isset pinentry] && ![variant_isset pinentry_mac]} {
# Automatically switch between pinentry and pinentry-mac, with pinentry-mac being
# 10.7 and below are not supported by pinentry-mac, though, and will default to
# pinentry. Just like pure darwin without OS X will.
if {${os.subplatform} ne "macosx" ||
${xcodeversion} eq "none" ||
[vercmp ${xcodeversion} {5.0}] < 0 ||
${os.major} < 12 || (![catch {registry_active pinentry}] &&
[catch {registry_active pinentry-mac}])} {
default_variants-append +pinentry
default_variants-append +pinentry_mac
patchfiles-append patch-common_sysutils.c-fix-unsetenv-usage-on-10.4.diff
depends_build port:pkgconfig
depends_lib port:libiconv \