diff options
author | Jimmy Olgeni <olgeni@FreeBSD.org> | 2015-05-20 08:50:13 +0000 |
---|---|---|
committer | Jimmy Olgeni <olgeni@FreeBSD.org> | 2015-05-20 08:50:13 +0000 |
commit | 137acc6c3ce2b1e439793761a5ca539c1d8b926d (patch) | |
tree | 4a189b95f9604be5df5d6515711a4c649d595705 /devel | |
parent | Add devel/goldrush, a fast event stream processing library for (diff) |
Add devel/lager, a logging framework for Erlang.
Notes
Notes:
svn path=/head/; revision=386844
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/lager/Makefile | 32 | ||||
-rw-r--r-- | devel/lager/distinfo | 2 | ||||
-rw-r--r-- | devel/lager/files/patch-rebar.config | 11 | ||||
-rw-r--r-- | devel/lager/pkg-descr | 6 | ||||
-rw-r--r-- | devel/lager/pkg-plist | 42 |
6 files changed, 94 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 8d4f697a4aef..aec48ab0492c 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -970,6 +970,7 @@ SUBDIR += kimwitu SUBDIR += kyra SUBDIR += kyua + SUBDIR += lager SUBDIR += lasi SUBDIR += lcov SUBDIR += leaktracer diff --git a/devel/lager/Makefile b/devel/lager/Makefile new file mode 100644 index 000000000000..b017cb5995c9 --- /dev/null +++ b/devel/lager/Makefile @@ -0,0 +1,32 @@ +# $FreeBSD$ + +PORTNAME= lager +PORTVERSION= 2.1.1 +CATEGORIES= devel + +MAINTAINER= olgeni@FreeBSD.org +COMMENT= Logging framework for Erlang + +LICENSE= APACHE20 + +BUILD_DEPENDS= erl:${PORTSDIR}/lang/erlang +RUN_DEPENDS:= erl:${PORTSDIR}/lang/erlang \ + goldrush>=0.1.6:${PORTSDIR}/devel/goldrush + +PLIST_SUB= VERSION="${PORTVERSION}" + +USE_GITHUB= yes +GH_ACCOUNT= basho + +do-install: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} + @${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}/include/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/include + ${INSTALL_DATA} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/src + +.include <bsd.port.mk> diff --git a/devel/lager/distinfo b/devel/lager/distinfo new file mode 100644 index 000000000000..f508bd57ba26 --- /dev/null +++ b/devel/lager/distinfo @@ -0,0 +1,2 @@ +SHA256 (basho-lager-2.1.1_GH0.tar.gz) = ec6a039e11ecab6550eb699a05b0d3570b111864d45cd91c2b21fd75388a94d6 +SIZE (basho-lager-2.1.1_GH0.tar.gz) = 226262 diff --git a/devel/lager/files/patch-rebar.config b/devel/lager/files/patch-rebar.config new file mode 100644 index 000000000000..28dc32dc75bf --- /dev/null +++ b/devel/lager/files/patch-rebar.config @@ -0,0 +1,11 @@ +--- rebar.config.orig 2015-05-19 19:21:58 UTC ++++ rebar.config +@@ -1,8 +1,6 @@ + {erl_opts, [debug_info, warn_untyped_record]}. + {erl_first_files, ["src/lager_util.erl"]}. + {deps, [ +- {goldrush, "0\.1\.6", +- {git, "git://github.com/DeadZen/goldrush.git", {tag, "0.1.6"}}} + ]}. + + {xref_checks, []}. diff --git a/devel/lager/pkg-descr b/devel/lager/pkg-descr new file mode 100644 index 000000000000..318108269131 --- /dev/null +++ b/devel/lager/pkg-descr @@ -0,0 +1,6 @@ +Lager (as in the beer) is a logging framework for Erlang. Its purpose is to +provide a more traditional way to perform logging in an erlang application +that plays nicely with traditional UNIX logging tools like logrotate and +syslog. + +WWW: https://github.com/basho/lager diff --git a/devel/lager/pkg-plist b/devel/lager/pkg-plist new file mode 100644 index 000000000000..e5072603b93c --- /dev/null +++ b/devel/lager/pkg-plist @@ -0,0 +1,42 @@ +lib/erlang/lib/lager-%%VERSION%%/ebin/error_logger_lager_h.beam +lib/erlang/lib/lager-%%VERSION%%/ebin/lager.app +lib/erlang/lib/lager-%%VERSION%%/ebin/lager.beam +lib/erlang/lib/lager-%%VERSION%%/ebin/lager_app.beam +lib/erlang/lib/lager-%%VERSION%%/ebin/lager_backend_throttle.beam +lib/erlang/lib/lager-%%VERSION%%/ebin/lager_common_test_backend.beam +lib/erlang/lib/lager-%%VERSION%%/ebin/lager_config.beam +lib/erlang/lib/lager-%%VERSION%%/ebin/lager_console_backend.beam +lib/erlang/lib/lager-%%VERSION%%/ebin/lager_crash_log.beam +lib/erlang/lib/lager-%%VERSION%%/ebin/lager_default_formatter.beam +lib/erlang/lib/lager-%%VERSION%%/ebin/lager_file_backend.beam +lib/erlang/lib/lager-%%VERSION%%/ebin/lager_format.beam +lib/erlang/lib/lager-%%VERSION%%/ebin/lager_handler_watcher.beam +lib/erlang/lib/lager-%%VERSION%%/ebin/lager_handler_watcher_sup.beam +lib/erlang/lib/lager-%%VERSION%%/ebin/lager_msg.beam +lib/erlang/lib/lager-%%VERSION%%/ebin/lager_stdlib.beam +lib/erlang/lib/lager-%%VERSION%%/ebin/lager_sup.beam +lib/erlang/lib/lager-%%VERSION%%/ebin/lager_transform.beam +lib/erlang/lib/lager-%%VERSION%%/ebin/lager_trunc_io.beam +lib/erlang/lib/lager-%%VERSION%%/ebin/lager_util.beam +lib/erlang/lib/lager-%%VERSION%%/include/lager.hrl +lib/erlang/lib/lager-%%VERSION%%/src/error_logger_lager_h.erl +lib/erlang/lib/lager-%%VERSION%%/src/lager.app.src +lib/erlang/lib/lager-%%VERSION%%/src/lager.erl +lib/erlang/lib/lager-%%VERSION%%/src/lager_app.erl +lib/erlang/lib/lager-%%VERSION%%/src/lager_backend_throttle.erl +lib/erlang/lib/lager-%%VERSION%%/src/lager_common_test_backend.erl +lib/erlang/lib/lager-%%VERSION%%/src/lager_config.erl +lib/erlang/lib/lager-%%VERSION%%/src/lager_console_backend.erl +lib/erlang/lib/lager-%%VERSION%%/src/lager_crash_log.erl +lib/erlang/lib/lager-%%VERSION%%/src/lager_default_formatter.erl +lib/erlang/lib/lager-%%VERSION%%/src/lager_file_backend.erl +lib/erlang/lib/lager-%%VERSION%%/src/lager_format.erl +lib/erlang/lib/lager-%%VERSION%%/src/lager_handler_watcher.erl +lib/erlang/lib/lager-%%VERSION%%/src/lager_handler_watcher_sup.erl +lib/erlang/lib/lager-%%VERSION%%/src/lager_msg.erl +lib/erlang/lib/lager-%%VERSION%%/src/lager_stdlib.erl +lib/erlang/lib/lager-%%VERSION%%/src/lager_sup.erl +lib/erlang/lib/lager-%%VERSION%%/src/lager_transform.erl +lib/erlang/lib/lager-%%VERSION%%/src/lager_trunc_io.erl +lib/erlang/lib/lager-%%VERSION%%/src/lager_util.erl +%%PORTDOCS%%%%DOCSDIR%%/README.md |