Revision: 149474 https://trac.macports.org/changeset/149474 Author: sean@macports.org Date: 2016-06-22 15:56:15 -0700 (Wed, 22 Jun 2016) Log Message: ----------- xctool: add new port for building xcode projects Added Paths: ----------- trunk/dports/devel/xctool/ trunk/dports/devel/xctool/Portfile Added: trunk/dports/devel/xctool/Portfile =================================================================== --- trunk/dports/devel/xctool/Portfile (rev 0) +++ trunk/dports/devel/xctool/Portfile 2016-06-22 22:56:15 UTC (rev 149474) @@ -0,0 +1,35 @@ +# -*- 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 +}
participants (1)
-
sean@macports.org