Changeset 14960 for trunk/dports/aqua


Ignore:
Timestamp:
Nov 5, 2005, 1:49:10 PM (14 years ago)
Author:
mww
Message:

Bug: #5600

fix xcode-builddir destroot-error

File:
1 edited

Legend:

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

    r13471 r14960  
    1 # $Id: Portfile,v 1.5 2005/08/11 21:33:15 rshaw Exp $
    2 PortSystem              1.0
     1# $Id: Portfile,v 1.6 2005/11/05 13:49:10 mww Exp $
     2PortSystem 1.0
    33
    44name                    ihook
     
    2727build.target    -buildstyle Deployment -target ${appName}
    2828
     29set xcodebuilddir       build
     30platform darwin 8 {
     31        if {$xcodeversion == "2.1"} {
     32                set xcodebuilddir       build/Deployment
     33        }
     34}
     35
    2936destroot {
    3037        cd ${worksrcpath}
    3138        set appPath ${destroot}/Applications/DarwinPorts
    3239        xinstall -d -m 0755 ${appPath}
    33         system "cp -R build/${appName}.app ${appPath}/${appName}.app"
     40        system "cp -R ${xcodebuilddir}/${appName}.app ${appPath}/${appName}.app"
    3441        set docPath ${destroot}${prefix}/share/doc/${name}
    3542        xinstall -d -m 0755 ${docPath}
Note: See TracChangeset for help on using the changeset viewer.