source: trunk/dports/aqua/Quicksilver/Portfile @ 89184

Last change on this file since 89184 was 89184, checked in by singingwolfboy@…, 8 years ago

switch quicksilver fetch to pull a tarball, fixes #32941

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 KB
Line 
1# $Id: Portfile 89184 2012-01-20 14:07:05Z singingwolfboy@macports.org $
2
3PortSystem              1.0
4PortGroup               github 1.0
5PortGroup               xcode 1.0
6
7github.setup            quicksilver Quicksilver B63
8platforms               darwin
9maintainers             singingwolfboy openmaintainer
10categories              aqua sysutils
11license                 Apache-2.0
12supported_archs         i386
13description             Mac OS X at your fingertips
14long_description        \
15    Quicksilver is a light, fast and free Mac OS X application that gives you \
16    the power to control your Mac with keystrokes alone.
17
18homepage                http://qsapp.com/
19checksums               rmd160  74990efe4355488aa9ea8c0ef457ed9f41505aa9 \
20                        sha256  f0bbb06b178beebae1954c54f5b1698022615c133ad091418155d261451d0b70
21build.dir               ${worksrcpath}/${name}
22xcode.project           ${name}.xcodeproj
23
24patchfiles              disable-Applications-install.diff
25
26set config_root         ${prefix}/share/QS
27use_configure           yes
28configure   {
29    file mkdir ${workpath}${config_root}
30    reinplace -E "s|/tmp/QS|${workpath}${config_root}|" \
31        ${build.dir}/Configuration/Common.xcconfig ${build.dir}/${xcode.project}/project.pbxproj
32    reinplace -E "s|QSHotKeyPlugin|QSHotKeyPlugIn|" \
33        ${build.dir}/${xcode.project}/project.pbxproj
34}
35
36post-destroot {
37    move ${workpath}${config_root} ${destroot}${config_root}
38    foreach framework [glob ${destroot}${applications_dir}/*.framework] {
39        move ${framework} ${destroot}${frameworks_dir}
40    }
41    # set plugins_dir "/Library/Application Support/${name}/PlugIns/"
42    set plugins_dir "${applications_dir}/${name}.app/Contents/PlugIns/"
43    xinstall -d ${destroot}${plugins_dir}
44    foreach plugin [glob ${destroot}${applications_dir}/*.qsplugin] {
45        move ${plugin} ${destroot}${plugins_dir}
46    }
47
48    # set Info.plist to be world-writable, so that regular users can
49    # set preferences that require writing to Info.plist
50    file attributes ${destroot}${applications_dir}/${name}.app/Contents/Info.plist -permissions a+w
51
52    # not sure why this hierarchy is here, but we don't want it
53    if {[file exists ${destroot}${prefix}/var/macports]} {
54        delete ${destroot}${prefix}/var/macports
55    }
56}
57
58# xcode.target            "${name} Distribution"
59# xcode.configuration     Release
Note: See TracBrowser for help on using the repository browser.