diff options
-rw-r--r-- | www/p5-WWW-Mechanize/Makefile | 2 | ||||
-rw-r--r-- | www/p5-WWW-Mechanize/distinfo | 2 | ||||
-rw-r--r-- | www/p5-WWW-Mechanize/files/patch-Makefile.PL | 40 | ||||
-rw-r--r-- | www/p5-WWW-Mechanize/pkg-plist | 1 |
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 |