Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 May 2015 18:31:47 +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: r386641 - in head/devel: . relx relx/files
Message-ID:  <201505171831.t4HIVlAT036695@svn.freebsd.org>

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

Log:
  Add devel/relx, a release creation tool for Erlang.

Added:
  head/devel/relx/
  head/devel/relx/Makefile   (contents, props changed)
  head/devel/relx/distinfo   (contents, props changed)
  head/devel/relx/files/
  head/devel/relx/files/patch-src_relx.app.src   (contents, props changed)
  head/devel/relx/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sun May 17 18:18:26 2015	(r386640)
+++ head/devel/Makefile	Sun May 17 18:31:46 2015	(r386641)
@@ -4351,6 +4351,7 @@
     SUBDIR += rebar3
     SUBDIR += regexx
     SUBDIR += regexxer
+    SUBDIR += relx
     SUBDIR += remake
     SUBDIR += renpy
     SUBDIR += replay

Added: head/devel/relx/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/relx/Makefile	Sun May 17 18:31:46 2015	(r386641)
@@ -0,0 +1,38 @@
+# $FreeBSD$
+
+PORTNAME=	relx
+PORTVERSION=	2.0.0
+DISTVERSIONPREFIX=v
+CATEGORIES=	devel
+MASTER_SITES+=	http://olgeni.olgeni.com/~olgeni/distfiles/:deps \
+		LOCAL/olgeni:deps
+DISTFILES=	${DISTNAME}${EXTRACT_SUFX} relx-deps-1.tar.gz:deps
+
+MAINTAINER=	olgeni@FreeBSD.org
+COMMENT=	Sane, simple release creation 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=	erlware
+
+PLIST_FILES=	bin/${PORTNAME}
+
+post-extract:
+	@${CP} -R ${WRKDIR}/_build ${WRKSRC}/
+
+post-patch:
+	@${REINPLACE_CMD} -e "s/%%PORTVERSION%%/${PORTVERSION}/" ${WRKSRC}/src/relx.app.src
+	@${RM} ${WRKSRC}/src/*.bak ${WRKSRC}/src/*.orig
+
+do-build:
+	@cd ${WRKSRC} && ./rebar3 escriptize
+
+do-install:
+	${INSTALL_SCRIPT} ${WRKSRC}/_build/default/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
+
+.include <bsd.port.mk>

Added: head/devel/relx/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/relx/distinfo	Sun May 17 18:31:46 2015	(r386641)
@@ -0,0 +1,4 @@
+SHA256 (erlware-relx-v2.0.0_GH0.tar.gz) = 449e6394414af6d7aa9810dea441b8146eab878148489197a3751e4b70c79fc9
+SIZE (erlware-relx-v2.0.0_GH0.tar.gz) = 1446671
+SHA256 (relx-deps-1.tar.gz) = 1a730e88a1399579f2b16a8296ced0c4a68bf66de7d3ca901b139ab666271bda
+SIZE (relx-deps-1.tar.gz) = 2287874

Added: head/devel/relx/files/patch-src_relx.app.src
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/relx/files/patch-src_relx.app.src	Sun May 17 18:31:46 2015	(r386641)
@@ -0,0 +1,11 @@
+--- src/relx.app.src.orig	2015-05-17 16:12:26 UTC
++++ src/relx.app.src
+@@ -20,7 +20,7 @@
+ 
+ {application, relx,
+  [{description, "Release assembler for Erlang/OTP Releases"},
+-  {vsn, "semver"},
++  {vsn, "%%PORTVERSION%%"},
+   {modules, []},
+   {registered, []},
+   {applications, [kernel, stdlib, getopt, erlware_commons, providers]}]}.

Added: head/devel/relx/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/relx/pkg-descr	Sun May 17 18:31:46 2015	(r386641)
@@ -0,0 +1,9 @@
+Relx assembles releases for an Erlang/OTP release. Given a release
+specification and a list of directories in which to search for OTP
+applications it will generate a release output.
+
+That output depends heavily on what plugins available and what
+options are defined, but usually it is simply a well configured
+release directory.
+
+WWW: https://github.com/erlware/relx



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