aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-IO-Toolkit
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2010-09-21 16:08:11 +0000
committerMartin Matuska <mm@FreeBSD.org>2010-09-21 16:08:11 +0000
commit17e550ca2fd180b150f6645ced5f3bb45bc32292 (patch)
treee856fa025c5b15bbef21f621e347c51780662a47 /devel/p5-IO-Toolkit
parentb4599e3d63c3a94b17026b18d1f8ac27faac53fc (diff)
Notes
Diffstat (limited to 'devel/p5-IO-Toolkit')
-rw-r--r--devel/p5-IO-Toolkit/Makefile15
1 files changed, 11 insertions, 4 deletions
diff --git a/devel/p5-IO-Toolkit/Makefile b/devel/p5-IO-Toolkit/Makefile
index f580a062e079..834fffc98ac8 100644
--- a/devel/p5-IO-Toolkit/Makefile
+++ b/devel/p5-IO-Toolkit/Makefile
@@ -7,6 +7,7 @@
PORTNAME= IO-Toolkit
PORTVERSION= 1.008
+PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -14,12 +15,18 @@ PKGNAMEPREFIX= p5-
MAINTAINER= ychsiao@ychsiao.org
COMMENT= IO::Toolkit - Perl extension to create logfiles
-BUILD_DEPENDS= p5-Crypt-RC6>=0:${PORTSDIR}/security/p5-Crypt-RC6 \
- p5-Digest-MD5>=0:${PORTSDIR}/security/p5-Digest-MD5
-RUN_DEPENDS= ${BUILD_DEPENDS}
+BUILD_DEPENDS= p5-Crypt-RC6>=0:${PORTSDIR}/security/p5-Crypt-RC6
+RUN_DEPENDS= p5-Crypt-RC6>=0:${PORTSDIR}/security/p5-Crypt-RC6
PERL_CONFIGURE= 5.8.0+
MAN3= IO::Toolkit.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500703
+RUN_DEPENDS+= p5-Digest-MD5>=2.16:${PORTSDIR}/security/p5-Digest-MD5
+BUILD_DEPENDS+= p5-Digest-MD5>=2.16:${PORTSDIR}/security/p5-Digest-MD5
+.endif
+
+.include <bsd.port.post.mk>