Ticket #30716: Portfile

File Portfile, 1.4 KB (added by mail@…, 13 years ago)
Line 
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
4PortSystem          1.0
5
6name                rebar
7# no real version available
8version             0.0.1
9categories          devel
10platforms           darwin
11
12maintainers         uwe-arzt.de:mail openmaintainer
13
14description         Rebar is an Erlang build tool that makes it easy to compile \
15                    and test Erlang applications, port drivers and releases.
16long_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                 
24homepage            https://bitbucket.org/basho/rebar/wiki/Home
25
26fetch.type          hg
27hg.url              https://bitbucket.org/basho/rebar
28
29depends_lib         port:erlang
30
31# configure and build phase
32use_configure       no
33build.cmd           ./bootstrap
34
35# destroot phase
36destroot {
37  xinstall -m 755 ${worksrcpath}/rebar ${destroot}${prefix}/bin
38}
39