Ticket #12742: Portfile

File Portfile, 1.5 KB (added by themiwi@…, 17 years ago)
Line 
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
6PortSystem    1.0
7PortGroup     xcode 1.0
8
9name          SSHKeychain
10version       0.8.2
11revision      0
12categories    aqua sysutils
13maintainers   themiwi@users.sourceforge.net
14description   SSHKeychain is a graphical front-end to ssh-add
15long_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
21homepage      http://www.sshkeychain.org
22platforms     macosx
23
24# unfortunately there are no tarballs...
25fetch.type    svn
26# ... but the upstream developer uses tags, so that's a good thing...
27svn.url       http://svn.sshkeychain.org/repos/tags/0.8.2
28# ... and we make it airtight with the revision number
29svn.tag       122
30
31# needed to prevent helper apps from getting installed
32patchfiles    patch-SSHKeychain_xcodeproj__project_pbxproj
33
34worksrcdir    ${version}
35xcode.target  ${name}
36
37# Dummy configure to enable +universal.
38use_configure yes
39configure     {}
40
41# Determine for what architecture to build
42# (if +universal, the project already does the right thing...)
43if {! [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