Add devel/rebar3, a build tool for Erlang.

This commit is contained in:
Jimmy Olgeni 2015-05-17 18:18:26 +00:00
parent 2e8977254a
commit 6d2ca25189
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=386640
4 changed files with 51 additions and 0 deletions

View File

@ -4348,6 +4348,7 @@
SUBDIR += re2c
SUBDIR += readline
SUBDIR += rebar
SUBDIR += rebar3
SUBDIR += regexx
SUBDIR += regexxer
SUBDIR += remake

34
devel/rebar3/Makefile Normal file
View File

@ -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>

4
devel/rebar3/distinfo Normal file
View File

@ -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

12
devel/rebar3/pkg-descr Normal file
View File

@ -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/