# -*- 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
# $Id: Portfile 116887 2014-02-09 14:55:17Z ciserlohn@macports.org $

PortSystem      1.0
PortGroup       github 1.0

github.setup    rebar rebar 2.2.0
categories      erlang devel
platforms       darwin
maintainers     uwe-arzt.de:mail openmaintainer
supported_archs noarch
license         Apache-2

description     Rebar is an Erlang build tool that makes it easy to compile \
                    and test Erlang applications, port drivers and releases.
long_description    Rebar is a self-contained Erlang script, so it's easy to \
                    distribute or even embed directly in a project. Where possible, \
                    Rebar uses standard Erlang/OTP conventions for project \
                    structures, thus minimizing the amount of build configuration \
                    work. Rebar also provides dependency management, enabling \
                    application writers to easily re-use common libraries from a \
                    variety of locations (Git, Hg, etc).
                 
checksums           rmd160  e31ccabcf5b0de61a6a4b1a2c434c1c36aa31e4b \
                    sha256  2cc41888d6bae1c0f9db804302162cbf4da2e9f9224dfeb9c9c4c35e86710183

depends_lib         port:erlang

# configure and build phase
use_configure       no

# destroot phase
destroot {
  xinstall -m 755 ${worksrcpath}/rebar ${destroot}${prefix}/bin
}

