Ignore:
Timestamp:
Aug 2, 2008, 11:04:03 AM (11 years ago)
Author:
ryandesign@…
Message:

DesktopManager: use ${applications_dir}

File:
1 edited

Legend:

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

    r27802 r38915  
    2727xcode.destroot.settings SKIP_INSTALL=yes
    2828
     29# Can be removed once MacPorts 1.7.0 is released
     30if {![info exists applications_dir]} {
     31    set applications_dir /Applications/MacPorts
     32}
     33
    2934post-destroot {
    30         xinstall -d ${destroot}/Applications/MacPorts
     35        xinstall -d ${destroot}${applications_dir}
    3136        copy "${worksrcpath}/build/UninstalledProducts/Desktop Manager.app" \
    32                 ${destroot}/Applications/MacPorts
     37                ${destroot}${applications_dir}
    3338
    34         eval delete [glob "${destroot}/Applications/MacPorts/Desktop Manager.app/Contents/{PlugIns,Resources/*}/*.bundle/*.bundle"]
     39        eval delete [glob "${destroot}${applications_dir}/Desktop Manager.app/Contents/{PlugIns,Resources/*}/*.bundle/*.bundle"]
    3540}
    3641
Note: See TracChangeset for help on using the changeset viewer.