blob: a36f9686770326f5911dd65e5605887ce1658e8c (
plain)
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
|
# New ports collection makefile for: p5-HTTP-Recorder
# Date created: 1 April 2004
# Whom: mat
#
# $FreeBSD$
#
PORTNAME= HTTP-Recorder
PORTVERSION= 0.05
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ../by-authors/id/L/LE/LEIRA
PKGNAMEPREFIX= p5-
MAINTAINER= mat@FreeBSD.org
COMMENT= Record interaction with websites
BUILD_DEPENDS= ${SITE_PERL}/LWP/UserAgent.pm:${PORTSDIR}/www/p5-libwww \
${SITE_PERL}/${PERL_ARCH}/HTML/TokeParser.pm:${PORTSDIR}/www/p5-HTML-Parser \
${SITE_PERL}/HTTP/Request/Params.pm:${PORTSDIR}/www/p5-HTTP-Request-Params
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN3= HTTP::Recorder.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
post-patch:
@${PERL} -pi -e 's/^our (\S+)/use vars qw($$1); $$1/;' \
-e '$$_ = "" if /use warnings/;' \
${WRKSRC}/lib/HTTP/Recorder.pm \
${WRKSRC}/lib/HTTP/Recorder/Logger.pm
.endif
.include <bsd.port.post.mk>
|