aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2015-07-03 23:23:10 +0800
committerolgeni <olgeni@FreeBSD.org>2015-07-03 23:23:10 +0800
commitb0452134507a9e0e1b4d7d9778ba900590089a43 (patch)
tree47ee6f64ddb86daa6f1bd8a68981fd06d5502299 /databases
parent2901175a8506c293640bac23f77b649f1dad1d2a (diff)
downloadfreebsd-ports-gnome-b0452134507a9e0e1b4d7d9778ba900590089a43.tar.gz
freebsd-ports-gnome-b0452134507a9e0e1b4d7d9778ba900590089a43.tar.zst
freebsd-ports-gnome-b0452134507a9e0e1b4d7d9778ba900590089a43.zip
Add databases/elixir-timex_ecto, an adapter for using Timex
DateTimes with Ecto.
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/elixir-timex_ecto/Makefile21
-rw-r--r--databases/elixir-timex_ecto/distinfo2
-rw-r--r--databases/elixir-timex_ecto/files/patch-mix.exs14
-rw-r--r--databases/elixir-timex_ecto/pkg-descr3
-rw-r--r--databases/elixir-timex_ecto/pkg-plist14
6 files changed, 55 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index d9bb8573e253..5fcffb023adf 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -55,6 +55,7 @@
SUBDIR += elixir-ecto
SUBDIR += elixir-mariaex
SUBDIR += elixir-postgrex
+ SUBDIR += elixir-timex_ecto
SUBDIR += emma
SUBDIR += erlang-epgsql
SUBDIR += erlang-eredis
diff --git a/databases/elixir-timex_ecto/Makefile b/databases/elixir-timex_ecto/Makefile
new file mode 100644
index 000000000000..49ebc66b93f0
--- /dev/null
+++ b/databases/elixir-timex_ecto/Makefile
@@ -0,0 +1,21 @@
+# $FreeBSD$
+
+PORTNAME= timex_ecto
+PORTVERSION= 0.2.0
+CATEGORIES= databases
+PKGNAMEPREFIX= elixir-
+
+MAINTAINER= olgeni@FreeBSD.org
+COMMENT= Adapter for using Timex DateTimes with Ecto
+
+LICENSE= MIT
+
+USES= elixir
+USE_GITHUB= yes
+GH_ACCOUNT= bitwalker
+
+MIX_BUILD_DEPS= databases/elixir-ecto \
+ devel/elixir-timex
+MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
+
+.include <bsd.port.mk>
diff --git a/databases/elixir-timex_ecto/distinfo b/databases/elixir-timex_ecto/distinfo
new file mode 100644
index 000000000000..d190f083c2f3
--- /dev/null
+++ b/databases/elixir-timex_ecto/distinfo
@@ -0,0 +1,2 @@
+SHA256 (bitwalker-timex_ecto-0.2.0_GH0.tar.gz) = 029acb0945098cb6f9a18a65780da1fc57572c7ba8068d197489e43194c731c7
+SIZE (bitwalker-timex_ecto-0.2.0_GH0.tar.gz) = 5356
diff --git a/databases/elixir-timex_ecto/files/patch-mix.exs b/databases/elixir-timex_ecto/files/patch-mix.exs
new file mode 100644
index 000000000000..ee0438dc99fe
--- /dev/null
+++ b/databases/elixir-timex_ecto/files/patch-mix.exs
@@ -0,0 +1,14 @@
+--- mix.exs.orig 2015-07-03 15:18:59 UTC
++++ mix.exs
+@@ -29,10 +29,7 @@ defmodule TimexEcto.Mixfile do
+ #
+ # Type `mix help deps` for more examples and options
+ defp deps do
+- [{:timex, "~> 0.16.0"},
+- {:ecto, "~> 0.12.1"},
+- {:earmark, "~> 0.1", only: :dev},
+- {:ex_doc, "~> 0.5", only: :dev}]
++ []
+ end
+
+ defp package do
diff --git a/databases/elixir-timex_ecto/pkg-descr b/databases/elixir-timex_ecto/pkg-descr
new file mode 100644
index 000000000000..1ecc62d83ff8
--- /dev/null
+++ b/databases/elixir-timex_ecto/pkg-descr
@@ -0,0 +1,3 @@
+An adapter for using Timex DateTimes with Ecto.
+
+WWW: https://github.com/bitwalker/timex_ecto
diff --git a/databases/elixir-timex_ecto/pkg-plist b/databases/elixir-timex_ecto/pkg-plist
new file mode 100644
index 000000000000..944c8f8e566a
--- /dev/null
+++ b/databases/elixir-timex_ecto/pkg-plist
@@ -0,0 +1,14 @@
+lib/elixir/lib/timex_ecto/ebin/Elixir.Timex.Ecto.Date.beam
+lib/elixir/lib/timex_ecto/ebin/Elixir.Timex.Ecto.DateTime.beam
+lib/elixir/lib/timex_ecto/ebin/Elixir.Timex.Ecto.DateTimeWithTimezone.beam
+lib/elixir/lib/timex_ecto/ebin/Elixir.Timex.Ecto.Time.beam
+lib/elixir/lib/timex_ecto/ebin/Elixir.Timex.Ecto.Timestamps.beam
+lib/elixir/lib/timex_ecto/ebin/Elixir.Timex.Ecto.beam
+lib/elixir/lib/timex_ecto/ebin/timex_ecto.app
+lib/elixir/lib/timex_ecto/lib/model.ex
+lib/elixir/lib/timex_ecto/lib/timex_ecto.ex
+lib/elixir/lib/timex_ecto/lib/types/date.ex
+lib/elixir/lib/timex_ecto/lib/types/datetime.ex
+lib/elixir/lib/timex_ecto/lib/types/datetimetz.ex
+lib/elixir/lib/timex_ecto/lib/types/time.ex
+%%PORTDOCS%%%%DOCSDIR%%/README.md