Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jun 2015 07:48:53 +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: r390949 - in head/devel: . elixir-exrm elixir-exrm/files
Message-ID:  <201506300748.t5U7mrZY008782@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olgeni
Date: Tue Jun 30 07:48:52 2015
New Revision: 390949
URL: https://svnweb.freebsd.org/changeset/ports/390949

Log:
  Add devel/elixir-exrm, a release generator for Elixir projects.
  
  You will see this error when running "mix release", but it is
  harmless and upstream is already working on it:
  
      /usr/local/bin/mix:2: syntax error before: Mix

Added:
  head/devel/elixir-exrm/
  head/devel/elixir-exrm/Makefile   (contents, props changed)
  head/devel/elixir-exrm/distinfo   (contents, props changed)
  head/devel/elixir-exrm/files/
  head/devel/elixir-exrm/files/patch-mix.exs   (contents, props changed)
  head/devel/elixir-exrm/pkg-descr   (contents, props changed)
  head/devel/elixir-exrm/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Tue Jun 30 07:37:42 2015	(r390948)
+++ head/devel/Makefile	Tue Jun 30 07:48:52 2015	(r390949)
@@ -410,6 +410,7 @@
     SUBDIR += elfsh
     SUBDIR += elftoaout
     SUBDIR += elixir-conform
+    SUBDIR += elixir-exrm
     SUBDIR += embb
     SUBDIR += epl.el
     SUBDIR += epm

