aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--databases/Makefile1
-rw-r--r--databases/elixir-exredis/Makefile20
-rw-r--r--databases/elixir-exredis/distinfo2
-rw-r--r--databases/elixir-exredis/files/patch-mix.exs10
-rw-r--r--databases/elixir-exredis/pkg-descr3
-rw-r--r--databases/elixir-exredis/pkg-plist14
6 files changed, 50 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 05442d129452..b699f97f0329 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -55,6 +55,7 @@
SUBDIR += elixir-calecto
SUBDIR += elixir-ecto
SUBDIR += elixir-ecto_migrate
+ SUBDIR += elixir-exredis
SUBDIR += elixir-geo
SUBDIR += elixir-mariaex
SUBDIR += elixir-mongo
diff --git a/databases/elixir-exredis/Makefile b/databases/elixir-exredis/Makefile
new file mode 100644
index 000000000000..982cbddea003
--- /dev/null
+++ b/databases/elixir-exredis/Makefile
@@ -0,0 +1,20 @@
+# $FreeBSD$
+
+PORTNAME= exredis
+PORTVERSION= 0.2.1
+CATEGORIES= databases
+PKGNAMEPREFIX= elixir-
+
+MAINTAINER= vanilla@FreeBSD.org
+COMMENT= Redis client for Elixir
+
+LICENSE= MIT
+
+USES= elixir
+USE_GITHUB= yes
+GH_ACCOUNT= artemeff
+
+MIX_BUILD_DEPS= databases/erlang-eredis
+MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
+
+.include <bsd.port.mk>
diff --git a/databases/elixir-exredis/distinfo b/databases/elixir-exredis/distinfo
new file mode 100644
index 000000000000..f99d084b3cdb
--- /dev/null
+++ b/databases/elixir-exredis/distinfo
@@ -0,0 +1,2 @@
+SHA256 (artemeff-exredis-0.2.1_GH0.tar.gz) = 4a5ef469fb6720a802f5b52b094a613714c488864989d0cbc5a2344ad4abfe1f
+SIZE (artemeff-exredis-0.2.1_GH0.tar.gz) = 10198
diff --git a/databases/elixir-exredis/files/patch-mix.exs b/databases/elixir-exredis/files/patch-mix.exs
new file mode 100644
index 000000000000..6adb03712e7d
--- /dev/null
+++ b/databases/elixir-exredis/files/patch-mix.exs
@@ -0,0 +1,10 @@
+--- mix.exs.orig 2015-10-13 15:47:37 UTC
++++ mix.exs
+@@ -10,7 +10,6 @@ defmodule Exredis.Mixfile do
+ name: "exredis",
+ source_url: "https://github.com/artemeff/exredis",
+ homepage_url: "http://artemeff.github.io/exredis",
+- deps: deps,
+ package: package,
+ description: "Redis client for Elixir",
+ docs: [readme: "README.md", main: "README",
diff --git a/databases/elixir-exredis/pkg-descr b/databases/elixir-exredis/pkg-descr
new file mode 100644
index 000000000000..de23658bd433
--- /dev/null
+++ b/databases/elixir-exredis/pkg-descr
@@ -0,0 +1,3 @@
+Redis client for Elixir.
+
+WWW: https://github.com/artemeff/exredis
diff --git a/databases/elixir-exredis/pkg-plist b/databases/elixir-exredis/pkg-plist
new file mode 100644
index 000000000000..e8a0f28d9925
--- /dev/null
+++ b/databases/elixir-exredis/pkg-plist
@@ -0,0 +1,14 @@
+lib/elixir/lib/exredis/ebin/Elixir.Exredis.Api.Helper.beam
+lib/elixir/lib/exredis/ebin/Elixir.Exredis.Api.beam
+lib/elixir/lib/exredis/ebin/Elixir.Exredis.Config.Config.beam
+lib/elixir/lib/exredis/ebin/Elixir.Exredis.Config.beam
+lib/elixir/lib/exredis/ebin/Elixir.Exredis.Script.beam
+lib/elixir/lib/exredis/ebin/Elixir.Exredis.Sub.beam
+lib/elixir/lib/exredis/ebin/Elixir.Exredis.beam
+lib/elixir/lib/exredis/ebin/exredis.app
+lib/elixir/lib/exredis/lib/exredis.ex
+lib/elixir/lib/exredis/lib/exredis/api.ex
+lib/elixir/lib/exredis/lib/exredis/config.ex
+lib/elixir/lib/exredis/lib/exredis/script.ex
+lib/elixir/lib/exredis/lib/exredis/sub.ex
+%%PORTDOCS%%%%DOCSDIR%%/README.md