[85132] trunk/dports/erlang
bfulgham at macports.org
bfulgham at macports.org
Sun Oct 9 20:31:16 PDT 2011
Revision: 85132
http://trac.macports.org/changeset/85132
Author: bfulgham at macports.org
Date: 2011-10-09 20:31:13 -0700 (Sun, 09 Oct 2011)
Log Message:
-----------
Add rebar Erlang packaging tool.
Added Paths:
-----------
trunk/dports/erlang/rebar/
trunk/dports/erlang/rebar/Portfile
Added: trunk/dports/erlang/rebar/Portfile
===================================================================
--- trunk/dports/erlang/rebar/Portfile (rev 0)
+++ trunk/dports/erlang/rebar/Portfile 2011-10-10 03:31:13 UTC (rev 85132)
@@ -0,0 +1,39 @@
+# -*- 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:
+
+PortSystem 1.0
+
+name rebar
+# no real version available
+version 0.0.1
+categories devel
+platforms darwin
+
+maintainers uwe-arzt.de:mail openmaintainer
+
+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).
+
+homepage https://bitbucket.org/basho/rebar/wiki/Home
+
+fetch.type hg
+hg.url https://bitbucket.org/basho/rebar
+
+depends_lib port:erlang
+
+# configure and build phase
+use_configure no
+build.cmd ./bootstrap
+
+# destroot phase
+destroot {
+ xinstall -m 755 ${worksrcpath}/rebar ${destroot}${prefix}/bin
+}
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111009/b7f60622/attachment-0001.html>
More information about the macports-changes
mailing list