- 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)
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2013-12-01 18:39:30 +00:00
parent effbd66c89
commit de91fc8a0b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=335428
2 changed files with 14 additions and 13 deletions

View File

@ -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 <bsd.port.mk>

View File

@ -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