# -*- 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 # $Id$ PortSystem 1.0 name gpgme version 1.5.5 categories devel security crypto license {LGPL-2.1+ GPL-3+} maintainers devans openmaintainer description A library for easy acces to GnuPG. long_description GnuPG Made Easy (GPGME) is a library designed to make access \ to GnuPG easier for applications. It provides a High-Level \ Crypto API for encryption, decryption, signing, signature \ verification and key management. Currently it uses GnuPG \ as its backend but the API isn't restricted to this engine \ in fact we have already developed a backend for CMS (S/MIME). platforms darwin homepage http://www.gnupg.org/related_software/gpgme/ master_sites gnupg use_bzip2 yes checksums rmd160 33b2aca89afc607a6f4cd6675652239ebb6fad7b \ sha256 0b3d3d5107680c594777aae65882a1ff6dd1ba629a83432e719c8b82a743c207 depends_lib port:gnupg2 \ port:pth \ port:libgpg-error \ port:libassuan use_parallel_build no patchfiles patch-tests-gpg-Makefile.in.diff post-patch { reinplace "s|thread_modules=\"\"|thread_modules=\"pthread\"|" ${worksrcpath}/src/gpgme-config.in reinplace "s|@GPG@|${prefix}/bin/gpg2|" ${worksrcpath}/src/gpgme-config.in reinplace "s|@GPGSM@|${prefix}/bin/gpgsm|" ${worksrcpath}/src/gpgme-config.in } configure.args --enable-static post-configure { reinplace "s|CC -dynamiclib|CC -dynamiclib [get_canonical_archflags]|g" ${worksrcpath}/libtool } test.run yes test.target check post-destroot { xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING COPYING.LESSER \ ChangeLog INSTALL NEWS README THANKS TODO \ ${destroot}${prefix}/share/doc/${name} } livecheck.type regex livecheck.url ftp://ftp.gnupg.org/gcrypt/gpgme/ livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"