# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=portfile:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 PortGroup github 1.0 github.setup facebook xctool 0.2.9 categories devel platforms darwin universal_variant no license Apache-2 maintainers sean openmaintainer description Drop-in replacement for xcodebuild with a few extra features long_description ${description} checksums rmd160 ae5054555c9b11e77da566528f88b71d0ddf3d02 \ sha256 0c3c54d35d821710257a4c37795ff5613e9b71673a639e1db6eb71a0be7d92f5 use_configure no # put everything into libexec since the binaries seem to not be user facing # (i.e. only xctool is run by the user and flags like -reporter will run a # binary underneath the hood) build { system -W ${worksrcpath} "./scripts/build.sh XT_INSTALL_ROOT=${destroot}${prefix}/libexec/xctool/ -IDECustomDerivedDataLocation=${worksrcpath}/custombuild" } destroot { foreach f [glob -tails -directory ${destroot}${prefix}/libexec/xctool/lib *.dylib] { system "install_name_tool -id ${prefix}/libexec/xctool/lib/$f ${destroot}${prefix}/libexec/xctool/lib/$f" } ln -s ${prefix}/libexec/xctool/bin/xctool ${destroot}${prefix}/bin/xctool }