aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2012-04-30 11:11:26 +0800
committersunpoet <sunpoet@FreeBSD.org>2012-04-30 11:11:26 +0800
commit3d4fdacc437bbe6a0f4b32e4ed4ff7fe0fa040f3 (patch)
treee3317a941f3a52e8848ea3f09e8757b9956e6bee /net
parent303a220da59c18be49f9cb8bf20e3fe9627c2825 (diff)
downloadfreebsd-ports-gnome-3d4fdacc437bbe6a0f4b32e4ed4ff7fe0fa040f3.tar.gz
freebsd-ports-gnome-3d4fdacc437bbe6a0f4b32e4ed4ff7fe0fa040f3.tar.zst
freebsd-ports-gnome-3d4fdacc437bbe6a0f4b32e4ed4ff7fe0fa040f3.zip
- Add p5-Net-OAuth2 0.07
Net::OAuth2 provides OAuth 2.0 for Perl. WWW: http://search.cpan.org/dist/Net-OAuth2/
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/p5-Net-OAuth2/Makefile36
-rw-r--r--net/p5-Net-OAuth2/distinfo2
-rw-r--r--net/p5-Net-OAuth2/pkg-descr3
-rw-r--r--net/p5-Net-OAuth2/pkg-plist9
5 files changed, 51 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index d544df8a3917..becaae325300 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -608,6 +608,7 @@
SUBDIR += p5-Net-Nessus-XMLRPC
SUBDIR += p5-Net-OAuth
SUBDIR += p5-Net-OAuth-Simple
+ SUBDIR += p5-Net-OAuth2
SUBDIR += p5-Net-OpenID-Consumer
SUBDIR += p5-Net-OpenSSH
SUBDIR += p5-Net-Packet
diff --git a/net/p5-Net-OAuth2/Makefile b/net/p5-Net-OAuth2/Makefile
new file mode 100644
index 000000000000..865df1293f2c
--- /dev/null
+++ b/net/p5-Net-OAuth2/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: p5-Net-OAuth2
+# Date created: 2012-04-30
+# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Net-OAuth2
+PORTVERSION= 0.07
+CATEGORIES= net perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= OAuth 2.0 for Perl
+
+BUILD_DEPENDS= p5-Class-Accessor>=0.31:${PORTSDIR}/devel/p5-Class-Accessor \
+ p5-JSON>=0:${PORTSDIR}/converters/p5-JSON \
+ p5-URI>=0:${PORTSDIR}/net/p5-URI \
+ p5-libwww>=0:${PORTSDIR}/www/p5-libwww
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+
+TEST_DEPENDS= p5-Test-Mock-LWP-Dispatch>=0:${PORTSDIR}/devel/p5-Test-Mock-LWP-Dispatch \
+ p5-Test-NoWarnings>=0:${PORTSDIR}/devel/p5-Test-NoWarnings \
+ p5-Test-Pod>=1.22:${PORTSDIR}/devel/p5-Test-Pod \
+ p5-YAML>=0:${PORTSDIR}/textproc/p5-YAML
+
+PERL_CONFIGURE= yes
+
+MAN3= Net::OAuth2.3 \
+ Net::OAuth2::AccessToken.3 \
+ Net::OAuth2::Client.3 \
+ Net::OAuth2::Profile::Base.3 \
+ Net::OAuth2::Profile::WebServer.3
+
+.include <bsd.port.mk>
diff --git a/net/p5-Net-OAuth2/distinfo b/net/p5-Net-OAuth2/distinfo
new file mode 100644
index 000000000000..3837b93f954a
--- /dev/null
+++ b/net/p5-Net-OAuth2/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Net-OAuth2-0.07.tar.gz) = c2e1e9c8c7e2145f84642815bc740f7d284e34dca6624dc507edfa3070d0c2f1
+SIZE (Net-OAuth2-0.07.tar.gz) = 8369
diff --git a/net/p5-Net-OAuth2/pkg-descr b/net/p5-Net-OAuth2/pkg-descr
new file mode 100644
index 000000000000..fb786b51e0ed
--- /dev/null
+++ b/net/p5-Net-OAuth2/pkg-descr
@@ -0,0 +1,3 @@
+Net::OAuth2 provides OAuth 2.0 for Perl.
+
+WWW: http://search.cpan.org/dist/Net-OAuth2/
diff --git a/net/p5-Net-OAuth2/pkg-plist b/net/p5-Net-OAuth2/pkg-plist
new file mode 100644
index 000000000000..f4ed5ffd7ce2
--- /dev/null
+++ b/net/p5-Net-OAuth2/pkg-plist
@@ -0,0 +1,9 @@
+%%SITE_PERL%%/Net/OAuth2.pm
+%%SITE_PERL%%/Net/OAuth2/AccessToken.pm
+%%SITE_PERL%%/Net/OAuth2/Client.pm
+%%SITE_PERL%%/Net/OAuth2/Profile/Base.pm
+%%SITE_PERL%%/Net/OAuth2/Profile/WebServer.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/OAuth2/.packlist
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/OAuth2
+@dirrmtry %%SITE_PERL%%/Net/OAuth2/Profile
+@dirrmtry %%SITE_PERL%%/Net/OAuth2