diff --git a/www/Makefile b/www/Makefile index 1e03ae80a38c..cb5ae525c99b 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1140,6 +1140,7 @@ SUBDIR += p5-RTx-Calendar SUBDIR += p5-Reaction SUBDIR += p5-Reddit + SUBDIR += p5-Reddit-Client SUBDIR += p5-Rose-HTML-Objects SUBDIR += p5-Router-Boom SUBDIR += p5-Router-Simple diff --git a/www/p5-Reddit-Client/Makefile b/www/p5-Reddit-Client/Makefile new file mode 100644 index 000000000000..aedccc85e106 --- /dev/null +++ b/www/p5-Reddit-Client/Makefile @@ -0,0 +1,24 @@ +# Created by: Emanuel Haupt +# $FreeBSD$ + +PORTNAME= Reddit-Client +PORTVERSION= 0.8 +CATEGORIES= www perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= ehaupt@FreeBSD.org +COMMENT= Methods and object wrappers for objects exposed by the Reddit API + +BUILD_DEPENDS= p5-IO-Capture>=0:${PORTSDIR}/devel/p5-IO-Capture \ + p5-JSON>=2.53:${PORTSDIR}/converters/p5-JSON \ + p5-URI-Encode>0:${PORTSDIR}/www/p5-URI-Encode \ + p5-URI>0:${PORTSDIR}/net/p5-URI \ + p5-libwww>0:${PORTSDIR}/www/p5-libwww +RUN_DEPENDS:= ${BUILD_DEPENDS} +TEST_DEPENDS= p5-Test-MockModule>=0:${PORTSDIR}/devel/p5-Test-MockModule + +USES= perl5 +USE_PERL5= configure + +.include diff --git a/www/p5-Reddit-Client/distinfo b/www/p5-Reddit-Client/distinfo new file mode 100644 index 000000000000..98c8a66b3650 --- /dev/null +++ b/www/p5-Reddit-Client/distinfo @@ -0,0 +1,2 @@ +SHA256 (Reddit-Client-0.8.tar.gz) = ffed53dc6fa657a4294eda638648af308a3f26bcd6dc797e5310831ec226aae3 +SIZE (Reddit-Client-0.8.tar.gz) = 15723 diff --git a/www/p5-Reddit-Client/pkg-descr b/www/p5-Reddit-Client/pkg-descr new file mode 100644 index 000000000000..5552a07ed4b6 --- /dev/null +++ b/www/p5-Reddit-Client/pkg-descr @@ -0,0 +1,6 @@ +Reddit::Client provides methods and simple object wrappers for objects exposed +by the Reddit API. This module handles HTTP communication, basic session +management (e.g. storing an active login session), and communication with +Reddit's external API. + +WWW: http://search.cpan.org/dist/Reddit-Client/ diff --git a/www/p5-Reddit-Client/pkg-plist b/www/p5-Reddit-Client/pkg-plist new file mode 100644 index 000000000000..a7f4b5c58742 --- /dev/null +++ b/www/p5-Reddit-Client/pkg-plist @@ -0,0 +1,16 @@ +%%SITE_PERL%%/Reddit/Client.pm +%%SITE_PERL%%/Reddit/Client/Account.pm +%%SITE_PERL%%/Reddit/Client/Comment.pm +%%SITE_PERL%%/Reddit/Client/Link.pm +%%SITE_PERL%%/Reddit/Client/Request.pm +%%SITE_PERL%%/Reddit/Client/SubReddit.pm +%%SITE_PERL%%/Reddit/Client/Thing.pm +%%SITE_PERL%%/Reddit/Client/VotableThing.pm +%%PERL5_MAN3%%/Reddit::Client.3.gz +%%PERL5_MAN3%%/Reddit::Client::Account.3.gz +%%PERL5_MAN3%%/Reddit::Client::Comment.3.gz +%%PERL5_MAN3%%/Reddit::Client::Link.3.gz +%%PERL5_MAN3%%/Reddit::Client::Request.3.gz +%%PERL5_MAN3%%/Reddit::Client::SubReddit.3.gz +%%PERL5_MAN3%%/Reddit::Client::Thing.3.gz +%%PERL5_MAN3%%/Reddit::Client::VotableThing.3.gz