1 | # -*- 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 |
---|
2 | # $Id: |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name rebar |
---|
7 | # no real version available |
---|
8 | version 0.0.1 |
---|
9 | categories devel |
---|
10 | platforms darwin |
---|
11 | |
---|
12 | maintainers uwe-arzt.de:mail openmaintainer |
---|
13 | |
---|
14 | description Rebar is an Erlang build tool that makes it easy to compile \ |
---|
15 | and test Erlang applications, port drivers and releases. |
---|
16 | long_description Rebar is a self-contained Erlang script, so it's easy to \ |
---|
17 | distribute or even embed directly in a project. Where possible, \ |
---|
18 | Rebar uses standard Erlang/OTP conventions for project \ |
---|
19 | structures, thus minimizing the amount of build configuration \ |
---|
20 | work. Rebar also provides dependency management, enabling \ |
---|
21 | application writers to easily re-use common libraries from a \ |
---|
22 | variety of locations (Git, Hg, etc). |
---|
23 | |
---|
24 | homepage https://bitbucket.org/basho/rebar/wiki/Home |
---|
25 | |
---|
26 | fetch.type hg |
---|
27 | hg.url https://bitbucket.org/basho/rebar |
---|
28 | |
---|
29 | depends_lib port:erlang |
---|
30 | |
---|
31 | # configure and build phase |
---|
32 | use_configure no |
---|
33 | build.cmd ./bootstrap |
---|
34 | |
---|
35 | # destroot phase |
---|
36 | destroot { |
---|
37 | xinstall -m 755 ${worksrcpath}/rebar ${destroot}${prefix}/bin |
---|
38 | } |
---|
39 | |
---|