categories devel macports framework
description Cocoa framework for MacPorts.
MacPorts.framework is a framework for linking Cocoa applications to the \
homepage https://www.macports.org
#checksums md5 c586fd603d9978b306aee428ea39e329
svn.url https://svn.macports.org/repository/macports/contrib/MacPorts_Framework
worksrcdir MacPorts_Framework
xcode.configuration Release
ui_error "${name} requires Mac OS X 10.5 or greater."
# see https://trac.macports.org/ticket/45835
build.pre_args GCC_ENABLE_OBJC_GC=NO
destroot.pre_args GCC_ENABLE_OBJC_GC=NO
# this port does not build with the new xcode build system at present
if {[vercmp ${xcodeversion} 10.0] >= 0} {
build.pre_args -UseNewBuildSystem=NO
destroot.pre_args -UseNewBuildSystem=NO
xcode.destroot.type framework
#Clean up MPHelperInstallTool and MPHelperTool from directory
file delete ${destroot}${frameworks_dir}/MPHelperTool \
${destroot}${frameworks_dir}/MPHelperInstallTool