aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-Plack-Test-ExternalServer/Makefile
blob: f5f9a0fd44c968f6bf6eb14dece327fa01f019ae (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
# New ports collection makefile for:    p5-Plack-Test-ExternalServer
# Date created:     2011-08-27
# Whom:         Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   Plack-Test-ExternalServer
PORTVERSION=    0.01
CATEGORIES= www perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= sunpoet@FreeBSD.org
COMMENT=    Run HTTP tests on external live servers

BUILD_DEPENDS=  p5-HTTP-Message>=0:${PORTSDIR}/www/p5-HTTP-Message \
        p5-Plack>=0:${PORTSDIR}/www/p5-Plack \
        p5-URI>=0:${PORTSDIR}/net/p5-URI \
        p5-libwww>=0:${PORTSDIR}/www/p5-libwww
RUN_DEPENDS=    p5-HTTP-Message>=0:${PORTSDIR}/www/p5-HTTP-Message \
        p5-Plack>=0:${PORTSDIR}/www/p5-Plack \
        p5-URI>=0:${PORTSDIR}/net/p5-URI \
        p5-libwww>=0:${PORTSDIR}/www/p5-libwww
TEST_DEPENDS=   p5-Test-TCP>=0:${PORTSDIR}/devel/p5-Test-TCP

PERL_CONFIGURE= yes

MAN3=       Plack::Test::ExternalServer.3

.include <bsd.port.pre.mk>

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

.include <bsd.port.post.mk>