aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/p5-Net-FTP-Common/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ftp/p5-Net-FTP-Common/Makefile')
-rw-r--r--ftp/p5-Net-FTP-Common/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/ftp/p5-Net-FTP-Common/Makefile b/ftp/p5-Net-FTP-Common/Makefile
index 8851a77008f1..8b325cc7c937 100644
--- a/ftp/p5-Net-FTP-Common/Makefile
+++ b/ftp/p5-Net-FTP-Common/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Net-FTP-Common
-PORTVERSION= 4.0
+PORTVERSION= 5.31
CATEGORIES= ftp perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ../../authors/id/T/TB/TBONE
@@ -22,7 +22,10 @@ PERL_CONFIGURE= yes
MAN3= Net::FTP::Common.3
-post-patch:
- ${RM} ${WRKSRC}/lib/Net/FTP/Common.pm.orig
+.include <bsd.port.pre.mk>
-.include <bsd.port.mk>
+.if ${PERL_LEVEL} < 500600 # inherited from security/p5-Authen-SASL
+IGNORE= requires at least Perl 5.6. Please install lang/perl5.8 and try again
+.endif
+
+.include <bsd.port.post.mk>