# $Id: Portfile 103245 2013-02-19 10:11:38Z larryv@macports.org $ PortSystem 1.0 PortGroup xcode 1.0 name darwinbuild version 33 revision 1 categories devel platforms darwin maintainers wms license BSD description Darwinbuild is a set of tools that facilitate building the sources \ released by Apple. long_description \ The Darwin Build Scripts are a collection of tools that assist compilation of \ the many projects contained in Darwin, the open source base of Apple's \ Mac OS X operating system. Apple publishes the sources of these projects \ in an archive format (.tar.gz). An archive is published for each project \ version on Apple's site. These tools will provide the proper build environment \ as well as help to resolve any necessary dependencies prior to building. homepage http://darwinbuild.macosforge.org/ master_sites http://svn.macosforge.org/repository/darwinbuild/ fetch.type svn svn.url ${master_sites}tags/${distname} svn.revision HEAD worksrcdir ${distname} depends_lib-append port:sqlite3 \ port:tcl xcode.configuration Public xcode.target world xcode.build.settings PREFIX=${prefix} xcode.destroot.settings PREFIX=${prefix} \ LIBRARY_SEARCH_PATHS=${prefix}/lib \ HEADER_SEARCH_PATHS=${prefix}/include \ FRAMEWORK_SEARCH_PATHS=${frameworks_dir} xcode.destroot.type none default_variants +universal variant universal { set xcode.universal.settings "" set xcode.universal.sdk "" } pre-fetch { if {${os.major} < 10} { return -code error "The ${name} port is only for Darwin 10. For Darwin\ 8 & 9 support, install the darwinbuild-legacy port." } if {![variant_isset universal]} { return -code error "You must install ${name} with the universal variant.\ Try running `port install ${name} +universal` " } } platform darwin 9 { replaced_by darwinbuild-legacy } platform darwin 8 { replaced_by darwinbuild-legacy }