# -*- 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.24.0
revision            0
checksums           rmd160  27a998b81eacf7425c60f21960d3ce938078db82 \
                    sha256  391b0eaa2825bb427fef1e55a0d166493059175f57a33b00346b84a20398216c \
                    size    821260

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
}
