aboutsummaryrefslogtreecommitdiffstats
path: root/mail/p5-Mail-IMAPClient
diff options
context:
space:
mode:
Diffstat (limited to 'mail/p5-Mail-IMAPClient')
-rw-r--r--mail/p5-Mail-IMAPClient/Makefile4
-rw-r--r--mail/p5-Mail-IMAPClient/distinfo2
-rw-r--r--mail/p5-Mail-IMAPClient/files/patch-Makefile.PL47
3 files changed, 50 insertions, 3 deletions
diff --git a/mail/p5-Mail-IMAPClient/Makefile b/mail/p5-Mail-IMAPClient/Makefile
index 7e72774efc6b..33b53906aa72 100644
--- a/mail/p5-Mail-IMAPClient/Makefile
+++ b/mail/p5-Mail-IMAPClient/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Mail-IMAPClient
-PORTVERSION= 2.1.0
+PORTVERSION= 2.1.2
CATEGORIES= mail perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Mail
@@ -18,7 +18,7 @@ PERL_CONFIGURE= yes
INSTALL_TARGET= pure_site_install
-MAN3= Mail::IMAPClient.3
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+MAN3= Mail::IMAPClient.3
.include <bsd.port.mk>
diff --git a/mail/p5-Mail-IMAPClient/distinfo b/mail/p5-Mail-IMAPClient/distinfo
index c843510bb309..813422c1a0a3 100644
--- a/mail/p5-Mail-IMAPClient/distinfo
+++ b/mail/p5-Mail-IMAPClient/distinfo
@@ -1 +1 @@
-MD5 (Mail-IMAPClient-2.1.0.tar.gz) = 9547de493cc563246c4ad7d0421c3eb9
+MD5 (Mail-IMAPClient-2.1.2.tar.gz) = 7dde6a85b2f9ce24955aacfa20b86917
diff --git a/mail/p5-Mail-IMAPClient/files/patch-Makefile.PL b/mail/p5-Mail-IMAPClient/files/patch-Makefile.PL
new file mode 100644
index 000000000000..7a1444572136
--- /dev/null
+++ b/mail/p5-Mail-IMAPClient/files/patch-Makefile.PL
@@ -0,0 +1,47 @@
+--- Makefile.PL.orig Thu May 10 01:43:18 2001
++++ Makefile.PL Thu May 10 01:43:42 2001
+@@ -7,44 +7,3 @@
+ 'clean' => { FILES => 'test.txt' }
+
+ );
+-
+-&set_test_data;
+-
+-sub set_test_data {
+- unless (-f "./IMAPClient.pm") { warn "ERROR: not in installation directory\n"; return }
+- return if -f "./test.txt";
+- print "You have the option of running an extended suite of tests during\n",
+- "'make test'. This requires an IMAP server name, user account, and ",
+- "password to test with.","\n","\n",
+- "Do you want to run the extended tests? (n/y) ==> ";
+- my $yes = <STDIN>;
+- return unless $yes =~ /^[Yy](?:[Ee]:[Ss]?)?$/ ;
+- unless (open TST,">./test.txt") { warn "ERROR: couldn't open ./test.txt: $!\n"; return }
+- print "\nPlease provide the hostname of a host running an IMAP server \n",
+- "(or QUIT to skip the extended tests) ==> ";
+- my $server = <STDIN>;
+- chomp $server;
+- return if $server =~ /^\s+$|^quit$/i ;
+- print TST "server=$server\n";
+- print "\nPlease provide the username of an account\non $server (or QUIT) ==> ";
+- my $user = <STDIN>;
+- chomp $user;
+- return if $user =~ /^\s+$|^quit$/i ;
+- print TST "user=$user\n";
+- print "\nPlease provide the password for $user\n(or QUIT) ==> ";
+- my $passed = <STDIN>;
+- chomp $passed;
+- return if $passed =~ /^\s+$|^quit$/i ;
+- print TST "passed=$passed\n";
+- print "\nPlease provide the port to connect to on $server to run the test \n",
+- "(default is 143) ==> ";
+- my $port = <STDIN>;
+- chomp $port;
+- $port ||= 143;
+- print TST "port=$port\n";
+- close TST;
+- print "\nGracias! The information you provided (including the \n",
+- " password!) has been stored in ",cwd,"/test.txt and should be\n",
+- " removed (either by hand or by 'make clean') after testing.\n";
+-}
+-