aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2013-10-21 09:59:58 +0800
committerswills <swills@FreeBSD.org>2013-10-21 09:59:58 +0800
commit940f9005fff7fa1ac0e8f6b584caa509c3964118 (patch)
treebe68401f3081aca9cfcfffa489c7100dac7acd13
parent7c76f7a39d5989d940fe7cdb65e0a35703442083 (diff)
downloadfreebsd-ports-gnome-940f9005fff7fa1ac0e8f6b584caa509c3964118.tar.gz
freebsd-ports-gnome-940f9005fff7fa1ac0e8f6b584caa509c3964118.tar.zst
freebsd-ports-gnome-940f9005fff7fa1ac0e8f6b584caa509c3964118.zip
Official OmniAuth strategy for GitHub
WWW: https://github.com/intridea/omniauth-github PR: ports/182699 Submitted by: Loic Blot <loic.blot@unix-experience.fr>
-rw-r--r--net/Makefile1
-rw-r--r--net/rubygem-omniauth-github/Makefile20
-rw-r--r--net/rubygem-omniauth-github/distinfo2
-rw-r--r--net/rubygem-omniauth-github/pkg-descr3
4 files changed, 26 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 1c705df88b80..b233c2535a1f 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1040,6 +1040,7 @@
SUBDIR += rubygem-network_interface
SUBDIR += rubygem-oauth
SUBDIR += rubygem-oauth2
+ SUBDIR += rubygem-omniauth-github
SUBDIR += rubygem-omniauth-oauth
SUBDIR += rubygem-omniauth-oauth2
SUBDIR += rubygem-open-uri-cached
diff --git a/net/rubygem-omniauth-github/Makefile b/net/rubygem-omniauth-github/Makefile
new file mode 100644
index 000000000000..6270b5e1d915
--- /dev/null
+++ b/net/rubygem-omniauth-github/Makefile
@@ -0,0 +1,20 @@
+# $FreeBSD$
+
+PORTNAME= omniauth-github
+PORTVERSION= 1.1.1
+CATEGORIES= net rubygems
+MASTER_SITES= RG
+
+MAINTAINER= ruby@FreeBSD.org
+COMMENT= Official OmniAuth strategy for GitHub
+
+RUN_DEPENDS= rubygem-omniauth-oauth2>=1.1:${PORTSDIR}/net/rubygem-omniauth-oauth2 \
+ rubygem-omniauth>=1.0:${PORTSDIR}/security/rubygem-omniauth
+
+USE_RUBY= yes
+USE_RUBYGEMS= yes
+RUBYGEM_AUTOPLIST= yes
+
+NO_STAGE= yes
+
+.include <bsd.port.mk>
diff --git a/net/rubygem-omniauth-github/distinfo b/net/rubygem-omniauth-github/distinfo
new file mode 100644
index 000000000000..a63daea37e67
--- /dev/null
+++ b/net/rubygem-omniauth-github/distinfo
@@ -0,0 +1,2 @@
+SHA256 (rubygem/omniauth-github-1.1.1.gem) = 94b41beb49cc16b1e7c5f7a91999d867b76d84a33c9a44e5839178289b8ddac2
+SIZE (rubygem/omniauth-github-1.1.1.gem) = 8192
diff --git a/net/rubygem-omniauth-github/pkg-descr b/net/rubygem-omniauth-github/pkg-descr
new file mode 100644
index 000000000000..08823d97a9f5
--- /dev/null
+++ b/net/rubygem-omniauth-github/pkg-descr
@@ -0,0 +1,3 @@
+Official OmniAuth strategy for GitHub
+
+WWW: https://github.com/intridea/omniauth-github