# -*- 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 phildawes racer 1.1.0 v categories devel platforms darwin universal_variant no license MIT maintainers sean openmaintainer description Code completion for Rust long_description RACER = Rust Auto-Complete-er. A utility intended to \ provide rust code completion for editors and IDEs. depends_lib port:rust depends_build port:cargo checksums rmd160 5ca40aed8f5deddbfd9ef2ca53e89ad9f3a2f160 \ sha256 6bb5759d657e8437799decd9a661614c35263f0dfee97a4c279d6e0008ec0905 # the DYLD_FALLBACK_LIBRARY_PATH is ugly but currently the only way to have # rust find the libraries installed via rpath; using install_name_tool wouldn't # help in this situation because rust and cargo both download binaries to # bootstrap themselves. Since this is just a build argument, I think it's fine # for now. use_configure no build.cmd cargo build.target build build.env DYLD_FALLBACK_LIBRARY_PATH="${prefix}/lib" build.args --release destroot { copy ${worksrcpath}/target/release/racer ${destroot}${prefix}/bin/ }