# $Id$ PortSystem 1.0 PortGroup xcode 1.0 name developer_cmds version 62 categories devel maintainers mfeiri openmaintainer # We install BSD ctags, conflicting with Exuberant Ctags. conflicts ctags homepage http://opensource.apple.com/source/${name}/ master_sites http://opensource.apple.com/tarballs/${name}/ license BSD description A set of general BSD commands for developers long_description Apple's BSD general commands for developers including \ the asa utility, ctags, indent, lorder, mkdep, \ rpcgen, unifdef and what. checksums rmd160 fc306cba8e6e974914efd352833d54d08466fc9b \ sha256 f6913ee3d9e26b59f503886e60e34bfce8e58cffea82874820b4fa037e394acf # some old versions of sys/cdefs.h dont have __FBSDID xcode.build.settings GCC_PREPROCESSOR_DEFINITIONS='__FBSDID\(s\)= ' xcode.destroot.settings GCC_PREPROCESSOR_DEFINITIONS='__FBSDID\(s\)= ' xcode.destroot.path ${prefix}/bin post-extract { reinplace "s|\$(DT_TOOLCHAIN_DIR)/usr|${prefix}|g" \ ${worksrcpath}/${name}.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.\]+)"