aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-Plack-Middleware-ServerStatus-Lite/Makefile
blob: be67706543a404de3c94bddc198a56c1efc2a652 (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
# New ports collection makefile for:    Plack::Middleware::ServerStatus::Lite
# Date created:     29 Jan 2012
# Whom:         Jun Kuriyama <kuriyama@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   Plack-Middleware-ServerStatus-Lite
PORTVERSION=    0.09
CATEGORIES= www perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= kuriyama@FreeBSD.org
COMMENT=    Plack middleware to show server status like Apache mod_status

RUN_DEPENDS=    \
    p5-JSON>0:${PORTSDIR}/converters/p5-JSON \
    p5-Net-CIDR-Lite>0:${PORTSDIR}/net/p5-Net-CIDR-Lite \
    p5-Parallel-Scoreboard>=0.02:${PORTSDIR}/devel/p5-Parallel-Scoreboard \
    p5-Plack>0:${PORTSDIR}/www/p5-Plack \
    p5-Try-Tiny>=0.09:${PORTSDIR}/lang/p5-Try-Tiny
BUILD_DEPENDS:= ${RUN_DEPENDS}
# Tests will fail if not root or 80/tcp is used.
TEST_DEPENDS=   \
    p5-Starlet>0:${PORTSDIR}/www/p5-Starlet \
    p5-Test-TCP>0:${PORTSDIR}/devel/p5-Test-TCP

PERL_CONFIGURE= yes

MAN3=   Plack::Middleware::ServerStatus::Lite.3

.include <bsd.port.mk>