# -*- 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

github.setup        erlang rebar3 3.27.0
revision            0
checksums           rmd160  dc13158d9440b2e95191594a9d3448d1c82dc1af \
                    sha256  985cae6e957334cfa549190b9f5efb9185c184a18fc181c87b8dde096ba79f38 \
                    size    829081

categories          erlang devel
maintainers         {ciserlohn @ci42}
supported_archs     noarch
platforms           any
license             Apache-2

description         Rebar3 is an Erlang tool that makes it easy to create, \
                    develop, and release Erlang libraries, applications, \
                    and systems in a repeatable manner.
                    
long_description    Rebar3 will: respect and enforce standard Erlang/OTP \
                    conventions for project structure so they are easily \
                    reusable by the community\; manage source dependencies \
                    and Erlang packages while ensuring repeatable builds\; \
                    handle build artifacts, paths, and libraries such that \
                    standard development tools can be used without a headache\; \
                    adapt to projects of all sizes on almost any platform\; \
                    treat documentation as a feature, and errors or lack \
                    of documentation as a bug.

github.tarball_from archive

depends_lib         port:erlang

use_configure       no

build.cmd           ${worksrcpath}/bootstrap
build.target

destroot {
    xinstall -m 755 ${worksrcpath}/rebar3 ${destroot}${prefix}/bin
}
