Ticket #31591: Portfile

File Portfile, 1.4 KB (added by kenny.macdermid@…, 12 years ago)

Portfile to use github

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      erlang 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://github.com/basho/rebar/wiki
25
26fetch.type          git
27git.url             https://github.com/basho/rebar.git
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