Ticket #35866: rebar-2.0.0.diff

File rebar-2.0.0.diff, 1.2 KB (added by ryandesign (Ryan Carsten Schmidt), 12 years ago)
  • Portfile

     
    44PortSystem      1.0
    55PortGroup       github 1.0
    66
    7 # no real version available (no tags inside git repo)
    8 github.setup    basho rebar 0.0.2
     7github.setup    basho rebar 2.0.0
    98categories      erlang devel
    109platforms       darwin
    1110maintainers     uwe-arzt.de:mail openmaintainer
     
    2423                 
    2524homepage            ${github.homepage}/wiki
    2625
    27 fetch.type          git
    28 git.branch          d203ff17d79a3a3cd6dc01b77e53268483251d22
     26checksums           rmd160  25d2cf63ae346cb92a11ab8d84e43f848b9ff734 \
     27                    sha256  237561ee22e221924edbe7364b556151d1be89a3c661a1d8983c7b99384ea978
    2928
    3029depends_lib         port:erlang
    3130
    32 # configure and build phase
    3331use_configure       no
     32
    3433build.cmd           ./bootstrap
    3534
    36 # destroot phase
    3735destroot {
    3836  xinstall -m 755 ${worksrcpath}/rebar ${destroot}${prefix}/bin
     37   
     38    set docdir ${prefix}/share/doc/${subport}
     39    xinstall -d ${destroot}${docdir}
     40    xinstall -m 644 -W ${worksrcpath} \
     41        LICENSE \
     42        NOTES.org \
     43        README.md \
     44        THANKS \
     45        ${destroot}${docdir}
    3946}
    4047