Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jun 2015 20:52:20 +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: r391005 - in head/devel: . erlang-jobs erlang-jobs/files
Message-ID:  <201506302052.t5UKqKBI024207@svn.freebsd.org>

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

Log:
  Add devel/erlang-jobs, job scheduler and load regulation for Erlang.

Added:
  head/devel/erlang-jobs/
  head/devel/erlang-jobs/Makefile   (contents, props changed)
  head/devel/erlang-jobs/distinfo   (contents, props changed)
  head/devel/erlang-jobs/files/
  head/devel/erlang-jobs/files/patch-rebar.config   (contents, props changed)
  head/devel/erlang-jobs/pkg-descr   (contents, props changed)
  head/devel/erlang-jobs/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Tue Jun 30 20:46:13 2015	(r391004)
+++ head/devel/Makefile	Tue Jun 30 20:52:19 2015	(r391005)
@@ -434,6 +434,7 @@
     SUBDIR += erlang-goldrush
     SUBDIR += erlang-gproc
     SUBDIR += erlang-ibrowse
+    SUBDIR += erlang-jobs
     SUBDIR += erlang-jsx
     SUBDIR += erlang-lager
     SUBDIR += erlang-lager_syslog

Added: head/devel/erlang-jobs/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/erlang-jobs/Makefile	Tue Jun 30 20:52:19 2015	(r391005)
@@ -0,0 +1,41 @@
+# $FreeBSD$
+
+PORTNAME=	jobs
+PORTVERSION=	0.3
+CATEGORIES=	devel
+PKGNAMEPREFIX=	erlang-
+
+MAINTAINER=	olgeni@FreeBSD.org
+COMMENT=	Job scheduler and load regulation for Erlang
+
+BUILD_DEPENDS=	erl:${PORTSDIR}/lang/erlang \
+		rebar:${PORTSDIR}/devel/rebar \
+		erlang-parse_trans>=0:${PORTSDIR}/devel/erlang-parse_trans
+RUN_DEPENDS=	erl:${PORTSDIR}/lang/erlang
+
+PLIST_SUB=	VERSION="${PORTVERSION}"
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	uwiger
+
+post-patch:
+	@${REINPLACE_CMD} -e 's/{vsn, git}/{vsn,"${PORTVERSION}"}/' ${WRKSRC}/src/*.app.src
+
+do-build:
+	@cd ${WRKSRC} && rebar compile
+
+do-install:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR}
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/ebin
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/include
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/src
+	${INSTALL_DATA} ${WRKSRC}/ebin/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/ebin
+	${INSTALL_DATA} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/src
+	${INSTALL_DATA} ${WRKSRC}/include/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/include
+
+.include <bsd.port.mk>

Added: head/devel/erlang-jobs/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/erlang-jobs/distinfo	Tue Jun 30 20:52:19 2015	(r391005)
@@ -0,0 +1,2 @@
+SHA256 (uwiger-jobs-0.3_GH0.tar.gz) = 764d4abf539099e06ecbcf44e212b8e896203982765ee7c41dfe6e6908ae2e56
+SIZE (uwiger-jobs-0.3_GH0.tar.gz) = 819804

Added: head/devel/erlang-jobs/files/patch-rebar.config
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/erlang-jobs/files/patch-rebar.config	Tue Jun 30 20:52:19 2015	(r391005)
@@ -0,0 +1,15 @@
+--- rebar.config.orig	2015-06-30 20:26:49 UTC
++++ rebar.config
+@@ -8,12 +8,6 @@
+ {clean_files, ["*~","*/*~","*/*.xfm","test/*.beam"]}.
+ 
+ {deps, [
+-        {meck, ".*",
+-         {git, "git://github.com/eproxus/meck.git", "0.7.2"}},
+-        {parse_trans, ".*",
+-         {git, "git://github.com/esl/parse_trans.git", "2.8"}},
+-	{edown, ".*",
+-         {git, "git://github.com/esl/edown.git", "0.4"}}
+        ]}.
+ 
+ {edoc_opts, [{doclet, edown_doclet},

Added: head/devel/erlang-jobs/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/erlang-jobs/pkg-descr	Tue Jun 30 20:52:19 2015	(r391005)
@@ -0,0 +1,3 @@
+EDoc extension for generating Github-flavored Markdown.
+
+WWW: https://github.com/uwiger/edown

Added: head/devel/erlang-jobs/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/erlang-jobs/pkg-plist	Tue Jun 30 20:52:19 2015	(r391005)
@@ -0,0 +1,52 @@
+lib/erlang/lib/jobs-%%VERSION%%/ebin/jobs.app
+lib/erlang/lib/jobs-%%VERSION%%/ebin/jobs.beam
+lib/erlang/lib/jobs-%%VERSION%%/ebin/jobs_app.beam
+lib/erlang/lib/jobs-%%VERSION%%/ebin/jobs_info.beam
+lib/erlang/lib/jobs-%%VERSION%%/ebin/jobs_lib.beam
+lib/erlang/lib/jobs-%%VERSION%%/ebin/jobs_prod_simple.beam
+lib/erlang/lib/jobs-%%VERSION%%/ebin/jobs_queue.beam
+lib/erlang/lib/jobs-%%VERSION%%/ebin/jobs_queue_list.beam
+lib/erlang/lib/jobs-%%VERSION%%/ebin/jobs_sampler.beam
+lib/erlang/lib/jobs-%%VERSION%%/ebin/jobs_sampler_cpu.beam
+lib/erlang/lib/jobs-%%VERSION%%/ebin/jobs_sampler_history.beam
+lib/erlang/lib/jobs-%%VERSION%%/ebin/jobs_sampler_mnesia.beam
+lib/erlang/lib/jobs-%%VERSION%%/ebin/jobs_server.beam
+lib/erlang/lib/jobs-%%VERSION%%/ebin/jobs_stateful_simple.beam
+lib/erlang/lib/jobs-%%VERSION%%/include/jobs.hrl
+lib/erlang/lib/jobs-%%VERSION%%/src/jobs.app.src
+lib/erlang/lib/jobs-%%VERSION%%/src/jobs.app.src.bak
+lib/erlang/lib/jobs-%%VERSION%%/src/jobs.erl
+lib/erlang/lib/jobs-%%VERSION%%/src/jobs_app.erl
+lib/erlang/lib/jobs-%%VERSION%%/src/jobs_info.erl
+lib/erlang/lib/jobs-%%VERSION%%/src/jobs_lib.erl
+lib/erlang/lib/jobs-%%VERSION%%/src/jobs_prod_simple.erl
+lib/erlang/lib/jobs-%%VERSION%%/src/jobs_queue.erl
+lib/erlang/lib/jobs-%%VERSION%%/src/jobs_queue_list.erl
+lib/erlang/lib/jobs-%%VERSION%%/src/jobs_sampler.erl
+lib/erlang/lib/jobs-%%VERSION%%/src/jobs_sampler_cpu.erl
+lib/erlang/lib/jobs-%%VERSION%%/src/jobs_sampler_history.erl
+lib/erlang/lib/jobs-%%VERSION%%/src/jobs_sampler_mnesia.erl
+lib/erlang/lib/jobs-%%VERSION%%/src/jobs_server.erl
+lib/erlang/lib/jobs-%%VERSION%%/src/jobs_stateful_simple.erl
+%%PORTDOCS%%%%DOCSDIR%%/README.md
+%%PORTDOCS%%%%DOCSDIR%%/edoc-info
+%%PORTDOCS%%%%DOCSDIR%%/erlang.png
+%%PORTDOCS%%%%DOCSDIR%%/erlang07g-wiger.pdf
+%%PORTDOCS%%%%DOCSDIR%%/jobs.md
+%%PORTDOCS%%%%DOCSDIR%%/jobs_app.md
+%%PORTDOCS%%%%DOCSDIR%%/jobs_info.md
+%%PORTDOCS%%%%DOCSDIR%%/jobs_lib.md
+%%PORTDOCS%%%%DOCSDIR%%/jobs_prod_simple.md
+%%PORTDOCS%%%%DOCSDIR%%/jobs_queue.md
+%%PORTDOCS%%%%DOCSDIR%%/jobs_queue_list.md
+%%PORTDOCS%%%%DOCSDIR%%/jobs_sampler.md
+%%PORTDOCS%%%%DOCSDIR%%/jobs_sampler_cpu.md
+%%PORTDOCS%%%%DOCSDIR%%/jobs_sampler_history.md
+%%PORTDOCS%%%%DOCSDIR%%/jobs_sampler_mnesia.md
+%%PORTDOCS%%%%DOCSDIR%%/jobs_server.md
+%%PORTDOCS%%%%DOCSDIR%%/jobs_stateful_simple.md
+%%PORTDOCS%%%%DOCSDIR%%/overview.edoc
+%%PORTDOCS%%%%DOCSDIR%%/stylesheet.css
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/jobs_cpu.gnu
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/performance_logger.erl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/performer.erl



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