Update to 1.08

This commit is contained in:
Mathieu Arnold 2004-12-27 12:23:59 +00:00
parent b1645aa624
commit 2a9cb514da
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=125270
2 changed files with 6 additions and 5 deletions

View file

@ -6,8 +6,7 @@
#
PORTNAME= WWW-Mechanize
PORTVERSION= 1.04
PORTREVISION= 1
PORTVERSION= 1.08
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= WWW
@ -36,9 +35,11 @@ BUILD_DEPENDS+= ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp \
BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
post-patch:
${PERL} -pi \
@${PERL} -pi \
-e 's/^our\s+([\$$\@]\w+)/use vars qw($$1);$$1/;' \
-e 's/^our\s+([\%]\w+)/use vars qw($$1)/;' \
-e 's/(?:my )?\$$fh/FH/;' \
-e 's/FH, ">",/FH, ">"./;' \
-e '$$_="" if /use warnings/;' \
${WRKSRC}/lib/WWW/Mechanize.pm ${WRKSRC}/lib/WWW/Mechanize/Link.pm
.endif

View file

@ -1,2 +1,2 @@
MD5 (WWW-Mechanize-1.04.tar.gz) = 1e88a34f33acdaba8cfbf2949ec09556
SIZE (WWW-Mechanize-1.04.tar.gz) = 90080
MD5 (WWW-Mechanize-1.08.tar.gz) = ca5d360ff754cad2a4154a089588e16c
SIZE (WWW-Mechanize-1.08.tar.gz) = 100811