1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/www/p5-HTTP-Recorder/Makefile
2005-11-22 13:14:30 +00:00

38 lines
961 B
Makefile

# 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>