aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2015-07-02 23:44:56 +0800
committerolgeni <olgeni@FreeBSD.org>2015-07-02 23:44:56 +0800
commit4df6a4f9d8f758238f6161870eda171af64b842b (patch)
tree94e6686d10395abe56240691d984a02ffe35cef1 /www
parentdfa65f70b98d2d40ee051cf81f9bce0d362fe382 (diff)
downloadfreebsd-ports-gnome-4df6a4f9d8f758238f6161870eda171af64b842b.tar.gz
freebsd-ports-gnome-4df6a4f9d8f758238f6161870eda171af64b842b.tar.zst
freebsd-ports-gnome-4df6a4f9d8f758238f6161870eda171af64b842b.zip
Add www/phoenix_ecto, Ecto (database) integration for the Phoenix framework.
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/elixir-phoenix_ecto/Makefile23
-rw-r--r--www/elixir-phoenix_ecto/distinfo2
-rw-r--r--www/elixir-phoenix_ecto/files/patch-mix.exs12
-rw-r--r--www/elixir-phoenix_ecto/pkg-descr4
-rw-r--r--www/elixir-phoenix_ecto/pkg-plist14
6 files changed, 56 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index db70af0d941c..4cd515c613b0 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -163,6 +163,7 @@
SUBDIR += eliom
SUBDIR += elixir-maru
SUBDIR += elixir-phoenix
+ SUBDIR += elixir-phoenix_ecto
SUBDIR += emacs-w3m
SUBDIR += encode-explorer
SUBDIR += entrans
diff --git a/www/elixir-phoenix_ecto/Makefile b/www/elixir-phoenix_ecto/Makefile
new file mode 100644
index 000000000000..9970528e5671
--- /dev/null
+++ b/www/elixir-phoenix_ecto/Makefile
@@ -0,0 +1,23 @@
+# $FreeBSD$
+
+PORTNAME= phoenix_ecto
+PORTVERSION= 0.5.0
+DISTVERSIONPREFIX= v
+CATEGORIES= www
+PKGNAMEPREFIX= elixir-
+
+MAINTAINER= olgeni@FreeBSD.org
+COMMENT= Ecto integration for the Phoenix framework
+
+LICENSE= MIT
+
+USE_GITHUB= yes
+GH_ACCOUNT= phoenixframework
+
+MIX_BUILD_DEPS= databases/elixir-ecto \
+ devel/elixir-plug \
+ devel/elixir-poison
+MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
+
+.include "${PORTSDIR}/lang/elixir/bsd.elixir.mk"
+.include <bsd.port.mk>
diff --git a/www/elixir-phoenix_ecto/distinfo b/www/elixir-phoenix_ecto/distinfo
new file mode 100644
index 000000000000..1e1625c179e2
--- /dev/null
+++ b/www/elixir-phoenix_ecto/distinfo
@@ -0,0 +1,2 @@
+SHA256 (phoenixframework-phoenix_ecto-v0.5.0_GH0.tar.gz) = d8e019895035ea04dc6bda50f771cf75a6410710d460746f39966d22e504e0f2
+SIZE (phoenixframework-phoenix_ecto-v0.5.0_GH0.tar.gz) = 4369
diff --git a/www/elixir-phoenix_ecto/files/patch-mix.exs b/www/elixir-phoenix_ecto/files/patch-mix.exs
new file mode 100644
index 000000000000..ed10ebad25f8
--- /dev/null
+++ b/www/elixir-phoenix_ecto/files/patch-mix.exs
@@ -0,0 +1,12 @@
+--- mix.exs.orig 2015-07-02 15:23:09 UTC
++++ mix.exs
+@@ -30,8 +30,6 @@ defmodule PhoenixEcto.Mixfile do
+ end
+
+ defp deps do
+- [{:phoenix_html, "~> 1.0", optional: true},
+- {:poison, "~> 1.3", optional: true},
+- {:ecto, "~> 0.12"}]
++ []
+ end
+ end
diff --git a/www/elixir-phoenix_ecto/pkg-descr b/www/elixir-phoenix_ecto/pkg-descr
new file mode 100644
index 000000000000..400ecccf2b96
--- /dev/null
+++ b/www/elixir-phoenix_ecto/pkg-descr
@@ -0,0 +1,4 @@
+A project that integrates Phoenix with Ecto, implementing all
+relevant protocols.
+
+WWW: https://github.com/phoenixframework/phoenix_ecto
diff --git a/www/elixir-phoenix_ecto/pkg-plist b/www/elixir-phoenix_ecto/pkg-plist
new file mode 100644
index 000000000000..324b4dd5869d
--- /dev/null
+++ b/www/elixir-phoenix_ecto/pkg-plist
@@ -0,0 +1,14 @@
+lib/elixir/lib/phoenix_ecto/ebin/Elixir.Phoenix.Ecto.beam
+lib/elixir/lib/phoenix_ecto/ebin/Elixir.Plug.Exception.Ecto.CastError.beam
+lib/elixir/lib/phoenix_ecto/ebin/Elixir.Plug.Exception.Ecto.NoResultsError.beam
+lib/elixir/lib/phoenix_ecto/ebin/Elixir.Poison.Encoder.Decimal.beam
+lib/elixir/lib/phoenix_ecto/ebin/Elixir.Poison.Encoder.Ecto.Changeset.beam
+lib/elixir/lib/phoenix_ecto/ebin/Elixir.Poison.Encoder.Ecto.Date.beam
+lib/elixir/lib/phoenix_ecto/ebin/Elixir.Poison.Encoder.Ecto.DateTime.beam
+lib/elixir/lib/phoenix_ecto/ebin/Elixir.Poison.Encoder.Ecto.Time.beam
+lib/elixir/lib/phoenix_ecto/ebin/phoenix_ecto.app
+lib/elixir/lib/phoenix_ecto/lib/phoenix_ecto.ex
+lib/elixir/lib/phoenix_ecto/lib/phoenix_ecto/html.ex
+lib/elixir/lib/phoenix_ecto/lib/phoenix_ecto/json.ex
+lib/elixir/lib/phoenix_ecto/lib/phoenix_ecto/plug.ex
+%%PORTDOCS%%%%DOCSDIR%%/README.md