# $Id: Portfile 145752 2016-02-15 23:59:43Z mfeiri@macports.org $ 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. # stealth update dist_subdir ${name}/${version}_1 checksums rmd160 b5ddc5e442040bedf727480accbe723741ddf24c \ sha256 b11161df7a8dd293efe52213d8e968279dbff545a583e4706c4250d6cc122ce5 # 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.\]+)"