Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 May 2015 18:18:27 +0000 (UTC)
From:      Jimmy Olgeni <olgeni@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r386640 - in head/devel: . rebar3
Message-ID:  <201505171818.t4HIIRNo028311@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olgeni
Date: Sun May 17 18:18:26 2015
New Revision: 386640
URL: https://svnweb.freebsd.org/changeset/ports/386640

Log:
  Add devel/rebar3, a build tool for Erlang.

Added:
  head/devel/rebar3/
  head/devel/rebar3/Makefile   (contents, props changed)
  head/devel/rebar3/distinfo   (contents, props changed)
  head/devel/rebar3/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sun May 17 18:15:46 2015	(r386639)
+++ head/devel/Makefile	Sun May 17 18:18:26 2015	(r386640)
@@ -4348,6 +4348,7 @@
     SUBDIR += re2c
     SUBDIR += readline
     SUBDIR += rebar
+    SUBDIR += rebar3
     SUBDIR += regexx
     SUBDIR += regexxer
     SUBDIR += remake

Added: head/devel/rebar3/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rebar3/Makefile	Sun May 17 18:18:26 2015	(r386640)
@@ -0,0 +1,34 @@
+# $FreeBSD$
+
+PORTNAME=	rebar3
+PORTVERSION=	20150517
+CATEGORIES=	devel
+MASTER_SITES+=	http://olgeni.olgeni.com/~olgeni/distfiles/:deps \
+		LOCAL/olgeni:deps
+DISTFILES=	${DISTNAME}${EXTRACT_SUFX} rebar3-deps-1.tar.gz:deps
+
+MAINTAINER=	olgeni@FreeBSD.org
+COMMENT=	Build tool for Erlang
+
+LICENSE=	APACHE20
+
+BUILD_DEPENDS=	${LOCALBASE}/bin/erl:${PORTSDIR}/lang/erlang \
+		${LOCALBASE}/bin/git:${PORTSDIR}/devel/git
+RUN_DEPENDS=	${LOCALBASE}/bin/erl:${PORTSDIR}/lang/erlang
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	rebar
+GH_TAGNAME=	9ad3025
+
+PLIST_FILES=	bin/${PORTNAME}
+
+post-extract:
+	@${CP} -R ${WRKDIR}/_build ${WRKSRC}/
+
+do-build:
+	@cd ${WRKSRC} && ./bootstrap
+
+do-install:
+	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
+
+.include <bsd.port.mk>

Added: head/devel/rebar3/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rebar3/distinfo	Sun May 17 18:18:26 2015	(r386640)
@@ -0,0 +1,4 @@
+SHA256 (rebar-rebar3-20150517-9ad3025_GH0.tar.gz) = aa1e593b606377dfa1fa8f0193c3b6105021e773128b88896cf2223dd815c4c4
+SIZE (rebar-rebar3-20150517-9ad3025_GH0.tar.gz) = 137588
+SHA256 (rebar3-deps-1.tar.gz) = e3fe87c4867798a158a1b5678f84ecd01e29d2f8457e78f535d0a98ec69a10be
+SIZE (rebar3-deps-1.tar.gz) = 7728623

Added: head/devel/rebar3/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rebar3/pkg-descr	Sun May 17 18:18:26 2015	(r386640)
@@ -0,0 +1,12 @@
+rebar 3.0 is an Erlang build tool that makes it easy to compile and
+test Erlang applications, port drivers and releases.
+
+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).
+
+WWW: https://www.rebar3.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505171818.t4HIIRNo028311>