aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-Furl/Makefile
blob: 4b3d764ae3459059d4d09be708b319e809351b24 (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
# $FreeBSD$

PORTNAME=   Furl
PORTVERSION=    2.18
CATEGORIES= www perl5
MASTER_SITES=   CPAN
MASTER_SITE_SUBDIR= CPAN:TOKUHIROM
PKGNAMEPREFIX=  p5-

MAINTAINER= kuriyama@FreeBSD.org
COMMENT=    Perl extension of lightning-fast URL fetcher

RUN_DEPENDS=    \
    p5-Class-Accessor-Lite>0:${PORTSDIR}/devel/p5-Class-Accessor-Lite \
    p5-HTTP-Parser-XS>=0.11:${PORTSDIR}/www/p5-HTTP-Parser-XS \
    p5-Mozilla-CA>0:${PORTSDIR}/www/p5-Mozilla-CA
BUILD_DEPENDS:= ${RUN_DEPENDS}
TEST_DEPENDS=   p5-Test-Requires>=0:${PORTSDIR}/devel/p5-Test-Requires \
        p5-Test-TCP>=0:${PORTSDIR}/devel/p5-Test-TCP \
        p5-Plack>0:${PORTSDIR}/www/p5-Plack \
        p5-HTTP-Proxy>0:${PORTSDIR}/www/p5-HTTP-Proxy \
        p5-Plack-Middleware-Deflater>0:${PORTSDIR}/www/p5-Plack-Middleware-Deflater \
        p5-IO-Callback>0:${PORTSDIR}/devel/p5-IO-Callback \
        p5-Starlet>0:${PORTSDIR}/www/p5-Starlet \
        p5-Net-IDN-Encode>0:${PORTSDIR}/textproc/p5-Net-IDN-Encode

USES=   perl5
USE_PERL5=  modbuild

MAN3=   Furl.3 \
    Furl::HTTP.3 \
    Furl::Headers.3 \
    Furl::Request.3 \
    Furl::Response.3

.include <bsd.port.pre.mk>

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

.include <bsd.port.post.mk>