- update to 0.10

This commit is contained in:
Yen-Ming Lee 2009-05-01 01:49:16 +00:00
parent ff8c2c5d64
commit 85ebd76f92
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=233023
2 changed files with 8 additions and 36 deletions

View file

@ -4,7 +4,7 @@
# $FreeBSD$
PORTNAME= WWW-Mechanize-FormFiller
PORTVERSION= 0.08
PORTVERSION= 0.10
CATEGORIES= www perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@ -12,9 +12,9 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl framework to automate HTML forms
BUILD_DEPENDS= ${SITE_PERL}/Data/Random.pm:${PORTSDIR}/devel/p5-Data-Random \
${SITE_PERL}/HTML/Form.pm:${PORTSDIR}/www/p5-libwww
RUN_DEPENDS= ${BUILD_DEPENDS}
RUN_DEPENDS= p5-Data-Random>=0.05:${PORTSDIR}/devel/p5-Data-Random \
p5-libwww>=0:${PORTSDIR}/www/p5-libwww
BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
@ -30,32 +30,4 @@ MAN3= WWW::Mechanize::FormFiller.3 \
WWW::Mechanize::FormFiller::Value::Random::Date.3 \
WWW::Mechanize::FormFiller::Value::Random::Word.3
FIX_USE_WARN= lib/WWW/Mechanize/FormFiller.pm \
lib/WWW/Mechanize/FormFiller/Value/Interactive.pm \
t/embedded-WWW-Mechanize-FormFiller-Value-Interactive.t \
t/embedded-WWW-Mechanize-FormFiller.t
FIX_USE_BASE= lib/WWW/Mechanize/FormFiller/Value/Callback.pm \
lib/WWW/Mechanize/FormFiller/Value/Default.pm \
lib/WWW/Mechanize/FormFiller/Value/Fixed.pm \
lib/WWW/Mechanize/FormFiller/Value/Interactive.pm \
lib/WWW/Mechanize/FormFiller/Value/Keep.pm \
lib/WWW/Mechanize/FormFiller/Value/Random/Chars.pm \
lib/WWW/Mechanize/FormFiller/Value/Random/Date.pm \
lib/WWW/Mechanize/FormFiller/Value/Random/Word.pm \
lib/WWW/Mechanize/FormFiller/Value/Random.pm
.include <bsd.port.pre.mk>
post-patch:
.for _patch in ${FIX_USE_WARN}
${MV} ${WRKSRC}/${_patch} ${WRKSRC}/${_patch}.orig
${ECHO_CMD} 'BEGIN{if($$] < 5.006 && !$$::INC{"warnings.pm"}){ eval q|package warnings;sub import{$$^W=1}sub unimport{$$^W=0;1}$$::INC{"warnings.pm"}=1|}}' >${WRKSRC}/${_patch}
${CAT} ${WRKSRC}/${_patch}.orig >>${WRKSRC}/${_patch}
${RM} ${WRKSRC}/${_patch}.orig
.endfor
.for _patch in ${FIX_USE_BASE}
${PERL} -pi -e 's/(use base .([\w:]+).;)/use $$2;$$1/' ${WRKSRC}/${_patch}
.endfor
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
MD5 (WWW-Mechanize-FormFiller-0.08.tar.gz) = 10e73616469b62b4cfb9647db0f44646
SHA256 (WWW-Mechanize-FormFiller-0.08.tar.gz) = bbbcb49abd64e463d2523b8042688951e7c352984371c33c69affc780627a786
SIZE (WWW-Mechanize-FormFiller-0.08.tar.gz) = 18027
MD5 (WWW-Mechanize-FormFiller-0.10.tar.gz) = 9d92ec563d1e98ef95a100d81d7c454a
SHA256 (WWW-Mechanize-FormFiller-0.10.tar.gz) = 234d00ebbb3d18c55757e3e91dac62ff9fc3e8f48b154fe3ecf025beac963947
SIZE (WWW-Mechanize-FormFiller-0.10.tar.gz) = 19705