# $Id: Portfile,v 1.1 2005/11/23 01:23:42 yeled Exp $ PortSystem 1.0 name gnupg2 version 1.9.19 categories mail security maintainers pkern@opendarwin.org description GNU pretty-good-privacy package 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 RFC2440 (OpenPGP) \ compliant application. homepage http://www.gnupg.org platforms darwin freebsd sunos distname gnupg-${version} master_sites http://mirrors.rootmode.com/ftp.gnupg.org/alpha/gnupg/ \ ftp://ftp.freenet.de/pub/ftp.gnupg.org/gcrypt/alpha/gnupg/ \ ftp://ftp.gnupg.org/gcrypt/alpha/gnupg/ use_bzip2 yes checksums ${distfiles} md5 8084256a61aa90e0173d436bf1e6f82b configure.args --mandir=${prefix}/share/man \ --infodir=${prefix}/share/info \ --disable-asm --disable-dynload \ --enable-gpg --disable-agent \ --with-libiconv-prefix=${prefix} \ --with-libintl-prefix=${prefix} \ --with-zlib=${prefix} \ --with-bzip2=${prefix} depends_lib port:libiconv \ port:gettext \ port:zlib \ port:bzip2 \ port:bison \ port:libassuan \ port:libksba \ port:libgcrypt \ port:libgpg-error \ port:pth patchfiles patch-pthlibs test.run yes test.dir ${worksrcpath}/checks test.target check platform sunos { configure.args-delete --disable-asm --disable-dynload } post-destroot { file delete -force ${destroot}${prefix}/share/info/dir \ ${destroot}${prefix}/share/locale/locale.alias \ ${destroot}${prefix}/lib/charset.alias }