aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--www/Makefile1
-rw-r--r--www/elixir-httpoison/Makefile20
-rw-r--r--www/elixir-httpoison/distinfo2
-rw-r--r--www/elixir-httpoison/files/patch-mix.exs10
-rw-r--r--www/elixir-httpoison/pkg-descr3
-rw-r--r--www/elixir-httpoison/pkg-plist13
6 files changed, 49 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 8079ab3b1890..fac0701b95ba 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -161,6 +161,7 @@
SUBDIR += elgg
SUBDIR += elinks
SUBDIR += eliom
+ SUBDIR += elixir-httpoison
SUBDIR += elixir-maru
SUBDIR += elixir-phoenix
SUBDIR += elixir-phoenix_ecto
diff --git a/www/elixir-httpoison/Makefile b/www/elixir-httpoison/Makefile
new file mode 100644
index 000000000000..8b6ca41e7fee
--- /dev/null
+++ b/www/elixir-httpoison/Makefile
@@ -0,0 +1,20 @@
+# $FreeBSD$
+
+PORTNAME= httpoison
+PORTVERSION= 0.7.0
+CATEGORIES= www
+PKGNAMEPREFIX= elixir-
+
+MAINTAINER= olgeni@FreeBSD.org
+COMMENT= HTTP client for Elixir powered by hackney
+
+LICENSE= MIT
+
+USES= elixir
+USE_GITHUB= yes
+GH_ACCOUNT= edgurgel
+
+MIX_BUILD_DEPS= www/erlang-hackney
+MIX_RUN_DEPS:= ${MIX_BUILD_DEPS}
+
+.include <bsd.port.mk>
diff --git a/www/elixir-httpoison/distinfo b/www/elixir-httpoison/distinfo
new file mode 100644
index 000000000000..e4d220d8b9e6
--- /dev/null
+++ b/www/elixir-httpoison/distinfo
@@ -0,0 +1,2 @@
+SHA256 (edgurgel-httpoison-0.7.0_GH0.tar.gz) = 2d326a5549f937cfa23f9ae26ca116272e43f12058db18e9bb2d1135ae2ee3d1
+SIZE (edgurgel-httpoison-0.7.0_GH0.tar.gz) = 13426
diff --git a/www/elixir-httpoison/files/patch-mix.exs b/www/elixir-httpoison/files/patch-mix.exs
new file mode 100644
index 000000000000..d97c1c43b70e
--- /dev/null
+++ b/www/elixir-httpoison/files/patch-mix.exs
@@ -0,0 +1,10 @@
+--- mix.exs.orig 2015-07-05 09:01:37 UTC
++++ mix.exs
+@@ -12,7 +12,6 @@ defmodule HTTPoison.Mixfile do
+ name: "HTTPoison",
+ description: @description,
+ package: package,
+- deps: deps,
+ source_url: "https://github.com/edgurgel/httpoison" ]
+ end
+
diff --git a/www/elixir-httpoison/pkg-descr b/www/elixir-httpoison/pkg-descr
new file mode 100644
index 000000000000..ddea333edcd5
--- /dev/null
+++ b/www/elixir-httpoison/pkg-descr
@@ -0,0 +1,3 @@
+HTTP client for Elixir, based on HTTPotion.
+
+WWW: https://github.com/edgurgel/httpoison
diff --git a/www/elixir-httpoison/pkg-plist b/www/elixir-httpoison/pkg-plist
new file mode 100644
index 000000000000..635ad4bbd402
--- /dev/null
+++ b/www/elixir-httpoison/pkg-plist
@@ -0,0 +1,13 @@
+lib/elixir/lib/httpoison/ebin/Elixir.HTTPoison.AsyncChunk.beam
+lib/elixir/lib/httpoison/ebin/Elixir.HTTPoison.AsyncEnd.beam
+lib/elixir/lib/httpoison/ebin/Elixir.HTTPoison.AsyncHeaders.beam
+lib/elixir/lib/httpoison/ebin/Elixir.HTTPoison.AsyncResponse.beam
+lib/elixir/lib/httpoison/ebin/Elixir.HTTPoison.AsyncStatus.beam
+lib/elixir/lib/httpoison/ebin/Elixir.HTTPoison.Base.beam
+lib/elixir/lib/httpoison/ebin/Elixir.HTTPoison.Error.beam
+lib/elixir/lib/httpoison/ebin/Elixir.HTTPoison.Response.beam
+lib/elixir/lib/httpoison/ebin/Elixir.HTTPoison.beam
+lib/elixir/lib/httpoison/ebin/httpoison.app
+lib/elixir/lib/httpoison/lib/httpoison.ex
+lib/elixir/lib/httpoison/lib/httpoison/base.ex
+%%PORTDOCS%%%%DOCSDIR%%/README.md