aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2005-09-06 16:04:34 +0800
committererwin <erwin@FreeBSD.org>2005-09-06 16:04:34 +0800
commitf237f19145aa589d512e5abb68aade3c2628c152 (patch)
tree538d9df7cb03d8ac0a2a2dc99ab2aadcff462895
parent1ac99f1d33246c04300f1605f052ca6cdd6f34d8 (diff)
downloadfreebsd-ports-gnome-f237f19145aa589d512e5abb68aade3c2628c152.tar.gz
freebsd-ports-gnome-f237f19145aa589d512e5abb68aade3c2628c152.tar.zst
freebsd-ports-gnome-f237f19145aa589d512e5abb68aade3c2628c152.zip
Update to 0.13
-rw-r--r--www/p5-WWW-Babelfish/Makefile2
-rw-r--r--www/p5-WWW-Babelfish/distinfo4
-rw-r--r--www/p5-WWW-Babelfish/files/patch-Makefile.PL30
3 files changed, 33 insertions, 3 deletions
diff --git a/www/p5-WWW-Babelfish/Makefile b/www/p5-WWW-Babelfish/Makefile
index 640f0535ccb5..b47f18097c98 100644
--- a/www/p5-WWW-Babelfish/Makefile
+++ b/www/p5-WWW-Babelfish/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= WWW-Babelfish
-PORTVERSION= 0.12
+PORTVERSION= 0.13
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= WWW
diff --git a/www/p5-WWW-Babelfish/distinfo b/www/p5-WWW-Babelfish/distinfo
index 1b4860823706..b4d6ea80781c 100644
--- a/www/p5-WWW-Babelfish/distinfo
+++ b/www/p5-WWW-Babelfish/distinfo
@@ -1,2 +1,2 @@
-MD5 (WWW-Babelfish-0.12.tar.gz) = 6650c750a7148e57a14ead18ebfdca09
-SIZE (WWW-Babelfish-0.12.tar.gz) = 8454
+MD5 (WWW-Babelfish-0.13.tar.gz) = 75b694a1b2dd805f603aabcab07e0f8f
+SIZE (WWW-Babelfish-0.13.tar.gz) = 8904
diff --git a/www/p5-WWW-Babelfish/files/patch-Makefile.PL b/www/p5-WWW-Babelfish/files/patch-Makefile.PL
new file mode 100644
index 000000000000..ecda224d63f8
--- /dev/null
+++ b/www/p5-WWW-Babelfish/files/patch-Makefile.PL
@@ -0,0 +1,30 @@
+--- Makefile.PL.orig Tue Sep 6 10:02:11 2005
++++ Makefile.PL Tue Sep 6 10:02:27 2005
+@@ -1,27 +1,4 @@
+ use ExtUtils::MakeMaker;
+-use IO::Socket;
+-
+-# Check if we have internet connection
+-# (I lifted this code from Net::DNS)
+-my $s = IO::Socket::INET->new(
+- PeerAddr => "www.cpan.org:80",
+- Timeout => 10,
+-);
+-
+-if($s){
+- if (prompt("Since you're connected to the internet, do you want to run a translation test?", "n") =~ /^y/i) {
+- open(ENABLED, ">TTEST") || die "Can't touch ./t/online.enabled $!";
+- close(ENABLED);
+- }
+- else {
+- unlink("TTEST");
+- }
+-}
+-else{
+- print "You're not connected to the internet, so we'll skip the translation test.\n\n";
+- unlink("TTEST");
+-}
+-close($s);
+
+ # See lib/ExtUtils/MakeMaker.pm for details of how to influence
+ # the contents of the Makefile that is written.