aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2015-07-02 21:11:54 +0800
committerolgeni <olgeni@FreeBSD.org>2015-07-02 21:11:54 +0800
commit21cca04715fd93c487be7087d5e729a564808189 (patch)
tree37831b975dfed3bd5632fe646fe7c59229d777c1 /databases
parent7bd721b839bb19862d490f68e67c9f3a35ced70a (diff)
downloadfreebsd-ports-gnome-21cca04715fd93c487be7087d5e729a564808189.tar.gz
freebsd-ports-gnome-21cca04715fd93c487be7087d5e729a564808189.tar.zst
freebsd-ports-gnome-21cca04715fd93c487be7087d5e729a564808189.zip
Add databases/elixir-mariaex, a database driver for MariaDB and
MySQL written in pure Elixir.
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/elixir-mariaex/Makefile21
-rw-r--r--databases/elixir-mariaex/distinfo2
-rw-r--r--databases/elixir-mariaex/files/patch-mix.exs11
-rw-r--r--databases/elixir-mariaex/pkg-descr3
-rw-r--r--databases/elixir-mariaex/pkg-plist18
6 files changed, 56 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index db3e5c04def1..d9bb8573e253 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -53,6 +53,7 @@
SUBDIR += dbtool
SUBDIR += dbview
SUBDIR += elixir-ecto
+ SUBDIR += elixir-mariaex
SUBDIR += elixir-postgrex
SUBDIR += emma
SUBDIR += erlang-epgsql
diff --git a/databases/elixir-mariaex/Makefile b/databases/elixir-mariaex/Makefile
new file mode 100644
index 000000000000..12adaf41c374
--- /dev/null
+++ b/databases/elixir-mariaex/Makefile
@@ -0,0 +1,21 @@
+# $FreeBSD$
+
+PORTNAME= mariaex
+PORTVERSION= 0.3.2
+DISTVERSIONPREFIX= v
+CATEGORIES= databases
+PKGNAMEPREFIX= elixir-
+
+MAINTAINER= olgeni@FreeBSD.org
+COMMENT= Database driver for MariaDB and MySQL written in Elixir
+
+LICENSE= APACHE20
+
+USE_GITHUB= yes
+GH_ACCOUNT= xerions
+
+MIX_BUILD_DEPS= devel/elixir-decimal
+MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
+
+.include "${PORTSDIR}/lang/elixir/bsd.elixir.mk"
+.include <bsd.port.mk>
diff --git a/databases/elixir-mariaex/distinfo b/databases/elixir-mariaex/distinfo
new file mode 100644
index 000000000000..53c9f64d3e89
--- /dev/null
+++ b/databases/elixir-mariaex/distinfo
@@ -0,0 +1,2 @@
+SHA256 (xerions-mariaex-v0.3.2_GH0.tar.gz) = a4614e830dd2cc966c76eb9ca33198a0a1d37b458c465ab58540ff2bd43b681c
+SIZE (xerions-mariaex-v0.3.2_GH0.tar.gz) = 17138
diff --git a/databases/elixir-mariaex/files/patch-mix.exs b/databases/elixir-mariaex/files/patch-mix.exs
new file mode 100644
index 000000000000..e47d1f2c8801
--- /dev/null
+++ b/databases/elixir-mariaex/files/patch-mix.exs
@@ -0,0 +1,11 @@
+--- mix.exs.orig 2015-07-02 11:00:37 UTC
++++ mix.exs
+@@ -18,7 +18,7 @@ defmodule Mariaex.Mixfile do
+ end
+
+ defp deps do
+- [{:decimal, "~> 1.0"}]
++ []
+ end
+
+ defp description do
diff --git a/databases/elixir-mariaex/pkg-descr b/databases/elixir-mariaex/pkg-descr
new file mode 100644
index 000000000000..3e49f08e132d
--- /dev/null
+++ b/databases/elixir-mariaex/pkg-descr
@@ -0,0 +1,3 @@
+A database driver for MariaDB and MySQL written in pure Elixir.
+
+WWW: https://github.com/xerions/mariaex
diff --git a/databases/elixir-mariaex/pkg-plist b/databases/elixir-mariaex/pkg-plist
new file mode 100644
index 000000000000..bba3ceb5f1d3
--- /dev/null
+++ b/databases/elixir-mariaex/pkg-plist
@@ -0,0 +1,18 @@
+lib/elixir/lib/mariaex/ebin/Elixir.Mariaex.Cache.beam
+lib/elixir/lib/mariaex/ebin/Elixir.Mariaex.Coder.Utils.beam
+lib/elixir/lib/mariaex/ebin/Elixir.Mariaex.Coder.beam
+lib/elixir/lib/mariaex/ebin/Elixir.Mariaex.Connection.Tcp.beam
+lib/elixir/lib/mariaex/ebin/Elixir.Mariaex.Connection.beam
+lib/elixir/lib/mariaex/ebin/Elixir.Mariaex.Error.beam
+lib/elixir/lib/mariaex/ebin/Elixir.Mariaex.Messages.beam
+lib/elixir/lib/mariaex/ebin/Elixir.Mariaex.Protocol.beam
+lib/elixir/lib/mariaex/ebin/Elixir.Mariaex.Result.beam
+lib/elixir/lib/mariaex/ebin/mariaex.app
+lib/elixir/lib/mariaex/lib/mariaex/cache.ex
+lib/elixir/lib/mariaex/lib/mariaex/coder.ex
+lib/elixir/lib/mariaex/lib/mariaex/connection.ex
+lib/elixir/lib/mariaex/lib/mariaex/connection/tcp.ex
+lib/elixir/lib/mariaex/lib/mariaex/messages.ex
+lib/elixir/lib/mariaex/lib/mariaex/protocol.ex
+lib/elixir/lib/mariaex/lib/mariaex/structs.ex
+%%PORTDOCS%%%%DOCSDIR%%/README.md