1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

Only depend on p5-IO for perl <5.6 (bump PORTREV)

PR:		ports/72292
Submitted by:	Jin-Shan Tseng
Approved by:	maintainer
This commit is contained in:
Volker Stolz 2004-12-15 08:45:39 +00:00
parent 0ede75f1dd
commit a32d3e23e2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=124083

View File

@ -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>