PORTNAME=	PocketIO
PORTVERSION=	0.17000
CATEGORIES=	www perl5
MASTER_SITES=	CPAN
MASTER_SITE_SUBDIR=	CPAN:VTI
PKGNAMEPREFIX=	p5-
DISTNAME=	PocketIO-${PORTVERSION:S|000$||}

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	Socket.IO Plack application
WWW=		https://metacpan.org/release/PocketIO

LICENSE=	ART20

BUILD_DEPENDS=	${RUN_DEPENDS}
RUN_DEPENDS=	p5-AnyEvent>=0,1:devel/p5-AnyEvent \
		p5-JSON>=2.53:converters/p5-JSON \
		p5-Protocol-SocketIO>=0.04:www/p5-Protocol-SocketIO \
		p5-Protocol-WebSocket>=0.00906:www/p5-Protocol-WebSocket \
		p5-Test-TCP>=0:devel/p5-Test-TCP
TEST_DEPENDS=	p5-Plack>=0:www/p5-Plack \
		p5-Twiggy>=0:www/p5-Twiggy

USES=		perl5
USE_PERL5=	modbuild

NO_ARCH=	yes

.include <bsd.port.mk>
