summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 1223870..99a26e9 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 19df362..7bf9d0c 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 0000000..d593a30
--- /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 c67ac06..0ab4965 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
OpenPOWER on IntegriCloud