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

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

Quicksilver: use github portgroup, thereby fixing livecheck

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 KB
Line 
1# $Id: Portfile 89093 2012-01-19 07:46:55Z ryandesign@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/
19fetch.type              git
20build.dir               ${worksrcpath}/${name}
21xcode.project           ${name}.xcodeproj
22
23patchfiles              disable-Applications-install.diff
24
25set config_root         ${prefix}/share/QS
26use_configure           yes
27configure   {
28    file mkdir ${workpath}${config_root}
29    reinplace -E "s|/tmp/QS|${workpath}${config_root}|" \
30        ${build.dir}/Configuration/Common.xcconfig ${build.dir}/${xcode.project}/project.pbxproj
31    reinplace -E "s|QSHotKeyPlugin|QSHotKeyPlugIn|" \
32        ${build.dir}/${xcode.project}/project.pbxproj
33}
34
35post-destroot {
36    move ${workpath}${config_root} ${destroot}${config_root}
37    foreach framework [glob ${destroot}${applications_dir}/*.framework] {
38        move ${framework} ${destroot}${frameworks_dir}
39    }
40    # set plugins_dir "/Library/Application Support/${name}/PlugIns/"
41    set plugins_dir "${applications_dir}/${name}.app/Contents/PlugIns/"
42    xinstall -d ${destroot}${plugins_dir}
43    foreach plugin [glob ${destroot}${applications_dir}/*.qsplugin] {
44        move ${plugin} ${destroot}${plugins_dir}
45    }
46
47    # set Info.plist to be world-writable, so that regular users can
48    # set preferences that require writing to Info.plist
49    file attributes ${destroot}${applications_dir}/${name}.app/Contents/Info.plist -permissions a+w
50
51    # not sure why this hierarchy is here, but we don't want it
52    if {[file exists ${destroot}${prefix}/var/macports]} {
53        delete ${destroot}${prefix}/var/macports
54    }
55}
56
57# xcode.target            "${name} Distribution"
58# xcode.configuration     Release
Note: See TracBrowser for help on using the repository browser.