summaryrefslogtreecommitdiff
path: root/www/p5-POE-Component-Server-SimpleHTTP/Makefile
blob: dda40398415c065e421ef0395f85cb09b0280729 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35

PORTNAME=	POE-Component-Server-SimpleHTTP
PORTVERSION=	2.28
CATEGORIES=	www perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	perl@FreeBSD.org
COMMENT=	Perl extension to serve HTTP requests in POE

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

BUILD_DEPENDS=	${RUN_DEPENDS}
RUN_DEPENDS=	p5-Moose>=0.9:devel/p5-Moose \
		p5-MooseX-POE>=0.205:devel/p5-MooseX-POE \
		p5-POE>=1:devel/p5-POE
TEST_DEPENDS=	p5-POE-Component-Client-HTTP>=0.82:www/p5-POE-Component-Client-HTTP \
		p5-POE-Filter-HTTP-Parser>=1.06:www/p5-POE-Filter-HTTP-Parser \
		p5-Test-POE-Client-TCP>=1.24:devel/p5-Test-POE-Client-TCP

USES=		perl5
USE_PERL5=	configure

NO_ARCH=	yes

OPTIONS_DEFINE=	SSL
OPTIONS_DEFAULT=SSL

SSL_DESC=		SSL support (POE::Component::SSLify)
SSL_BUILD_DEPENDS=	p5-POE-Component-SSLify>=0.04:security/p5-POE-Component-SSLify
SSL_RUN_DEPENDS=	${SSL_BUILD_DEPENDS}

.include <bsd.port.mk>