aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-Plack-App-Proxy/Makefile
blob: f6316002cdf44e82e60e0f32e448b49c7a8a9f36 (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
# New ports collection makefile for:    Plack::App::Proxy
# Date created:     04 Apr 2010
# Whom:         Jun Kuriyama <kuriyama@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   Plack-App-Proxy
PORTVERSION=    0.21
CATEGORIES= www perl5
MASTER_SITES=   CPAN
MASTER_SITE_SUBDIR= CPAN:HIRATARA
PKGNAMEPREFIX=  p5-

MAINTAINER= kuriyama@FreeBSD.org
COMMENT=    Plack extension for proxy requests

RUN_DEPENDS=    \
    p5-AnyEvent-HTTP>=1.44:${PORTSDIR}/www/p5-AnyEvent-HTTP \
    p5-libwww>0:${PORTSDIR}/www/p5-libwww \
    p5-Plack>=0.9913:${PORTSDIR}/www/p5-Plack
BUILD_DEPENDS:= ${RUN_DEPENDS}
TEST_DEPENDS=   \
    p5-Test-Requires>0:${PORTSDIR}/devel/p5-Test-Requires \
    p5-Test-TCP>0:${PORTSDIR}/devel/p5-Test-TCP

PERL_CONFIGURE= yes

MAN3=   Plack::App::Proxy.3 \
    Plack::App::Proxy::Backend.3 \
    Plack::App::Proxy::Backend::AnyEvent::HTTP.3 \
    Plack::App::Proxy::Backend::LWP.3 \
    Plack::App::Proxy::Test.3 \
    Plack::Middleware::Proxy::AddVia.3 \
    Plack::Middleware::Proxy::Connect.3 \
    Plack::Middleware::Proxy::LoadBalancer.3 \
    Plack::Middleware::Proxy::RewriteLocation.3

.include <bsd.port.mk>