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

Last change on this file since 14574 was 14574, checked in by blb, 14 years ago

Port: gpgme
Version: 1.1.0

Update port devel/gpgme
Take maintainership; version bump to 1.1.0; blb-ification of Portfile; add
some docs; clean configure.env

  • Property svn:eol-style set to native
File size: 1.4 KB
Line 
1# $Id: Portfile,v 1.9 2005/10/12 06:33:22 blb Exp $
2
3PortSystem                      1.0
4name                            gpgme
5version                         1.1.0
6categories                      devel security crypto
7maintainers                     blb@pobox.com
8description                     A library for easy acces to GnuPG.
9long_description \
10        GnuPG Made Easy (GPGME) is a library designed to make access \
11        to GnuPG easier for applications. It provides a High-Level \
12        Crypto API for encryption, decryption, signing, signature \
13        verification and key management. Currently it uses GnuPG \
14        as its backend but the API isn't restricted to this engine \
15        in fact we have already developed a backend for CMS (S/MIME).
16
17platforms                       darwin
18
19homepage                        http://www.gnupg.org/related_software/gpgme/
20master_sites            http://mirrors.rootmode.com/ftp.gnupg.org/gpgme/ \
21                                        ftp://ftp.gnupg.org/gcrypt/gpgme/
22
23checksums                       md5 dc180e1c2b3b13cf3b16b9586e8509ac
24
25depends_lib                     port:gnupg lib:libpth:pth \
26                                        lib:libgpg-error:libgpg-error
27
28configure.env           CPPFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib"
29configure.args          --infodir=${prefix}/share/info \
30                                        --mandir=${prefix}/share/man \
31                                        --with-gpg=${prefix}/bin/gpg --enable-static
32
33post-destroot {
34        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
35        xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING COPYING.LESSER \
36                ChangeLog INSTALL NEWS README THANKS TODO \
37                ${destroot}${prefix}/share/doc/${name}
38}
39
40platform darwin 7 {
41        configure.env-append LDFLAGS="-lpth"
42}
43
Note: See TracBrowser for help on using the repository browser.