Added: head/devel/elixir-exrm/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/elixir-exrm/Makefile	Tue Jun 30 07:48:52 2015	(r390949)
@@ -0,0 +1,39 @@
+# $FreeBSD$
+
+PORTNAME=	exrm
+PORTVERSION=	0.17.2
+CATEGORIES=	devel
+PKGNAMEPREFIX=	elixir-
+
+MAINTAINER=	olgeni@FreeBSD.org
+COMMENT=	Automatically generate releases for Elixir projects
+
+LICENSE=	MIT
+
+BUILD_DEPENDS=	elixir:${PORTSDIR}/lang/elixir \
+		elixir-conform>=0:${PORTSDIR}/devel/elixir-conform
+RUN_DEPENDS:=	${BUILD_DEPENDS}
+
+PLIST_SUB=	VERSION="${PORTVERSION}"
+
+USES=		gmake
+USE_GITHUB=	yes
+GH_ACCOUNT=	bitwalker
+
+do-build:
+	@${LN} -s ${WRKSRC}/_build/prod/lib/${PORTNAME}/ebin ${WRKSRC}/ebin
+	@cd ${WRKSRC} && MIX_ENV=prod mix compile
+
+do-install:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/elixir/lib/${PORTNAME}
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/elixir/lib/${PORTNAME}/ebin
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/elixir/lib/${PORTNAME}/lib
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/elixir/lib/${PORTNAME}/priv
+	${INSTALL_DATA} ${WRKSRC}/ebin/* ${STAGEDIR}${PREFIX}/lib/elixir/lib/${PORTNAME}/ebin
+	cd ${WRKSRC}/lib && ${COPYTREE_SHARE} \* ${STAGEDIR}${PREFIX}/lib/elixir/lib/${PORTNAME}/lib
+	cd ${WRKSRC}/priv && ${COPYTREE_SHARE} \* ${STAGEDIR}${PREFIX}/lib/elixir/lib/${PORTNAME}/priv
+
+.include <bsd.port.mk>

Added: head/devel/elixir-exrm/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/elixir-exrm/distinfo	Tue Jun 30 07:48:52 2015	(r390949)
@@ -0,0 +1,2 @@
+SHA256 (bitwalker-exrm-0.17.2_GH0.tar.gz) = 8f7c35b9d23e1ba976752db12767450b56101d28f505f4f8408abc63ec43c54f
+SIZE (bitwalker-exrm-0.17.2_GH0.tar.gz) = 382043

Added: head/devel/elixir-exrm/files/patch-mix.exs
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/elixir-exrm/files/patch-mix.exs	Tue Jun 30 07:48:52 2015	(r390949)
@@ -0,0 +1,14 @@
+--- mix.exs.orig	2015-06-30 07:38:34 UTC
++++ mix.exs
+@@ -13,10 +13,7 @@ defmodule ReleaseManager.Mixfile do
+   def application, do: []
+ 
+   def deps do
+-    [{:conform, "~> 0.14.5"},
+-     {:relx, "~> 2.1.1" },
+-     {:earmark, "~> 0.1", only: :dev},
+-     {:ex_doc, "~> 0.5", only: :dev}]
++    []
+   end
+ 
+   defp description do

Added: head/devel/elixir-exrm/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/elixir-exrm/pkg-descr	Tue Jun 30 07:48:52 2015	(r390949)
@@ -0,0 +1,8 @@
+This project's goal is to make releases with Elixir projects a
+breeze. It is composed of a mix task, and build files required to
+successfully take your Elixir project and perform a release build,
+and a simplified configuration mechanism which integrates with your
+current configuration and makes it easy for your operations group
+to configure the release once deployed.
+
+WWW: https://github.com/bitwalker/exrm

Added: head/devel/elixir-exrm/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/elixir-exrm/pkg-plist	Tue Jun 30 07:48:52 2015	(r390949)
@@ -0,0 +1,46 @@
+lib/elixir/lib/exrm/ebin/Elixir.Mix.Tasks.Release.Clean.beam
+lib/elixir/lib/exrm/ebin/Elixir.Mix.Tasks.Release.Plugins.beam
+lib/elixir/lib/exrm/ebin/Elixir.Mix.Tasks.Release.beam
+lib/elixir/lib/exrm/ebin/Elixir.ReleaseManager.Appups.beam
+lib/elixir/lib/exrm/ebin/Elixir.ReleaseManager.Config.beam
+lib/elixir/lib/exrm/ebin/Elixir.ReleaseManager.Plugin.Conform.beam
+lib/elixir/lib/exrm/ebin/Elixir.ReleaseManager.Plugin.Consolidation.beam
+lib/elixir/lib/exrm/ebin/Elixir.ReleaseManager.Plugin.beam
+lib/elixir/lib/exrm/ebin/Elixir.ReleaseManager.Utils.beam
+lib/elixir/lib/exrm/ebin/exrm.app
+lib/elixir/lib/exrm/lib/exrm/appups.ex
+lib/elixir/lib/exrm/lib/exrm/config.ex
+lib/elixir/lib/exrm/lib/exrm/plugin.ex
+lib/elixir/lib/exrm/lib/exrm/plugins/conform.ex
+lib/elixir/lib/exrm/lib/exrm/plugins/consolidation.ex
+lib/elixir/lib/exrm/lib/exrm/utils.ex
+lib/elixir/lib/exrm/lib/mix/tasks/release.clean.ex
+lib/elixir/lib/exrm/lib/mix/tasks/release.ex
+lib/elixir/lib/exrm/lib/mix/tasks/release.plugins.ex
+lib/elixir/lib/exrm/priv/rel/files/boot
+lib/elixir/lib/exrm/priv/rel/files/nodetool
+lib/elixir/lib/exrm/priv/rel/files/release_definition.txt
+lib/elixir/lib/exrm/priv/rel/files/sys.config
+lib/elixir/lib/exrm/priv/rel/relx.config
+%%PORTDOCS%%%%DOCSDIR%%/Mix.Tasks.Release.Clean.html
+%%PORTDOCS%%%%DOCSDIR%%/Mix.Tasks.Release.Plugins.html
+%%PORTDOCS%%%%DOCSDIR%%/Mix.Tasks.Release.html
+%%PORTDOCS%%%%DOCSDIR%%/README.md
+%%PORTDOCS%%%%DOCSDIR%%/ReleaseManager.Appups.html
+%%PORTDOCS%%%%DOCSDIR%%/ReleaseManager.Config.html
+%%PORTDOCS%%%%DOCSDIR%%/ReleaseManager.Plugin.Conform.html
+%%PORTDOCS%%%%DOCSDIR%%/ReleaseManager.Plugin.Consolidation.html
+%%PORTDOCS%%%%DOCSDIR%%/ReleaseManager.Plugin.html
+%%PORTDOCS%%%%DOCSDIR%%/ReleaseManager.Utils.html
+%%PORTDOCS%%%%DOCSDIR%%/css/elixir.css
+%%PORTDOCS%%%%DOCSDIR%%/css/full_list.css
+%%PORTDOCS%%%%DOCSDIR%%/css/style.css
+%%PORTDOCS%%%%DOCSDIR%%/exceptions_list.html
+%%PORTDOCS%%%%DOCSDIR%%/index.html
+%%PORTDOCS%%%%DOCSDIR%%/js/app.js
+%%PORTDOCS%%%%DOCSDIR%%/js/full_list.js
+%%PORTDOCS%%%%DOCSDIR%%/js/highlight.pack.js
+%%PORTDOCS%%%%DOCSDIR%%/js/jquery.js
+%%PORTDOCS%%%%DOCSDIR%%/modules_list.html
+%%PORTDOCS%%%%DOCSDIR%%/overview.html
+%%PORTDOCS%%%%DOCSDIR%%/protocols_list.html



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