aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-Feersum/Makefile
blob: bbc14e0b78c40a29b9cf35ab91587dfe15a39db1 (plain) (blame)
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Created by: Grzegorz Blach <gblach@FreeBSD.org>
# $FreeBSD$

PORTNAME=   Feersum
PORTVERSION=    1.400
CATEGORIES= www perl5
MASTER_SITES=   CPAN
MASTER_SITE_SUBDIR= CPAN:STASH
PKGNAMEPREFIX=  p5-

MAINTAINER= gblach@FreeBSD.org
COMMENT=    A PSGI engine for Perl based on EV/libev

LICENSE=    ART10 GPLv1
LICENSE_COMB=   dual

BUILD_DEPENDS=  p5-EV>=4.0:${PORTSDIR}/devel/p5-EV \
        p5-Plack>=0.9950:${PORTSDIR}/www/p5-Plack
RUN_DEPENDS=    p5-EV>=4.0:${PORTSDIR}/devel/p5-EV \
        p5-Plack>=0.9950:${PORTSDIR}/www/p5-Plack

TEST_DEPENDS=   p5-AnyEvent>=5.26.1:${PORTSDIR}/devel/p5-AnyEvent \
        p5-Guard>=1.012:${PORTSDIR}/devel/p5-Guard \
        p5-JSON-XS>=2:${PORTSDIR}/converters/p5-JSON-XS \
        p5-Test-Fatal>=0.003:${PORTSDIR}/devel/p5-Test-Fatal \
        p5-Test-LeakTrace>=0.13:${PORTSDIR}/devel/p5-Test-LeakTrace \
        p5-Test-TCP>=1.12:${PORTSDIR}/devel/p5-Test-TCP

PERL_CONFIGURE= yes

MAN1=       feersum.1
MAN3=       Feersum.3 \
        Feersum::Connection.3 \
        Feersum::Connection::Handle.3 \
        Feersum::Runner.3 \
        Plack::Handler::Feersum.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 501200
BUILD_DEPENDS+= p5-Scalar-List-Utils>=1.19:${PORTSDIR}/lang/p5-Scalar-List-Utils
RUN_DEPENDS+=   p5-Scalar-List-Utils>=1.19:${PORTSDIR}/lang/p5-Scalar-List-Utils
.endif

.if ${PERL_LEVEL} < 501200
TEST_DEPENDS+=  p5-Test-Simple>=0.94:${PORTSDIR}/devel/p5-Test-Simple
.endif

.include <bsd.port.post.mk>