aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2015-07-08 14:22:28 +0800
committervanilla <vanilla@FreeBSD.org>2015-07-08 14:22:28 +0800
commit17af9e716eb53a5c4c4d93cefa2c47014d7f1b99 (patch)
tree8ea8f79277c6d0c4f9febc1eca7f607d83ef6f76 /databases
parent4576ad52859dbbf764d6d9727b95eab18588e101 (diff)
downloadfreebsd-ports-gnome-17af9e716eb53a5c4c4d93cefa2c47014d7f1b99.tar.gz
freebsd-ports-gnome-17af9e716eb53a5c4c4d93cefa2c47014d7f1b99.tar.zst
freebsd-ports-gnome-17af9e716eb53a5c4c4d93cefa2c47014d7f1b99.zip
Add elixir-mongo, database driver for mongodb.
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/elixir-mongo/Makefile21
-rw-r--r--databases/elixir-mongo/distinfo2
-rw-r--r--databases/elixir-mongo/files/patch-mix.exs10
-rw-r--r--databases/elixir-mongo/pkg-descr3
-rw-r--r--databases/elixir-mongo/pkg-plist25
6 files changed, 62 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 5fcffb023adf..5dc8dd301743 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -54,6 +54,7 @@
SUBDIR += dbview
SUBDIR += elixir-ecto
SUBDIR += elixir-mariaex
+ SUBDIR += elixir-mongo
SUBDIR += elixir-postgrex
SUBDIR += elixir-timex_ecto
SUBDIR += emma
diff --git a/databases/elixir-mongo/Makefile b/databases/elixir-mongo/Makefile
new file mode 100644
index 000000000000..3dafb1ab54f7
--- /dev/null
+++ b/databases/elixir-mongo/Makefile
@@ -0,0 +1,21 @@
+# $FreeBSD$
+
+PORTNAME= mongo
+PORTVERSION= 0.5.1
+CATEGORIES= databases
+PKGNAMEPREFIX= elixir-
+
+MAINTAINER= vanilla@FreeBSD.org
+COMMENT= Database driver for MongoDB written in Elixir
+
+LICENSE= MIT
+
+USES= elixir
+USE_GITHUB= yes
+GH_ACCOUNT= checkiz
+GH_PROJECT= elixir-${PORTNAME}
+
+MIX_BUILD_DEPS= devel/elixir-bson
+MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
+
+.include <bsd.port.mk>
diff --git a/databases/elixir-mongo/distinfo b/databases/elixir-mongo/distinfo
new file mode 100644
index 000000000000..4743dc58d197
--- /dev/null
+++ b/databases/elixir-mongo/distinfo
@@ -0,0 +1,2 @@
+SHA256 (checkiz-elixir-mongo-0.5.1_GH0.tar.gz) = 96029d35e94dfb2bdfb00b7d31e72a3fd3913a2182f81b6b8fd914b809a3b3d1
+SIZE (checkiz-elixir-mongo-0.5.1_GH0.tar.gz) = 15279
diff --git a/databases/elixir-mongo/files/patch-mix.exs b/databases/elixir-mongo/files/patch-mix.exs
new file mode 100644
index 000000000000..086aebd2dc94
--- /dev/null
+++ b/databases/elixir-mongo/files/patch-mix.exs
@@ -0,0 +1,10 @@
+--- mix.exs.orig 2015-07-08 05:55:21 UTC
++++ mix.exs
+@@ -24,7 +24,6 @@ defmodule Mongo.Mixfile do
+ # Returns the list of dependencies for prod
+ defp deps(:prod) do
+ [
+- bson: "~> 0.4.3"
+ ]
+ end
+
diff --git a/databases/elixir-mongo/pkg-descr b/databases/elixir-mongo/pkg-descr
new file mode 100644
index 000000000000..6df799a41778
--- /dev/null
+++ b/databases/elixir-mongo/pkg-descr
@@ -0,0 +1,3 @@
+A database driver for MongoDB written in pure Elixir.
+
+WWW: https://github.com/checkiz/elixir-mongo
diff --git a/databases/elixir-mongo/pkg-plist b/databases/elixir-mongo/pkg-plist
new file mode 100644
index 000000000000..6a3bb241fa9b
--- /dev/null
+++ b/databases/elixir-mongo/pkg-plist
@@ -0,0 +1,25 @@
+lib/elixir/lib/mongo/ebin/Elixir.Enumerable.Mongo.Cursor.beam
+lib/elixir/lib/mongo/ebin/Elixir.Enumerable.Mongo.Find.beam
+lib/elixir/lib/mongo/ebin/Elixir.Enumerable.Mongo.Response.beam
+lib/elixir/lib/mongo/ebin/Elixir.Mongo.Bang.beam
+lib/elixir/lib/mongo/ebin/Elixir.Mongo.Collection.beam
+lib/elixir/lib/mongo/ebin/Elixir.Mongo.Cursor.beam
+lib/elixir/lib/mongo/ebin/Elixir.Mongo.Db.beam
+lib/elixir/lib/mongo/ebin/Elixir.Mongo.Error.beam
+lib/elixir/lib/mongo/ebin/Elixir.Mongo.Find.beam
+lib/elixir/lib/mongo/ebin/Elixir.Mongo.Helpers.beam
+lib/elixir/lib/mongo/ebin/Elixir.Mongo.Request.beam
+lib/elixir/lib/mongo/ebin/Elixir.Mongo.Response.beam
+lib/elixir/lib/mongo/ebin/Elixir.Mongo.Server.beam
+lib/elixir/lib/mongo/ebin/Elixir.Mongo.beam
+lib/elixir/lib/mongo/ebin/mongo.app
+lib/elixir/lib/mongo/lib/mongo.ex
+lib/elixir/lib/mongo/lib/mongo_collection.ex
+lib/elixir/lib/mongo/lib/mongo_cursor.ex
+lib/elixir/lib/mongo/lib/mongo_db.ex
+lib/elixir/lib/mongo/lib/mongo_find.ex
+lib/elixir/lib/mongo/lib/mongo_helpers.ex
+lib/elixir/lib/mongo/lib/mongo_request.ex
+lib/elixir/lib/mongo/lib/mongo_response.ex
+lib/elixir/lib/mongo/lib/mongo_server.ex
+%%PORTDOCS%%%%DOCSDIR%%/README.md