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

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

Quicksilver: update to 1.1.1

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.6 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 112144 2013-10-13 21:01:04Z ryandesign@macports.org $
3
4PortSystem              1.0
5PortGroup               github 1.0
6PortGroup               xcode 1.0
7
8# The developer states it is not possible to provide tags for 1.1.x > 1.1.0.
9# https://github.com/quicksilver/Quicksilver/issues/1644
10github.setup            quicksilver Quicksilver e0f0465640a335fd0f2d49ae80be2083f1473dbe
11version                 1.1.1
12platforms               darwin
13maintainers             nomaintainer
14categories              aqua sysutils
15license                 Apache-2
16supported_archs         x86_64
17
18description             OS X launcher utility app
19
20long_description        Quicksilver is a launcher utility app for OS X which \
21                        lets you access applications, documents, contacts, \
22                        music and more\; browse your Macs filesystem using \
23                        keywords and fuzzy matching\; manage content through \
24                        drag and drop, or grabbing selected content \
25                        directly\; and interact with installed applications \
26                        through plugins.
27
28homepage                http://qsapp.com/
29
30# Fetch from git instead of distfile because it needs submodules
31fetch.type              git
32
33post-fetch {
34    system -W ${worksrcpath} "git submodule update --init"
35}
36
37set config_root         ${prefix}/share/QS
38
39post-extract {
40    file mkdir ${workpath}${config_root}
41}
42
43patchfiles              patch-Quicksilver-Quicksilver.xcodeproj-project.pbxproj.diff
44
45post-patch {
46    reinplace -E "s|/tmp/QS|${workpath}${config_root}|" ${build.dir}/Configuration/Common.xcconfig
47}
48
49build.dir               ${worksrcpath}/${name}
50
51xcode.project           ${name}.xcodeproj
52xcode.configuration     Release
53
54post-build {
55    # set Info.plist to be world-writable, so that regular users can
56    # set preferences that require writing to Info.plist
57    file attributes ${build.dir}/build/${xcode.configuration}/${name}.app/Contents/Info.plist -permissions a+w
58}
59
60destroot {
61    move ${workpath}${config_root} ${destroot}${config_root}
62    eval move [glob ${build.dir}/build/${xcode.configuration}/*.app] ${destroot}${applications_dir}
63}
64
65if {${os.major} < 11} {
66    pre-fetch {
67        ui_error "${name} ${version} requires OS X 10.7 or greater."
68        return -code error "incompatible OS X version"
69    }
70}
71
72# Fails with 406 Not Acceptable
73# https://github.com/quicksilver/QSApp.com/issues/7
74livecheck.type          regex
75livecheck.url           ${homepage}download.php
76livecheck.regex         {>Download (\[0-9.]+)<}
Note: See TracBrowser for help on using the repository browser.