# $Id$ PortSystem 1.0 PortGroup xcode 1.0 PortGroup xcodeversion 1.0 name bootstrap_cmds version 84 categories devel maintainers mfeiri openmaintainer homepage http://opensource.apple.com/source/${name}/ master_sites http://opensource.apple.com/tarballs/${name}/ license APSL-2.0 description Darwin Core OS Bootstrap Commands long_description Bootstrapping tools like the Mach Interface \ Generator (MIG) required to build the XNU kernel. checksums rmd160 9a78da11aae68f8bdca1d3c60d16127402947d2f \ sha256 6a5e6d39439e5d8563a0c660a17d0663bf2e60a4aeb2e76d485976ca957a592c supported_archs i386 ppc xcode.project mig.xcodeproj xcode.destroot.path ${prefix}/bin post-extract { reinplace "s|VALID_ARCHS = i386|VALID_ARCHS = \"i386 ppc\"|g" \ ${worksrcpath}/mig.xcodeproj/project.pbxproj reinplace "s|\$(DT_TOOLCHAIN_DIR)/usr|${prefix}|g" \ ${worksrcpath}/mig.xcodeproj/project.pbxproj foreach f [glob ${worksrcpath}/xcodescripts/*.sh] { reinplace "s|\$DSTROOT/\$DT_TOOLCHAIN_DIR/usr|${destroot}${prefix}|g" $f } } livecheck.type regex livecheck.regex "${name}-(\[\\d.\]+)"