Ticket #16550: gpgme.diff

File gpgme.diff, 859 bytes (added by blb@…, 16 years ago)

diff to Portfile

  • Portfile

     
    44
    55name                gpgme
    66version             1.1.6
     7revision            1
    78categories          devel security crypto
    89maintainers         boeyms openmaintainer
    910description         A library for easy acces to GnuPG.
     
    4950    configure.env-append    LIBS="-lpth"
    5051}
    5152
     53# S/MIME needs gpgsm which comes with gnupg2 only; so use all gnupg2 here
     54variant smime description {Enable S/MIME support} {
     55    depends_lib-append      port:gnupg2
     56    depends_lib-delete      port:gnupg
     57    configure.args-append   --with-gpg=${prefix}/bin/gpg2
     58}
     59
    5260livecheck.check regex
    5361livecheck.url   http://mirrors.rootmode.com/ftp.gnupg.org/${name}/?O=D
    5462livecheck.regex ${name}-(\\d+\\.\\d+\\.\\d+)