aboutsummaryrefslogtreecommitdiff
path: root/security/smtpscan
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2004-12-15 08:45:39 +0000
committerVolker Stolz <vs@FreeBSD.org>2004-12-15 08:45:39 +0000
commita32d3e23e29f53fabbf0fce2f1182b1234e77992 (patch)
tree85537611f92e41a451c6ab5bf59f476de68c78df /security/smtpscan
parent0ede75f1dd2526e7cb7f062498d5c8186917392b (diff)
downloadports-a32d3e23e29f53fabbf0fce2f1182b1234e77992.tar.gz
ports-a32d3e23e29f53fabbf0fce2f1182b1234e77992.zip
Notes
Diffstat (limited to 'security/smtpscan')
-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>