aboutsummaryrefslogtreecommitdiff
path: root/www/p5-WWW-Mechanize
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2003-07-04 11:02:00 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2003-07-04 11:02:00 +0000
commit22c0e8da9eb4dcb38149dfe0ef2f04aec0fae270 (patch)
tree9384ce4fe1b3492c7a40ae301bdfffc8cf89c757 /www/p5-WWW-Mechanize
parent6ef9c60efec8a6ac1b8a8408b0dc0eeecf799269 (diff)
downloadports-22c0e8da9eb4dcb38149dfe0ef2f04aec0fae270.tar.gz
ports-22c0e8da9eb4dcb38149dfe0ef2f04aec0fae270.zip
Update to version 0.51
Approved by: maintainer
Notes
Notes: svn path=/head/; revision=84191
Diffstat (limited to 'www/p5-WWW-Mechanize')
-rw-r--r--www/p5-WWW-Mechanize/Makefile2
-rw-r--r--www/p5-WWW-Mechanize/distinfo2
-rw-r--r--www/p5-WWW-Mechanize/files/patch-Makefile.PL40
-rw-r--r--www/p5-WWW-Mechanize/pkg-plist1
4 files changed, 43 insertions, 2 deletions
diff --git a/www/p5-WWW-Mechanize/Makefile b/www/p5-WWW-Mechanize/Makefile
index 122387036eca..99a26e9949a4 100644
--- a/www/p5-WWW-Mechanize/Makefile
+++ b/www/p5-WWW-Mechanize/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= WWW-Mechanize
-PORTVERSION= 0.43
+PORTVERSION= 0.51
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= WWW
diff --git a/www/p5-WWW-Mechanize/distinfo b/www/p5-WWW-Mechanize/distinfo
index 19df362d5d48..7bf9d0cc0e68 100644
--- a/www/p5-WWW-Mechanize/distinfo
+++ b/www/p5-WWW-Mechanize/distinfo
@@ -1 +1 @@
-MD5 (WWW-Mechanize-0.43.tar.gz) = 00d82214b3058ed37c7b34dfdd20c12b
+MD5 (WWW-Mechanize-0.51.tar.gz) = 381ea59646ddae319f224e6b124f4324
diff --git a/www/p5-WWW-Mechanize/files/patch-Makefile.PL b/www/p5-WWW-Mechanize/files/patch-Makefile.PL
new file mode 100644
index 000000000000..d593a30a2779
--- /dev/null
+++ b/www/p5-WWW-Mechanize/files/patch-Makefile.PL
@@ -0,0 +1,40 @@
+--- Makefile.PL.orig Fri Jul 4 14:04:35 2003
++++ Makefile.PL Fri Jul 4 14:07:13 2003
+@@ -2,27 +2,7 @@ use ExtUtils::MakeMaker qw( WriteMakefil
+ use strict;
+
+ # Much logic stolen fromm libwww-perl's Makefile.PL
+-my $skiplive = 0;
+-
+-require IO::Socket;
+-my $s = IO::Socket::INET->new(PeerAddr => "www.google.com:80",
+- Timeout => 10,
+- );
+-if ($s) {
+- close($s);
+- $skiplive = 0;
+-} else {
+- print <<EOT;
+-
+-It seems that you are not directly connected to the Internet. Many of
+-the WWW::Mechanize tests interact with websites such as Google.
+-
+-EOT
+-
+- if ( prompt("Do you want to skip these tests?", "y") =~ /^y/i ) {
+- $skiplive = 1;
+- }
+-} # failed connect
++my $skiplive = 1;
+
+ my $filename = "t/SKIPLIVE";
+ if ( $skiplive ) {
+@@ -55,8 +35,6 @@ my $parms = {
+ },
+ };
+
+-if ( prompt( "Do you want to install the mech-forms utility?", "y" ) =~ /^y/i ) {
+ $parms->{EXE_FILES} = [ 'script/mech-forms' ];
+-}
+
+ WriteMakefile( %$parms );
diff --git a/www/p5-WWW-Mechanize/pkg-plist b/www/p5-WWW-Mechanize/pkg-plist
index c67ac06137ab..0ab4965b1c7c 100644
--- a/www/p5-WWW-Mechanize/pkg-plist
+++ b/www/p5-WWW-Mechanize/pkg-plist
@@ -1,3 +1,4 @@
+bin/mech-forms
%%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW/Mechanize/.packlist
%%SITE_PERL%%/WWW/Mechanize/Examples.pod
%%SITE_PERL%%/WWW/Mechanize.pm