diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/p5-Net-OAuth2/Makefile | 36 | ||||
-rw-r--r-- | net/p5-Net-OAuth2/distinfo | 2 | ||||
-rw-r--r-- | net/p5-Net-OAuth2/pkg-descr | 3 | ||||
-rw-r--r-- | net/p5-Net-OAuth2/pkg-plist | 9 |
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 |