source: trunk/dports/devel/gpgme-objc/Portfile

Last change on this file was 102732, checked in by jmr@…, 5 years ago

gpgme-objc: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 102732 2013-02-07 20:49:26Z ryandesign@macports.org $
2
3PortSystem  1.0
4PortGroup   xcode 1.0
5
6name            gpgme-objc
7set rname       GPGME
8version         1.0.2
9revision        4
10categories      devel security
11license         LGPL-2.1+
12maintainers     nomaintainer
13description     GnuPG Made Easy is an Objective-C framework wrapping libgpgme
14long_description        \
15        GnuPG Made Easy (GPGME) is an Objective-C framework wrapping    \
16        libgpgme, a C language library, that allows to add support      \
17        for cryptography to a program. It is designed to make access    \
18        to crypto engines like GnuPG or GpgSM easier for applications.  \
19        GPGME provides a high-level crypto API for encryption,          \
20        decryption, signing, signature verification and key management.
21homepage        http://macgpg.sourceforge.net
22master_sites    sourceforge:macgpg
23extract.suffix  .tgz
24distname        ${rname}-${version}
25dist_subdir     macgpg
26checksums       md5 9f6fc9eb6d36c298c045178703041314                    \
27                sha1 ff02efeac01253c9df797ec314ef0e4fc537964e
28
29patchfiles      patch-GPGME.xcode-project.pbxproj.diff
30
31post-patch {
32    if {[vercmp $xcodeversion 4.0] >= 0} {
33        copy -force ${filespath}/project.pbxproj ${worksrcpath}/GPGME.xcode/
34    }
35    reinplace s|__PREFIX__|${prefix}|g ${worksrcpath}/GPGME.xcode/project.pbxproj
36}
37
38depends_lib \
39    port:gpgme \
40    port:libgpg-error
41
42xcode.project   ${rname}.xcode
43xcode.target    ${rname}
44xcode.configuration EmbDeployment
45xcode.destroot.type framework
46destroot.args-append SKIP_INSTALL=NO
47
48livecheck.distname  GPGME
Note: See TracBrowser for help on using the repository browser.