PORTNAME=	Starman
PORTVERSION=	0.4017
CATEGORIES=	www perl5
MASTER_SITES=	CPAN
MASTER_SITE_SUBDIR=	CPAN:MIYAGAWA
PKGNAMEPREFIX=	p5-

MAINTAINER=	perl@FreeBSD.org
COMMENT=	Perl extension for high-performance preforking PSGI web server
WWW=		https://metacpan.org/release/Starman

LICENSE=	ART10 GPLv1+
LICENSE_COMB=	dual
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	${RUN_DEPENDS}
RUN_DEPENDS=	p5-Data-Dump>=0:devel/p5-Data-Dump \
		p5-HTTP-Date>=0:www/p5-HTTP-Date \
		p5-HTTP-Message>=0:www/p5-HTTP-Message \
		p5-HTTP-Parser-XS>=0:www/p5-HTTP-Parser-XS \
		p5-Net-Server>=2.007:net/p5-Net-Server \
		p5-Plack>=0.9971:www/p5-Plack \
		p5-Test-TCP>=2.00:devel/p5-Test-TCP
TEST_DEPENDS=	p5-Test-Requires>=0:devel/p5-Test-Requires \
		p5-libwww>=0:www/p5-libwww

USES=		perl5
USE_PERL5=	modbuildtiny

NO_ARCH=	yes
USE_RC_SUBR=	starman

.include <bsd.port.mk>
