Changeset 104822


Ignore:
Timestamp:
Apr 3, 2013, 6:38:39 AM (7 years ago)
Author:
ryandesign@…
Message:

Quicksilver: update to 1.0.0 (#33435)

Location:
trunk/dports/aqua/Quicksilver
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/dports/aqua/Quicksilver/Portfile

    r99643 r104822  
     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
    12# $Id$
    23
     
    56PortGroup               xcode 1.0
    67
    7 github.setup            quicksilver Quicksilver B63
     8github.setup            quicksilver Quicksilver 1.0.0 v
    89platforms               darwin
    910maintainers             nomaintainer
    1011categories              aqua sysutils
    1112license                 Apache-2
    12 supported_archs         i386
    13 description             Mac OS X at your fingertips
    14 long_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.
     13
     14description             OS X launcher utility app
     15
     16long_description        Quicksilver is a launcher utility app for OS X which \
     17                        lets you access applications, documents, contacts, \
     18                        music and more\; browse your Mac’s filesystem using \
     19                        keywords and fuzzy matching\; manage content through \
     20                        drag and drop, or grabbing selected content \
     21                        directly\; and interact with installed applications \
     22                        through plugins.
    1723
    1824homepage                http://qsapp.com/
    19 checksums               rmd160  74990efe4355488aa9ea8c0ef457ed9f41505aa9 \
    20                         sha256  f0bbb06b178beebae1954c54f5b1698022615c133ad091418155d261451d0b70
    21 build.dir               ${worksrcpath}/${name}
    22 xcode.project           ${name}.xcodeproj
    2325
    24 patchfiles              disable-Applications-install.diff
     26# Fetch from git instead of distfile because it needs submodules
     27fetch.type              git
     28
     29post-fetch {
     30    system -W ${worksrcpath} "git submodule update --init"
     31}
    2532
    2633set config_root         ${prefix}/share/QS
    27 use_configure           yes
    28 configure  {
     34
     35post-extract {
    2936    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
    3237}
    3338
    34 post-destroot {
    35     move ${workpath}${config_root} ${destroot}${config_root}
    36     foreach framework [glob ${destroot}${applications_dir}/*.framework] {
    37         move ${framework} ${destroot}${frameworks_dir}
    38     }
    39     # set plugins_dir "/Library/Application Support/${name}/PlugIns/"
    40     set plugins_dir "${applications_dir}/${name}.app/Contents/PlugIns/"
    41     xinstall -d ${destroot}${plugins_dir}
    42     foreach plugin [glob ${destroot}${applications_dir}/*.qsplugin] {
    43         move ${plugin} ${destroot}${plugins_dir}
    44     }
     39patchfiles              patch-Quicksilver-Quicksilver.xcodeproj-project.pbxproj.diff
    4540
     41post-patch {
     42    reinplace -E "s|/tmp/QS|${workpath}${config_root}|" ${build.dir}/Configuration/Common.xcconfig
     43}
     44
     45build.dir               ${worksrcpath}/${name}
     46
     47xcode.project           ${name}.xcodeproj
     48xcode.configuration     Release
     49
     50post-build {
    4651    # set Info.plist to be world-writable, so that regular users can
    4752    # set preferences that require writing to Info.plist
    48     file attributes ${destroot}${applications_dir}/${name}.app/Contents/Info.plist -permissions a+w
     53    file attributes ${build.dir}/build/${xcode.configuration}/${name}.app/Contents/Info.plist -permissions a+w
     54}
    4955
    50     # not sure why this hierarchy is here, but we don't want it
    51     if {[file exists ${destroot}${prefix}/var/macports]} {
    52         delete ${destroot}${prefix}/var/macports
     56destroot {
     57    move ${workpath}${config_root} ${destroot}${config_root}
     58    eval move [glob ${build.dir}/build/${xcode.configuration}/*.app] ${destroot}${applications_dir}
     59}
     60
     61if {${os.major} < 10} {
     62    pre-fetch {
     63        ui_error "${name} ${version} requires OS X 10.6 or greater."
     64        return -code error "incompatible OS X version"
    5365    }
    5466}
    55 
    56 # xcode.target            "${name} Distribution"
    57 # xcode.configuration     Release
  • trunk/dports/aqua/Quicksilver/files/patch-Quicksilver-Quicksilver.xcodeproj-project.pbxproj.diff

    r97963 r104822  
    1 --- Quicksilver/Quicksilver.xcodeproj/project.pbxproj.orig      2011-10-29 17:22:00.000000000 -0400
    2 +++ Quicksilver/Quicksilver.xcodeproj/project.pbxproj   2011-10-29 17:22:21.000000000 -0400
    3 @@ -11,7 +11,6 @@
     1--- Quicksilver/Quicksilver.xcodeproj/project.pbxproj.orig      2013-03-20 12:27:00.000000000 -0500
     2+++ Quicksilver/Quicksilver.xcodeproj/project.pbxproj   2013-04-03 00:13:48.000000000 -0500
     3@@ -26,7 +26,6 @@
    44                        isa = PBXAggregateTarget;
    55                        buildConfigurationList = 7F6B3E6D085CE68E000735A8 /* Build configuration list for PBXAggregateTarget "Quicksilver Distribution" */;
     
    99                        dependencies = (
    1010                                7F0399FB080EE5D7001A9FA3 /* PBXTargetDependency */,
    11 @@ -3334,22 +3333,6 @@
     11@@ -4497,22 +4496,6 @@
    1212                        shellPath = /bin/sh;
    1313                        shellScript = "#rm -rf \"$BUILT_PRODUCTS_DIR/Quicksilver.app/Contents/PlugIns\"";
     
    2727-                       runOnlyForDeploymentPostprocessing = 1;
    2828-                       shellPath = /bin/sh;
    29 -                       shellScript = "#echo \"rsync -auzEv $BUILT_PRODUCTS_DIR/Quicksilver.app /Applications/Quicksilver.app\"\n#rsync -auzEv \"$BUILT_PRODUCTS_DIR/Quicksilver.app/\" /Applications/Quicksilver.app/\n\n#exit\n\nif [ $BUILD_STYLE != \"Release\" ]; then\n        exit\nfi\n\necho $SRCROOT/Tools/buildDMG.pl -dmgName $PRODUCT_NAME \\\n                         -volName Quicksilver \\\n                         -volIcon \"$SRCROOT/Resources/Images/QuicksilverDMG.icns\" \\\n                         -dmgName \"Quicksilver $QS_INFO_VERSION.0\" \\\n                         -compressionLevel 9 \\\n                         -debug \"$BUILT_PRODUCTS_DIR/Quicksilver.app\"\n\n$SRCROOT/Tools/buildDMG.pl -dmgName $PRODUCT_NAME \\\n                         -volName Quicksilver \\\n                         -volIcon \"$SRCROOT/Resources/Images/QuicksilverDMG.icns\" \\\n                         -dmgName \"Quicksilver $QS_INFO_VERSION.0\" \\\n                         -compressionLevel 9 \\\n                         -debug \"$BUILT_PRODUCTS_DIR/Quicksilver.app\"";
     29-                       shellScript = "#echo \"rsync -auzEv $BUILT_PRODUCTS_DIR/Quicksilver.app /Applications/Quicksilver.app\"\n#rsync -auzEv \"$BUILT_PRODUCTS_DIR/Quicksilver.app/\" /Applications/Quicksilver.app/\n\n#exit\n\nif [ $CONFIGURATION != \"Release\" ]; then\n        exit\nfi\n\necho $SRCROOT/Tools/buildDMG.pl -dmgName $PRODUCT_NAME \\\n                         -volName Quicksilver \\\n                         -volIcon \"$SRCROOT/Resources/Images/QuicksilverDMG.icns\" \\\n                         -dmgName \"Quicksilver $QS_INFO_VERSION.0\" \\\n                         -compressionLevel 9 \\\n                         -debug \"$BUILT_PRODUCTS_DIR/Quicksilver.app\"\n\n$SRCROOT/Tools/buildDMG.pl -dmgName $PRODUCT_NAME \\\n                         -volName Quicksilver \\\n                         -volIcon \"$SRCROOT/Resources/Images/QuicksilverDMG.icns\" \\\n                         -dmgName \"Quicksilver $QS_INFO_VERSION.0\" \\\n                         -compressionLevel 9 \\\n                         -debug \"$BUILT_PRODUCTS_DIR/Quicksilver.app\"";
    3030-               };
    3131                7FA4EF1E0913AE44007DB407 /* Release Notes */ = {
Note: See TracChangeset for help on using the changeset viewer.