diff options
author | vanilla <vanilla@FreeBSD.org> | 2015-07-20 22:24:05 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2015-07-20 22:24:05 +0800 |
commit | 7edacff2470726832f552cdb6b6435836a331491 (patch) | |
tree | 9d1de553a518171493322e4758dc4859dab5bbbf | |
parent | 4399eeadb871568e028af7e750f6542ecdc088db (diff) | |
download | freebsd-ports-gnome-7edacff2470726832f552cdb6b6435836a331491.tar.gz freebsd-ports-gnome-7edacff2470726832f552cdb6b6435836a331491.tar.zst freebsd-ports-gnome-7edacff2470726832f552cdb6b6435836a331491.zip |
Add elixir-oauth2.
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/elixir-oauth2/Makefile | 23 | ||||
-rw-r--r-- | net/elixir-oauth2/distinfo | 2 | ||||
-rw-r--r-- | net/elixir-oauth2/files/patch-mix.exs | 10 | ||||
-rw-r--r-- | net/elixir-oauth2/pkg-descr | 3 | ||||
-rw-r--r-- | net/elixir-oauth2/pkg-plist | 24 |
6 files changed, 63 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index 2f0fa908cf08..c0b31b0d7b21 100644 --- a/net/Makefile +++ b/net/Makefile @@ -115,6 +115,7 @@ SUBDIR += e169-stats SUBDIR += easysoap SUBDIR += echoping + SUBDIR += elixir-oauth2 SUBDIR += empty SUBDIR += enet SUBDIR += erlang-ranch diff --git a/net/elixir-oauth2/Makefile b/net/elixir-oauth2/Makefile new file mode 100644 index 000000000000..54976918d5b9 --- /dev/null +++ b/net/elixir-oauth2/Makefile @@ -0,0 +1,23 @@ +# $FreeBSD$ + +PORTNAME= oauth2 +PORTVERSION= 0.2.0 +DISTVERSIONPREFIX= v +CATEGORIES= net +PKGNAMEPREFIX= elixir- + +MAINTAINER= vanilla@FreeBSD.org +COMMENT= OAuth 2.0 library for Elixir + +LICENSE= MIT + +MIX_BUILD_DEPS= devel/elixir-plug \ + devel/elixir-poison \ + www/erlang-hackney \ + www/elixir-httpoison + +USES= elixir +USE_GITHUB= yes +GH_ACCOUNT= scrogson + +.include <bsd.port.mk> diff --git a/net/elixir-oauth2/distinfo b/net/elixir-oauth2/distinfo new file mode 100644 index 000000000000..a34e0c4d6edd --- /dev/null +++ b/net/elixir-oauth2/distinfo @@ -0,0 +1,2 @@ +SHA256 (scrogson-oauth2-v0.2.0_GH0.tar.gz) = f0ee743ac86f24bb4884149b10d013ad9c2475882fdb378082733f7f445b5281 +SIZE (scrogson-oauth2-v0.2.0_GH0.tar.gz) = 10796 diff --git a/net/elixir-oauth2/files/patch-mix.exs b/net/elixir-oauth2/files/patch-mix.exs new file mode 100644 index 000000000000..5093c523ee0d --- /dev/null +++ b/net/elixir-oauth2/files/patch-mix.exs @@ -0,0 +1,10 @@ +--- mix.exs.orig 2015-07-20 14:01:37 UTC ++++ mix.exs +@@ -6,7 +6,6 @@ defmodule OAuth2.Mixfile do + app: :oauth2, + version: "0.2.0", + elixir: "~> 1.0", +- deps: deps, + package: package, + name: "OAuth2", + description: "An Elixir OAuth 2.0 Client Library", diff --git a/net/elixir-oauth2/pkg-descr b/net/elixir-oauth2/pkg-descr new file mode 100644 index 000000000000..da369c170286 --- /dev/null +++ b/net/elixir-oauth2/pkg-descr @@ -0,0 +1,3 @@ +An Elixir OAuth 2.0 Client Library. + +WWW: https://github.com/scrogson/oauth2 diff --git a/net/elixir-oauth2/pkg-plist b/net/elixir-oauth2/pkg-plist new file mode 100644 index 000000000000..b11c594df496 --- /dev/null +++ b/net/elixir-oauth2/pkg-plist @@ -0,0 +1,24 @@ +lib/elixir/lib/oauth2/ebin/Elixir.OAuth2.AccessToken.beam +lib/elixir/lib/oauth2/ebin/Elixir.OAuth2.Client.beam +lib/elixir/lib/oauth2/ebin/Elixir.OAuth2.Error.beam +lib/elixir/lib/oauth2/ebin/Elixir.OAuth2.Request.beam +lib/elixir/lib/oauth2/ebin/Elixir.OAuth2.Response.beam +lib/elixir/lib/oauth2/ebin/Elixir.OAuth2.Strategy.AuthCode.beam +lib/elixir/lib/oauth2/ebin/Elixir.OAuth2.Strategy.ClientCredentials.beam +lib/elixir/lib/oauth2/ebin/Elixir.OAuth2.Strategy.Password.beam +lib/elixir/lib/oauth2/ebin/Elixir.OAuth2.Strategy.beam +lib/elixir/lib/oauth2/ebin/Elixir.OAuth2.Util.beam +lib/elixir/lib/oauth2/ebin/Elixir.OAuth2.beam +lib/elixir/lib/oauth2/ebin/oauth2.app +lib/elixir/lib/oauth2/lib/oauth2.ex +lib/elixir/lib/oauth2/lib/oauth2/access_token.ex +lib/elixir/lib/oauth2/lib/oauth2/client.ex +lib/elixir/lib/oauth2/lib/oauth2/error.ex +lib/elixir/lib/oauth2/lib/oauth2/request.ex +lib/elixir/lib/oauth2/lib/oauth2/response.ex +lib/elixir/lib/oauth2/lib/oauth2/strategy.ex +lib/elixir/lib/oauth2/lib/oauth2/strategy/auth_code.ex +lib/elixir/lib/oauth2/lib/oauth2/strategy/client_credentials.ex +lib/elixir/lib/oauth2/lib/oauth2/strategy/password.ex +lib/elixir/lib/oauth2/lib/oauth2/util.ex +%%PORTDOCS%%%%DOCSDIR%%/README.md |