Commit 74be6c98 authored by olgeni's avatar olgeni
Browse files

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

parent 14887d6c
......@@ -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
......
# $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>
SHA256 (uwiger-jobs-0.3_GH0.tar.gz) = 764d4abf539099e06ecbcf44e212b8e896203982765ee7c41dfe6e6908ae2e56
SIZE (uwiger-jobs-0.3_GH0.tar.gz) = 819804
--- 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},
EDoc extension for generating Github-flavored Markdown.
WWW: https://github.com/uwiger/edown
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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment