aboutsummaryrefslogtreecommitdiffstats
path: root/net/p5-Net-FTP-File/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/p5-Net-FTP-File/Makefile')
-rw-r--r--net/p5-Net-FTP-File/Makefile15
1 files changed, 10 insertions, 5 deletions
diff --git a/net/p5-Net-FTP-File/Makefile b/net/p5-Net-FTP-File/Makefile
index 4ff9a9760c13..2eb4f4001a4d 100644
--- a/net/p5-Net-FTP-File/Makefile
+++ b/net/p5-Net-FTP-File/Makefile
@@ -7,18 +7,23 @@
PORTNAME= Net-FTP-File
PORTVERSION= 0.06
+PORTREVISION= 1
CATEGORIES= net perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
-MAINTAINER= perls@FreeBSD.org
+MAINTAINER= perl@FreeBSD.org
COMMENT= Perl extension for simplifying FTP file operations
-BUILD_DEPENDS= ${SITE_PERL}/Net/FTP.pm:${PORTSDIR}/net/p5-Net
-RUN_DEPENDS= ${BUILD_DEPENDS}
-
MAN3= Net::FTP::File.3
PERL_CONFIGURE= yes
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500703
+BUILD_DEPENDS+= p5-Net>=0:${PORTSDIR}/net/p5-Net
+RUN_DEPENDS+= p5-Net>=0:${PORTSDIR}/net/p5-Net
+.endif
+
+.include <bsd.port.post.mk>