source: trunk/dports/devel/racer/Portfile @ 143961

Last change on this file since 143961 was 143961, checked in by sean@…, 4 years ago

racer: update to 1.1.0

File size: 1.3 KB
Line 
1# -*- 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
2# $Id$
3
4PortSystem          1.0
5PortGroup           github 1.0
6
7github.setup        phildawes racer 1.1.0 v
8categories          devel
9platforms           darwin
10
11universal_variant   no
12license             MIT
13maintainers         sean openmaintainer
14
15description         Code completion for Rust
16long_description    RACER = Rust Auto-Complete-er. A utility intended to \
17                    provide rust code completion for editors and IDEs.
18
19depends_lib         port:rust
20depends_build       port:cargo
21
22checksums           rmd160  5ca40aed8f5deddbfd9ef2ca53e89ad9f3a2f160 \
23                    sha256  6bb5759d657e8437799decd9a661614c35263f0dfee97a4c279d6e0008ec0905
24
25# the DYLD_FALLBACK_LIBRARY_PATH is ugly but currently the only way to have
26# rust find the libraries installed via rpath; using install_name_tool wouldn't
27# help in this situation because rust and cargo both download binaries to
28# bootstrap themselves. Since this is just a build argument, I think it's fine
29# for now.
30use_configure       no
31
32build.cmd           cargo
33build.target        build
34build.env           DYLD_FALLBACK_LIBRARY_PATH="${prefix}/lib"
35build.args          --release
36
37destroot {
38    copy ${worksrcpath}/target/release/racer ${destroot}${prefix}/bin/
39}
Note: See TracBrowser for help on using the repository browser.