1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00

Update to 0.60

maintainer timeout

PR:		55314
Submitted by:	myself
This commit is contained in:
Mathieu Arnold 2003-10-03 10:29:21 +00:00
parent 5114a87c98
commit 61e9d16e6e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=90086
4 changed files with 44 additions and 27 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= WWW-Mechanize
PORTVERSION= 0.51
PORTVERSION= 0.60
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= WWW
@ -16,26 +16,26 @@ MAINTAINER= tobez@FreeBSD.org
COMMENT= This module is to help you automate interaction with a website
BUILD_DEPENDS= ${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww \
${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
${SITE_PERL}/IO/Socket/SSL.pm:${PORTSDIR}/security/p5-IO-Socket-SSL \
${SITE_PERL}/Pod/Usage.pm:${PORTSDIR}/textproc/p5-PodParser
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN3= WWW::Mechanize.3
MAN3= WWW::Mechanize.3 WWW::Mechanize::Examples.3 WWW::Mechanize::Link.3
MAN1= mech-dump.1
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500601
BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
RUN_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
.endif
post-patch:
${PERL} -pi \
-e 's/^our\s+([\$$\@]\w+)/use vars qw($$1);$$1/;' \
-e 's/^our\s+([\%]\w+)/use vars qw($$1)/;' \
-e '$$_="" if /require 5/;' \
-e '$$_="" if /use warnings/;' \
${WRKSRC}/lib/WWW/Mechanize.pm
${WRKSRC}/lib/WWW/Mechanize.pm ${WRKSRC}/lib/WWW/Mechanize/Link.pm
.endif
.include <bsd.port.post.mk>

View File

@ -1 +1 @@
MD5 (WWW-Mechanize-0.51.tar.gz) = 381ea59646ddae319f224e6b124f4324
MD5 (WWW-Mechanize-0.60.tar.gz) = 26736aa802cede1c005a284a0bcef8ae

View File

@ -1,7 +1,7 @@
--- 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;
--- Makefile.PL.orig Mon Aug 18 03:35:42 2003
+++ Makefile.PL Fri Oct 3 11:47:30 2003
@@ -5,28 +5,7 @@
use constant FLAG_SKIPMECHDUMP => "t/SKIP-MECH-FORMS";
# Much logic stolen fromm libwww-perl's Makefile.PL
-my $skiplive = 0;
@ -16,8 +16,9 @@
-} 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.
-It seems that you are not directly connected to the Internet. Some
-of the WWW::Mechanize tests interact with websites such as Google,
-in addition to its own internal tests.
-
-EOT
-
@ -27,14 +28,29 @@
-} # failed connect
+my $skiplive = 1;
my $filename = "t/SKIPLIVE";
if ( $skiplive ) {
@@ -55,8 +35,6 @@ my $parms = {
},
my $tests = 't/*.t';
$tests .= ' t/live/*.t' unless $skiplive;
@@ -53,17 +32,17 @@
'test' => { TESTS => $tests },
};
-if ( prompt( "Do you want to install the mech-forms utility?", "y" ) =~ /^y/i ) {
$parms->{EXE_FILES} = [ 'script/mech-forms' ];
-}
-if ( prompt( "Do you want to install the mech-dump utility?", "y" ) =~ /^y/i ) {
+#if ( prompt( "Do you want to install the mech-dump utility?", "y" ) =~ /^y/i ) {
$parms->{EXE_FILES} = [ 'script/mech-dump' ];
$parms->{PREREQ_PM}->{'Getopt::Long'} = 0;
$parms->{PREREQ_PM}->{'Pod::Usage'} = 0;
WriteMakefile( %$parms );
- local @ARGV = FLAG_SKIPMECHDUMP;
+ local @ARGV = (@ARGV, FLAG_SKIPMECHDUMP);
rm_f();
-} else {
- local @ARGV = FLAG_SKIPMECHDUMP;
- touch();
-}
+#} else {
+# local @ARGV = FLAG_SKIPMECHDUMP;
+# touch();
+#}
eval { require IO::Socket::SSL };

View File

@ -1,8 +1,9 @@
bin/mech-forms
%%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW/Mechanize/.packlist
%%SITE_PERL%%/WWW/Mechanize/Examples.pod
bin/mech-dump
%%SITE_PERL%%/WWW/Mechanize.pm
@dirrm %%SITE_PERL%%/WWW/Mechanize
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW/Mechanize 2>/dev/null || true
%%SITE_PERL%%/WWW/Mechanize/Examples.pod
%%SITE_PERL%%/WWW/Mechanize/Link.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW/Mechanize/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW/Mechanize
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/WWW 2>/dev/null || true
@dirrm %%SITE_PERL%%/WWW/Mechanize
@unexec rmdir %D/%%SITE_PERL%%/WWW 2>/dev/null || true