1 | # $Id$ |
---|
2 | # -*- Mode: Tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 |
---|
3 | # |
---|
4 | # Inspired by the Portfile of CocoaDialog |
---|
5 | |
---|
6 | PortSystem 1.0 |
---|
7 | PortGroup xcode 1.0 |
---|
8 | |
---|
9 | name SSHKeychain |
---|
10 | version 0.8.2 |
---|
11 | revision 0 |
---|
12 | categories aqua sysutils |
---|
13 | maintainers themiwi@users.sourceforge.net |
---|
14 | description SSHKeychain is a graphical front-end to ssh-add |
---|
15 | long_description \ |
---|
16 | SSHKeychain is a graphical front-end to ssh-agent and \ |
---|
17 | also allows the creation of ssh tunnels. It automatically \ |
---|
18 | loads keys when needed, integrates with Apple Keychain \ |
---|
19 | and offers key-management. |
---|
20 | |
---|
21 | homepage http://www.sshkeychain.org |
---|
22 | platforms macosx |
---|
23 | |
---|
24 | # unfortunately there are no tarballs... |
---|
25 | fetch.type svn |
---|
26 | # ... but the upstream developer uses tags, so that's a good thing... |
---|
27 | svn.url http://svn.sshkeychain.org/repos/tags/0.8.2 |
---|
28 | # ... and we make it airtight with the revision number |
---|
29 | svn.tag 122 |
---|
30 | |
---|
31 | # needed to prevent helper apps from getting installed |
---|
32 | patchfiles patch-SSHKeychain_xcodeproj__project_pbxproj |
---|
33 | |
---|
34 | worksrcdir ${version} |
---|
35 | xcode.target ${name} |
---|
36 | |
---|
37 | # Dummy configure to enable +universal. |
---|
38 | use_configure yes |
---|
39 | configure {} |
---|
40 | |
---|
41 | # Determine for what architecture to build |
---|
42 | # (if +universal, the project already does the right thing...) |
---|
43 | if {! [variant_isset universal]} { |
---|
44 | set arch ${os.arch} |
---|
45 | if {! [string compare ${os.arch} powerpc]} { |
---|
46 | set arch ppc |
---|
47 | } |
---|
48 | |
---|
49 | xcode.build.settings-append ARCHS=${arch} |
---|
50 | xcode.destroot.settings-append ARCHS=${arch} |
---|
51 | } |
---|
52 | |
---|