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
RevLine 
[104822]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
[78475]2# $Id: Portfile 112144 2013-10-13 21:01:04Z ryandesign@macports.org $
3
4PortSystem              1.0
[89093]5PortGroup               github 1.0
[78475]6PortGroup               xcode 1.0
7
[112144]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
[78475]12platforms               darwin
[99643]13maintainers             nomaintainer
[78475]14categories              aqua sysutils
[95899]15license                 Apache-2
[111089]16supported_archs         x86_64
[78475]17
[104822]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
[78475]28homepage                http://qsapp.com/
29
[104822]30# Fetch from git instead of distfile because it needs submodules
31fetch.type              git
[78556]32
[104822]33post-fetch {
34    system -W ${worksrcpath} "git submodule update --init"
35}
36
[78475]37set config_root         ${prefix}/share/QS
[104822]38
39post-extract {
[78475]40    file mkdir ${workpath}${config_root}
41}
42
[104822]43patchfiles              patch-Quicksilver-Quicksilver.xcodeproj-project.pbxproj.diff
[78475]44
[104822]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 {
[78696]55    # set Info.plist to be world-writable, so that regular users can
56    # set preferences that require writing to Info.plist
[104822]57    file attributes ${build.dir}/build/${xcode.configuration}/${name}.app/Contents/Info.plist -permissions a+w
58}
[78696]59
[104822]60destroot {
61    move ${workpath}${config_root} ${destroot}${config_root}
62    eval move [glob ${build.dir}/build/${xcode.configuration}/*.app] ${destroot}${applications_dir}
63}
64
[111089]65if {${os.major} < 11} {
[104822]66    pre-fetch {
[111089]67        ui_error "${name} ${version} requires OS X 10.7 or greater."
[104822]68        return -code error "incompatible OS X version"
[78475]69    }
70}
[112144]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.