aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-Furl/Makefile
blob: fdd6b06f2e434100ace8c7617cdb997c66f70ead (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
# New ports collection makefile for:    Furl
# Date created:     09 Jul 2011
# Whom:         Jun Kuriyama <kuriyama@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   Furl
PORTVERSION=    1.00
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-HTTP-Parser-XS>=0.11:${PORTSDIR}/www/p5-HTTP-Parser-XS
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

PERL_CONFIGURE= yes

MAN3=   Furl.3 \
    Furl::HTTP.3 \
    Furl::Headers.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>