aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2015-07-14 22:47:24 +0800
committerolgeni <olgeni@FreeBSD.org>2015-07-14 22:47:24 +0800
commit4ea683a351270c5d2125bcab20bba9f8f7c7f6fc (patch)
treed1586792ac0700b30b1e95260ebcee21980c5cf2 /databases
parentb9a08baaa5fddc7cfdf493e97fefa50bd9cd885c (diff)
downloadfreebsd-ports-gnome-4ea683a351270c5d2125bcab20bba9f8f7c7f6fc.tar.gz
freebsd-ports-gnome-4ea683a351270c5d2125bcab20bba9f8f7c7f6fc.tar.zst
freebsd-ports-gnome-4ea683a351270c5d2125bcab20bba9f8f7c7f6fc.zip
Add databases/elixir-calecto, an Adapter for the Calendar library
in Ecto.
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/elixir-calecto/Makefile20
-rw-r--r--databases/elixir-calecto/distinfo2
-rw-r--r--databases/elixir-calecto/files/patch-mix.exs12
-rw-r--r--databases/elixir-calecto/pkg-descr6
-rw-r--r--databases/elixir-calecto/pkg-plist18
6 files changed, 59 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 411ac93d7463..e84778d10fa3 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -52,6 +52,7 @@
SUBDIR += dbow
SUBDIR += dbtool
SUBDIR += dbview
+ SUBDIR += elixir-calecto
SUBDIR += elixir-ecto
SUBDIR += elixir-mariaex
SUBDIR += elixir-mongo
diff --git a/databases/elixir-calecto/Makefile b/databases/elixir-calecto/Makefile
new file mode 100644
index 000000000000..b344566cab6e
--- /dev/null
+++ b/databases/elixir-calecto/Makefile
@@ -0,0 +1,20 @@
+# $FreeBSD$
+
+PORTNAME= calecto
+PORTVERSION= 0.3.6
+DISTVERSIONPREFIX= v
+CATEGORIES= databases
+PKGNAMEPREFIX= elixir-
+
+MAINTAINER= olgeni@FreeBSD.org
+COMMENT= Adapter for the Calendar library in Ecto
+
+USES= elixir
+USE_GITHUB= yes
+GH_ACCOUNT= lau
+
+MIX_BUILD_DEPS= databases/elixir-ecto \
+ devel/elixir-calendar
+MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
+
+.include <bsd.port.mk>
diff --git a/databases/elixir-calecto/distinfo b/databases/elixir-calecto/distinfo
new file mode 100644
index 000000000000..baae2da840af
--- /dev/null
+++ b/databases/elixir-calecto/distinfo
@@ -0,0 +1,2 @@
+SHA256 (lau-calecto-v0.3.6_GH0.tar.gz) = 310d87ece69e8888677ed283b410f21319ad23704a0f8eb29178b020c0f887e0
+SIZE (lau-calecto-v0.3.6_GH0.tar.gz) = 7705
diff --git a/databases/elixir-calecto/files/patch-mix.exs b/databases/elixir-calecto/files/patch-mix.exs
new file mode 100644
index 000000000000..953cc21802de
--- /dev/null
+++ b/databases/elixir-calecto/files/patch-mix.exs
@@ -0,0 +1,12 @@
+--- mix.exs.orig 2015-07-14 14:40:25 UTC
++++ mix.exs
+@@ -6,8 +6,7 @@ defmodule Calecto.Mixfile do
+ version: "0.3.5",
+ elixir: "~> 1.0",
+ package: package,
+- description: description,
+- deps: deps]
++ description: description]
+ end
+
+ def application do
diff --git a/databases/elixir-calecto/pkg-descr b/databases/elixir-calecto/pkg-descr
new file mode 100644
index 000000000000..83252527197c
--- /dev/null
+++ b/databases/elixir-calecto/pkg-descr
@@ -0,0 +1,6 @@
+Glue between Calendar and Ecto. For saving dates, times and datetimes
+in Ecto. Instead of using the Ecto types for Date, Time and DateTime,
+you can access the features of the Calendar library. With timezone
+awareness, parsing, and formatting functionality.
+
+WWW: https://github.com/lau/calecto
diff --git a/databases/elixir-calecto/pkg-plist b/databases/elixir-calecto/pkg-plist
new file mode 100644
index 000000000000..4f2c17c90355
--- /dev/null
+++ b/databases/elixir-calecto/pkg-plist
@@ -0,0 +1,18 @@
+lib/elixir/lib/calecto/ebin/Elixir.Calecto.Date.beam
+lib/elixir/lib/calecto/ebin/Elixir.Calecto.DateTime.beam
+lib/elixir/lib/calecto/ebin/Elixir.Calecto.DateTimeUTC.beam
+lib/elixir/lib/calecto/ebin/Elixir.Calecto.Model.beam
+lib/elixir/lib/calecto/ebin/Elixir.Calecto.NaiveDateTime.beam
+lib/elixir/lib/calecto/ebin/Elixir.Calecto.Time.beam
+lib/elixir/lib/calecto/ebin/Elixir.Calecto.beam
+lib/elixir/lib/calecto/ebin/Elixir.Mix.Tasks.Calecto.AddTypeMigration.beam
+lib/elixir/lib/calecto/ebin/calecto.app
+lib/elixir/lib/calecto/lib/calecto.ex
+lib/elixir/lib/calecto/lib/calecto/date.ex
+lib/elixir/lib/calecto/lib/calecto/date_time.ex
+lib/elixir/lib/calecto/lib/calecto/date_time_utc.ex
+lib/elixir/lib/calecto/lib/calecto/model.ex
+lib/elixir/lib/calecto/lib/calecto/naive_date_time.ex
+lib/elixir/lib/calecto/lib/calecto/time.ex
+lib/elixir/lib/calecto/lib/mix/tasks/calecto.add_type_migration.ex
+%%PORTDOCS%%%%DOCSDIR%%/README.md