aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2015-07-02 21:28:16 +0800
committerolgeni <olgeni@FreeBSD.org>2015-07-02 21:28:16 +0800
commitf8cabe293885abec6a376a01e55098a1302119b6 (patch)
treeb7fdbe6ff161872c9835c791507855c0fb8e02fb /devel
parent21cca04715fd93c487be7087d5e729a564808189 (diff)
downloadfreebsd-ports-gnome-f8cabe293885abec6a376a01e55098a1302119b6.tar.gz
freebsd-ports-gnome-f8cabe293885abec6a376a01e55098a1302119b6.tar.zst
freebsd-ports-gnome-f8cabe293885abec6a376a01e55098a1302119b6.zip
Add devel/elixir-lager_logger, a Lager backend for Elixir's Logger.
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/elixir-lager_logger/Makefile18
-rw-r--r--devel/elixir-lager_logger/distinfo2
-rw-r--r--devel/elixir-lager_logger/files/patch-mix.exs10
-rw-r--r--devel/elixir-lager_logger/pkg-descr3
-rw-r--r--devel/elixir-lager_logger/pkg-plist4
6 files changed, 38 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index e59b3fea90a6..2dceae6233eb 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -412,6 +412,7 @@
SUBDIR += elixir-conform
SUBDIR += elixir-decimal
SUBDIR += elixir-exrm
+ SUBDIR += elixir-lager_logger
SUBDIR += elixir-plug
SUBDIR += elixir-poison
SUBDIR += embb
diff --git a/devel/elixir-lager_logger/Makefile b/devel/elixir-lager_logger/Makefile
new file mode 100644
index 000000000000..b7094165a14f
--- /dev/null
+++ b/devel/elixir-lager_logger/Makefile
@@ -0,0 +1,18 @@
+# $FreeBSD$
+
+PORTNAME= lager_logger
+PORTVERSION= 1.0.0
+DISTVERSIONPREFIX= v
+CATEGORIES= devel
+PKGNAMEPREFIX= elixir-
+
+MAINTAINER= olgeni@FreeBSD.org
+COMMENT= Lager backend for Elixir's Logger
+
+LICENSE= APACHE20
+
+USE_GITHUB= yes
+GH_ACCOUNT= PSPDFKit-labs
+
+.include "${PORTSDIR}/lang/elixir/bsd.elixir.mk"
+.include <bsd.port.mk>
diff --git a/devel/elixir-lager_logger/distinfo b/devel/elixir-lager_logger/distinfo
new file mode 100644
index 000000000000..a1d7b1c13079
--- /dev/null
+++ b/devel/elixir-lager_logger/distinfo
@@ -0,0 +1,2 @@
+SHA256 (PSPDFKit-labs-lager_logger-v1.0.0_GH0.tar.gz) = f85d263afa5c90663c8e0ba65a99a67e0ec667bfddfde161e9309928f58cb5b2
+SIZE (PSPDFKit-labs-lager_logger-v1.0.0_GH0.tar.gz) = 4123
diff --git a/devel/elixir-lager_logger/files/patch-mix.exs b/devel/elixir-lager_logger/files/patch-mix.exs
new file mode 100644
index 000000000000..f0638daf52a3
--- /dev/null
+++ b/devel/elixir-lager_logger/files/patch-mix.exs
@@ -0,0 +1,10 @@
+--- mix.exs.orig 2015-07-02 13:24:56 UTC
++++ mix.exs
+@@ -30,7 +30,6 @@ defmodule LagerLogger.Mixfile do
+
+ defp deps do
+ [
+- {:lager, ">= 2.1.0"},
+ ]
+ end
+ end
diff --git a/devel/elixir-lager_logger/pkg-descr b/devel/elixir-lager_logger/pkg-descr
new file mode 100644
index 000000000000..2a413233dc89
--- /dev/null
+++ b/devel/elixir-lager_logger/pkg-descr
@@ -0,0 +1,3 @@
+A lager backend that forwards all log messages to Elixir's Logger.
+
+WWW: https://github.com/PSPDFKit-labs/lager_logger
diff --git a/devel/elixir-lager_logger/pkg-plist b/devel/elixir-lager_logger/pkg-plist
new file mode 100644
index 000000000000..a3b45a6ef833
--- /dev/null
+++ b/devel/elixir-lager_logger/pkg-plist
@@ -0,0 +1,4 @@
+lib/elixir/lib/lager_logger/ebin/Elixir.LagerLogger.beam
+lib/elixir/lib/lager_logger/ebin/lager_logger.app
+lib/elixir/lib/lager_logger/lib/lager_logger.ex
+%%PORTDOCS%%%%DOCSDIR%%/README.md