source: trunk/dports/aqua/GPGAppKit/Portfile

Last change on this file was 125097, checked in by jmr@…, 3 years ago

GPGAppKit: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 125097 2014-09-05 05:43:21Z ryandesign@macports.org $
2
3PortSystem 1.0
4PortGroup xcode 1.0
5
6name            GPGAppKit
7version         A1
8revision        3
9categories      aqua devel security
10license         GPL-2+
11maintainers     nomaintainer
12description     A framework that provides GPG-type panels
13long_description        \
14        A framework that provides GPG-type panels for key selection     \
15        (single or multiple) and passphrase entry.                      \
16                                                                        \
17        All panels can be used as modal windows, relative windows       \
18        (pseudo-sheets), or sheets.
19homepage        http://macgpg.sourceforge.net
20master_sites    sourceforge:macgpg
21dist_subdir     macgpg
22worksrcdir      ${name}
23checksums       md5 bdf8de6fee79e1e6ffe0b8374b283e35                    \
24                sha1 3b09b07e864b2600894f7eafafe2f537e0b6ce0d
25depends_lib     port:gpgme-objc
26xcode.build.settings    FRAMEWORK_SEARCH_PATHS=${frameworks_dir}
27xcode.destroot.type     framework
28xcode.destroot.settings FRAMEWORK_SEARCH_PATHS=${frameworks_dir}
29
30post-patch {
31    if {${os.major} >= 10} {
32        file copy -force ${filespath}/project.pbxproj ${worksrcpath}/${name}.pbproj/
33        file copy -force ${filespath}/Info-GPGAppKit.plist ${worksrcpath}/
34        system "cd ${worksrcpath}/Swedish.lproj && iconv -f MACROMAN -t UTF-16 Localizable.strings > Localizable.strings.converted"
35        file rename -force ${worksrcpath}/Swedish.lproj/Localizable.strings.converted \
36                           ${worksrcpath}/Swedish.lproj/Localizable.strings
37    }
38}
Note: See TracBrowser for help on using the repository browser.