From de91fc8a0b1a4336619518d402155c51b205b97c Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Sun, 1 Dec 2013 18:39:30 +0000 Subject: [PATCH] - Add LICENSE - Use converters/p5-JSON instead of outdated converters/p5-JSON1 - Support STAGEDIR - Bump PORTREVISION for dependency change This port seems to be the only customer of converters/p5-JSON1. converters/p5-JSON1 can be removed after this update. PR: ports/183752 Submitted by: sunpoet (myself) Approved by: maintainer (timeout, 24 days) --- www/p5-Plack-Middleware-SocketIO/Makefile | 17 ++++------------- www/p5-Plack-Middleware-SocketIO/pkg-plist | 10 ++++++++++ 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/www/p5-Plack-Middleware-SocketIO/Makefile b/www/p5-Plack-Middleware-SocketIO/Makefile index 1e6c134a5e49..9f4c0b63e40f 100644 --- a/www/p5-Plack-Middleware-SocketIO/Makefile +++ b/www/p5-Plack-Middleware-SocketIO/Makefile @@ -2,6 +2,7 @@ PORTNAME= Plack-Middleware-SocketIO PORTVERSION= 0.00904 +PORTREVISION= 1 CATEGORIES= www perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -9,9 +10,11 @@ PKGNAMEPREFIX= p5- MAINTAINER= kuriyama@FreeBSD.org COMMENT= Perl extension for Socket.IO Plack middleware +LICENSE= BSD + RUN_DEPENDS= \ p5-AnyEvent>0:${PORTSDIR}/devel/p5-AnyEvent \ - p5-JSON>0:${PORTSDIR}/converters/p5-JSON1 \ + p5-JSON>0:${PORTSDIR}/converters/p5-JSON \ p5-Plack>0:${PORTSDIR}/www/p5-Plack \ p5-Protocol-WebSocket>=0.00901:${PORTSDIR}/www/p5-Protocol-WebSocket \ p5-Try-Tiny>0:${PORTSDIR}/lang/p5-Try-Tiny @@ -20,16 +23,4 @@ BUILD_DEPENDS:= ${RUN_DEPENDS} USES= perl5 USE_PERL5= configure -MAN3= Plack::Middleware::SocketIO.3 \ - Plack::Middleware::SocketIO::Base.3 \ - Plack::Middleware::SocketIO::Connection.3 \ - Plack::Middleware::SocketIO::Handle.3 \ - Plack::Middleware::SocketIO::Htmlfile.3 \ - Plack::Middleware::SocketIO::JSONPPolling.3 \ - Plack::Middleware::SocketIO::Resource.3 \ - Plack::Middleware::SocketIO::WebSocket.3 \ - Plack::Middleware::SocketIO::XHRMultipart.3 \ - Plack::Middleware::SocketIO::XHRPolling.3 - -NO_STAGE= yes .include diff --git a/www/p5-Plack-Middleware-SocketIO/pkg-plist b/www/p5-Plack-Middleware-SocketIO/pkg-plist index 77b70b2e1a87..1d190f6dbe6c 100644 --- a/www/p5-Plack-Middleware-SocketIO/pkg-plist +++ b/www/p5-Plack-Middleware-SocketIO/pkg-plist @@ -9,6 +9,16 @@ %%SITE_PERL%%/Plack/Middleware/SocketIO/WebSocket.pm %%SITE_PERL%%/Plack/Middleware/SocketIO/XHRMultipart.pm %%SITE_PERL%%/Plack/Middleware/SocketIO/XHRPolling.pm +%%PERL5_MAN3%%/Plack::Middleware::SocketIO.3.gz +%%PERL5_MAN3%%/Plack::Middleware::SocketIO::Base.3.gz +%%PERL5_MAN3%%/Plack::Middleware::SocketIO::Connection.3.gz +%%PERL5_MAN3%%/Plack::Middleware::SocketIO::Handle.3.gz +%%PERL5_MAN3%%/Plack::Middleware::SocketIO::Htmlfile.3.gz +%%PERL5_MAN3%%/Plack::Middleware::SocketIO::JSONPPolling.3.gz +%%PERL5_MAN3%%/Plack::Middleware::SocketIO::Resource.3.gz +%%PERL5_MAN3%%/Plack::Middleware::SocketIO::WebSocket.3.gz +%%PERL5_MAN3%%/Plack::Middleware::SocketIO::XHRMultipart.3.gz +%%PERL5_MAN3%%/Plack::Middleware::SocketIO::XHRPolling.3.gz @dirrm %%SITE_PERL%%/Plack/Middleware/SocketIO @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Plack/Middleware/SocketIO @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Plack/Middleware