pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/rebar21 rebar21: Import copy of rebar-2.6.4 for ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/13fb5e7818d9
branches:  trunk
changeset: 445694:13fb5e7818d9
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Wed Jan 27 16:16:44 2021 +0000

description:
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:

 devel/rebar21/DESCR    |   8 ++++++++
 devel/rebar21/Makefile |  28 ++++++++++++++++++++++++++++
 devel/rebar21/PLIST    |   2 ++
 devel/rebar21/distinfo |   6 ++++++
 4 files changed, 44 insertions(+), 0 deletions(-)

diffs (60 lines):

diff -r 12e37dbfd627 -r 13fb5e7818d9 devel/rebar21/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/rebar21/DESCR       Wed Jan 27 16:16:44 2021 +0000
@@ -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 -r 12e37dbfd627 -r 13fb5e7818d9 devel/rebar21/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/rebar21/Makefile    Wed Jan 27 16:16:44 2021 +0000
@@ -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@localhost
+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 -r 12e37dbfd627 -r 13fb5e7818d9 devel/rebar21/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/rebar21/PLIST       Wed Jan 27 16:16:44 2021 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2021/01/27 16:16:44 jperkin Exp $
+bin/rebar
diff -r 12e37dbfd627 -r 13fb5e7818d9 devel/rebar21/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/rebar21/distinfo    Wed Jan 27 16:16:44 2021 +0000
@@ -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



Home | Main Index | Thread Index | Old Index