Ignore:
Timestamp:
Jul 4, 2005, 4:37:51 AM (12 years ago)
Author:
pguyot
Message:

Upgrade some ports to use $xcodeversion.
Some destrooted on 10.3 with Xcode < 2.1 only, some also destrooted with Xcode
2.1 on 10.4 but with $xcodeversion, any supported Xcode version and any
supported MacOS X version should work.
Destroot was tested on my box only (10.4 with Xcode 2.1).

So far, I did them all from A to Freecell (Fire is still compiling and
Chmox didn't require any change).

File:
1 edited

Legend:

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

    r6905 r12923  
    1 # $Id: Portfile,v 1.1 2004/05/05 16:10:23 mww Exp $
     1# $Id: Portfile,v 1.2 2005/07/04 04:37:50 pguyot Exp $
    22
    33PortSystem 1.0
     
    2121
    2222build.type      pbx
    23 build.target
     23build.target    -buildstyle Deployment
     24
     25set xcodebuilddir               build
     26platform darwin 8 {
     27        if {$xcodeversion == "2.1"} {
     28                set xcodebuilddir       build/Deployment
     29        }
     30}
    2431
    2532destroot        {
    2633        xinstall -m 755 -d ${destroot}/Applications/DarwinPorts
    27         file copy ${worksrcpath}/build/${name}.app \
     34        file copy ${worksrcpath}/${xcodebuilddir}/${name}.app \
    2835                ${destroot}/Applications/DarwinPorts/
    2936}
Note: See TracChangeset for help on using the changeset viewer.