-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Paul Guyot <[email protected]>
- Loading branch information
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 | ||
|
||
PortSystem 1.0 | ||
PortGroup github 1.0 | ||
|
||
name elp | ||
github.setup WhatsApp erlang-language-platform 2024-10-08 | ||
github.tarball_from archive | ||
revision 0 | ||
categories erlang devel | ||
maintainers {pguyot @pguyot} openmaintainer | ||
license Apache-2 | ||
|
||
description Erlang Language Platform | ||
long_description Designed at WhatsApp and inspired by the success of the Rust Analyzer project, ELP provides a scalable, fully incremental, IDE-first library for the semantic analysis of Erlang code. | ||
|
||
checksums rmd160 7411a2de8209c692aca05ce2c928d4efb9934abd \ | ||
sha256 223cfedf6dd88cb0d96f3e264f174ad4b465b0235a2f0f181d64747a95adc2bc \ | ||
size 3304069 | ||
|
||
depends_build-append port:erlang \ | ||
port:eqwalizer \ | ||
port:rebar3 \ | ||
port:cargo | ||
|
||
use_configure no | ||
|
||
build.cmd ${prefix}/bin/cargo | ||
build.env-append ELP_EQWALIZER_PATH=${prefix}/share/eqwalizer/eqwalizer.jar | ||
build.env-append EQWALIZER_DIR=${prefix}/share/eqwalizer/eqwalizer_support | ||
build.target build | ||
build.post_args --release | ||
|
||
destroot { | ||
set bindir ${destroot}${prefix}/bin | ||
xinstall -m 0755 -d ${bindir} | ||
xinstall -m 0755 ${worksrcpath}/target/release/${name} ${bindir}/${name} | ||
} |