# $Id: Portfile 146517 2016-03-10 17:49:28Z raimue@macports.org $ PortSystem 1.0 name darwinbuild-legacy version 0.8.0 revision 655 categories devel platforms darwin maintainers wms 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/ pre-fetch { if {${os.major} > 9} { return -code error "The ${name} port is only for Darwin 8 and 9. For Darwin\ 10 and later, install the darwinbuild port." } } platform darwin 9 { worksrcdir Darwin9 svn.url ${master_sites}/releases/${worksrcdir} } platform darwin 8 { set worksrcdir Darwin8 svn.url ${master_sites}/releases/${worksrcdir} } fetch.type svn svn.revision ${revision} build.post_args-append PREFIX=${prefix} if {[info exists build_arch]} { build.env-append RC_CFLAGS="-arch ${build_arch}" } destroot.post_args-append PREFIX=${prefix} depends_lib-append port:sqlite3 \ path:lib/libssl.dylib:openssl use_configure no