aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-ParallelUA/Makefile
blob: 092bc13f62fbd9c724be46cadc964a56b9a74fdc (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
# New ports collection makefile for:    p5-Parallel-UA
# Date created:                         Sep 8 1998
# Whom:                                 ache@freebsd.org
#
# $FreeBSD$
#

PORTNAME=   ParallelUA
PORTVERSION=    2.57
PORTREVISION=   2
CATEGORIES= www perl5
MASTER_SITES=   CPAN/LWP
PKGNAMEPREFIX=  p5-
DISTNAME=   ParallelUserAgent-${PORTVERSION}

MAINTAINER= sunpoet@FreeBSD.org
COMMENT=    Perl5 Parallel LWP User Agent for WWW access

BUILD_DEPENDS=  p5-HTML-Parser>=0:${PORTSDIR}/www/p5-HTML-Parser \
        p5-URI>=0:${PORTSDIR}/net/p5-URI \
        p5-libwww>=0:${PORTSDIR}/www/p5-libwww
RUN_DEPENDS:=   ${BUILD_DEPENDS}

PERL_CONFIGURE= yes
REINPLACE_ARGS= -i ''

MAN3=       Bundle::ParallelUA.3 \
        LWP::Parallel.3 \
        LWP::Parallel::Protocol.3 \
        LWP::Parallel::Protocol::ftp.3 \
        LWP::Parallel::Protocol::http.3 \
        LWP::Parallel::RobotUA.3 \
        LWP::Parallel::UserAgent.3 \
        LWP::ParallelUA.3 \
        LWP::RobotPUA.3

post-patch:
    @${REINPLACE_CMD} -e '/protocol->parse_head/d' ${WRKSRC}/lib/LWP/Parallel/UserAgent.pm

.include <bsd.port.mk>