[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / rebar3

File: [cvs.NetBSD.org] / pkgsrc / devel / rebar3 / Makefile (download)

Revision 1.5, Fri Mar 19 16:42:47 2021 UTC (8 months, 1 week ago) by triaxx
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, HEAD
Changes since 1.4: +2 -2 lines

rebar3: Update to 3.14.4

upstream changes:


@github-actions github-actions released this 23 days ago

This is a point release containing various bug fixes, some performance enhancements, and adding support for OTP-24.

  o Common test: make group paths work for --group "[g1,g2],g3" option
  o Adapt to upcoming OTP 24 dialyzer output
  o Sanitize repo configuration in DEBUG output
  o Modify algorithm to decide compilation order between apps to resolve header dependencies
  o Use rebar_packages_cdn for fetching package resource
  o bump relx to 4.3.0
  o Compile nothing if there are no extra virtual apps (performance increase)
  o Print actural download repo in DEBUG output
  o bump cth readable to 1.5.0
  o Make sure dialyzer static analysis is performed at least once, in CI
  o Use "git rev-list --count" to count refs (performance increase)
  o OTP-24 Readiness
  o fix injection of cth_readable to allow for hook configuration
  o Fixed link to list of plugins.
  o rebar_compiler: fix DAG and speed-up analysis for large repositories
  o use newest certifi release

# $NetBSD: Makefile,v 1.5 2021/03/19 16:42:47 triaxx Exp $

DISTNAME=	rebar3-3.14.4

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://github.com/erlang/rebar3/
COMMENT=	Erlang build tool
LICENSE=	apache-2.0


REBAR_DEPS=	erlware_commons-1.3.1 \
		ssl_verify_fun-1.1.6 \
		certifi-2.5.2 \
		parse_trans-3.3.0 \
		providers-1.8.1 \
		getopt-1.0.1 \
		bbmustache-1.10.0 \
		relx-4.2.0 \
		cf-0.3.1 \
		cth_readable-1.4.9 \


.for dep in ${REBAR_DEPS}
DISTFILES+=		${dep}.tar
SITES.${dep}.tar=	https://repo.hex.pm/tarballs/
EXTRACT_DIR.${dep}.tar=	${WRKSRC}/_build/default/lib/${dep:C/-.*//}

SUBST_CLASSES+=		escript
SUBST_STAGE.escript=	pre-configure
SUBST_MESSAGE.escript=	Fix default escript shebangh
SUBST_FILES.escript=	src/rebar_prv_escriptize.erl
SUBST_SED.escript=	-e 's,/usr/bin/env escript,${PREFIX}/bin/escript,'

INSTALLATION_DIRS+=	bin ${PKGMANDIR}/man1 share/examples/rebar3

	${MKDIR} -p ${WRKSRC}/_build/bootstrap/lib
.for dep in ${REBAR_DEPS}
	cd ${WRKSRC}/_build/default/lib/${dep:C/-.*//} && \
		${TAR} -xzf contents.tar.gz
	${LN} -sf ../../default/lib/${dep:C/-.*//} \

	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./bootstrap

	${INSTALL_MAN} ${WRKSRC}/manpages/rebar3.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
	${INSTALL_DATA} ${WRKSRC}/rebar.config.sample \

.include "../../lang/erlang/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"