diff options
author | jperkin <jperkin@pkgsrc.org> | 2021-01-27 16:16:44 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2021-01-27 16:16:44 +0000 |
commit | 2f618e937d7d7678212749cc50b1d27f1494e143 (patch) | |
tree | a934a0a0402dfbbf865c4978c2b58169df57ab34 /devel | |
parent | 57fd3b33d0fdddc5781b8b4001534842432071ef (diff) | |
download | pkgsrc-2f618e937d7d7678212749cc50b1d27f1494e143.tar.gz |
rebar21: Import copy of rebar-2.6.4 for Erlang 21.
This is identical to devel/rebar but is specifically built against
lang/erlang21 for dependencies that are incompatible with OTP 23.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/rebar21/DESCR | 8 | ||||
-rw-r--r-- | devel/rebar21/Makefile | 28 | ||||
-rw-r--r-- | devel/rebar21/PLIST | 2 | ||||
-rw-r--r-- | devel/rebar21/distinfo | 6 |
4 files changed, 44 insertions, 0 deletions
diff --git a/devel/rebar21/DESCR b/devel/rebar21/DESCR new file mode 100644 index 00000000000..1c48a43ccd5 --- /dev/null +++ b/devel/rebar21/DESCR @@ -0,0 +1,8 @@ +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). + +This version is specifically for erlang20. diff --git a/devel/rebar21/Makefile b/devel/rebar21/Makefile new file mode 100644 index 00000000000..b485a639188 --- /dev/null +++ b/devel/rebar21/Makefile @@ -0,0 +1,28 @@ +# $NetBSD: Makefile,v 1.1 2021/01/27 16:16:44 jperkin Exp $ + +DISTNAME= rebar-2.6.4 +PKGNAME= ${DISTNAME:S/rebar/rebar21/} +CATEGORIES= devel +MASTER_SITES= ${MASTER_SITE_GITHUB:=rebar/} + +MAINTAINER= reinoud@NetBSD.org +HOMEPAGE= https://github.com/rebar/rebar/ +COMMENT= Rebar is an Erlang build tool +LICENSE= apache-2.0 + +USE_TOOLS+= gmake +AUTO_MKDIRS= yes + +CONFLICTS+= rebar>2 rebar3-[0-9]* + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/rebar ${DESTDIR}${PREFIX}/bin/rebar + +SUBST_CLASSES+= shebang +SUBST_FILES.shebang= src/rebar_escripter.erl +SUBST_FILES.shebang+= bootstrap +SUBST_SED.shebang+= -e 's,/usr/bin/env escript,${PREFIX}/lib/erlang21/bin/escript,' +SUBST_STAGE.shebang= pre-configure + +.include "../../lang/erlang21/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/rebar21/PLIST b/devel/rebar21/PLIST new file mode 100644 index 00000000000..0c544879df2 --- /dev/null +++ b/devel/rebar21/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1 2021/01/27 16:16:44 jperkin Exp $ +bin/rebar diff --git a/devel/rebar21/distinfo b/devel/rebar21/distinfo new file mode 100644 index 00000000000..9f32cf69cbc --- /dev/null +++ b/devel/rebar21/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2021/01/27 16:16:44 jperkin Exp $ + +SHA1 (rebar-2.6.4.tar.gz) = 082dc3cc49c23aab749bed56678c9ac1a3048f1c +RMD160 (rebar-2.6.4.tar.gz) = a6f2ec66b1accabc4430193212c5702a83e38475 +SHA512 (rebar-2.6.4.tar.gz) = 4e53d1ab7db296c60fb039443da7e3b31b63410fc614690c6faa7ec330d9e9393dbc1c8507aa4aea2c99397e1b443ff9d25e4d57ec57f616ee748aa97d055ffa +Size (rebar-2.6.4.tar.gz) = 213158 bytes |