summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/smtpscan/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/security/smtpscan/Makefile b/security/smtpscan/Makefile
index 268eb261c1c3..0379d6494fe1 100644
--- a/security/smtpscan/Makefile
+++ b/security/smtpscan/Makefile
@@ -7,6 +7,7 @@
PORTNAME= smtpscan
PORTVERSION= 0.5
+PORTREVISION= 1
CATEGORIES= security mail perl5
MASTER_SITES= http://www.greyhats.org/outils/smtpscan/
@@ -14,7 +15,6 @@ MAINTAINER= hubert@frbsd.org
COMMENT= A remote SMTP server version detector
RUN_DEPENDS= ${SITE_PERL}/Getopt/Long.pm:${PORTSDIR}/devel/p5-Getopt-Long \
- ${SITE_PERL}/${PERL_ARCH}/IO.pm:${PORTSDIR}/devel/p5-IO \
${SITE_PERL}/${PERL_ARCH}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS
USE_PERL5= yes
@@ -24,4 +24,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
pre-build:
${CP} ${FILESDIR}/Makefile ${WRKSRC}/Makefile
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.if ${PERL_LEVEL} < 500600
+ RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/IO.pm:${PORTSDIR}/devel/p5-IO
+.endif
+.include <bsd.port.post.mk>