source: trunk/dports/devel/gpgme/Portfile @ 38450

Last change on this file since 38450 was 38450, checked in by boeyms@…, 11 years ago

devel/gpgme: update to latest version (1.1.6), and remove obsoleted patch.
Closes ticket:15096.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 38450 2008-07-21 07:14:45Z boeyms@macports.org $
2
3PortSystem          1.0
4
5name                gpgme
6version             1.1.6
7categories          devel security crypto
8maintainers         boeyms openmaintainer
9description         A library for easy acces to GnuPG.
10long_description \
11    GnuPG Made Easy (GPGME) is a library designed to make access \
12    to GnuPG easier for applications. It provides a High-Level \
13    Crypto API for encryption, decryption, signing, signature \
14    verification and key management. Currently it uses GnuPG \
15    as its backend but the API isn't restricted to this engine \
16    in fact we have already developed a backend for CMS (S/MIME).
17
18platforms           darwin
19
20homepage            http://www.gnupg.org/related_software/gpgme/
21master_sites        gnupg
22use_bzip2           yes
23
24checksums           md5 daddf775ace2594da834f15c8ebb045e \
25                    sha1 05218df939d72c2fd6d74f22c2b5d5ade0718b7a \
26                    rmd160 b5c110dcd5f14138812b764808367dd5dcbb2ff6
27
28patchfiles          patch-assuan_assuan.h.diff
29
30depends_lib         port:gnupg port:pth port:libgpg-error
31
32post-patch {
33    reinplace "s|thread_modules=\"\"|thread_modules=\"pthread\"|" ${worksrcpath}/gpgme/gpgme-config.in
34}
35
36configure.args      --with-gpg=${prefix}/bin/gpg --enable-static
37
38test.run    yes
39test.target check
40
41post-destroot {
42    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
43    xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING COPYING.LESSER \
44        ChangeLog INSTALL NEWS README THANKS TODO \
45        ${destroot}${prefix}/share/doc/${name}
46}
47
48platform darwin 7 {
49    configure.env-append    LIBS="-lpth"
50}
51
52livecheck.check regex
53livecheck.url   http://mirrors.rootmode.com/ftp.gnupg.org/${name}/?O=D
54livecheck.regex ${name}-(\\d+\\.\\d+\\.\\d+)
Note: See TracBrowser for help on using the repository browser.