# $Id$ PortSystem 1.0 name cctools-headers version 829 set xnu_headers_version 2050.9.2 categories devel platforms darwin maintainers mfeiri jeremyhu openmaintainer license APSL-2 description Headers for compiler on Mac OS X and Darwin long_description A set of essential headers for compiler on Mac OS X \ and Darwin. Similar to binutils on other platforms. homepage http://opensource.apple.com/source/cctools/ master_sites http://opensource.apple.com/tarballs/cctools/:cctools \ http://opensource.apple.com/tarballs/xnu/:xnu distname cctools-${version} distfiles cctools-${version}.tar.gz:cctools xnu-${xnu_headers_version}.tar.gz:xnu checksums cctools-829.tar.gz \ rmd160 55a01500935bf8a6e541ac2109317746c4e7b90d \ sha256 f140b3a2ab7c85b0316afcd816cc8171f81585eea125bca64d781d4e192d65dc \ xnu-2050.9.2.tar.gz \ rmd160 b874ebec10504e0eac63dcbc8c85960e7dc7a47f \ sha256 f342179c625413ae3a74fc1a5747fc555c1353cfef6259c595626469744a6405 supported_archs noarch universal_variant no use_configure no build {} destroot.args DSTROOT=${destroot}${prefix} RC_ProjectSourceVersion=${version} destroot.target installhdrs post-destroot { file rename -force ${destroot}${prefix}/usr/include ${destroot}${prefix}/ file delete -force ${destroot}${prefix}/usr # cctools has older versions of the mach headers, so we get more recent # versions from xnu. Note that machine/vm_types.h is still obtained # from the HOST SDK. This just provides updated macros for new # architecture types. xinstall -d -m 755 ${destroot}${prefix}/include/mach xinstall -m 644 ${workpath}/xnu-${xnu_headers_version}/osfmk/mach/machine.h ${destroot}${prefix}/include/mach } livecheck.type regex livecheck.regex "cctools-(\[\\d.\]+)"