aboutsummaryrefslogtreecommitdiff
path: root/www/p5-WWW-Mechanize-FormFiller
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2009-05-01 01:49:16 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2009-05-01 01:49:16 +0000
commit85ebd76f92ebe819fe5fed52bbf203a2d15f5004 (patch)
tree640b155baf062e532b8ad5eba7154156d4d3b0ff /www/p5-WWW-Mechanize-FormFiller
parentff8c2c5d6469a5bb6b018f665825170dbb025876 (diff)
downloadports-85ebd76f92ebe819fe5fed52bbf203a2d15f5004.tar.gz
ports-85ebd76f92ebe819fe5fed52bbf203a2d15f5004.zip
Notes
Diffstat (limited to 'www/p5-WWW-Mechanize-FormFiller')
-rw-r--r--www/p5-WWW-Mechanize-FormFiller/Makefile38
-rw-r--r--www/p5-WWW-Mechanize-FormFiller/distinfo6
2 files changed, 8 insertions, 36 deletions
diff --git a/www/p5-WWW-Mechanize-FormFiller/Makefile b/www/p5-WWW-Mechanize-FormFiller/Makefile
index 2666e1eae0c3..9918085cc2a0 100644
--- a/www/p5-WWW-Mechanize-FormFiller/Makefile
+++ b/www/p5-WWW-Mechanize-FormFiller/Makefile
@@ -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>
diff --git a/www/p5-WWW-Mechanize-FormFiller/distinfo b/www/p5-WWW-Mechanize-FormFiller/distinfo
index 7563b8b5fca2..2617e682a1b1 100644
--- a/www/p5-WWW-Mechanize-FormFiller/distinfo
+++ b/www/p5-WWW-Mechanize-FormFiller/distinfo
@@ -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