aboutsummaryrefslogtreecommitdiff
path: root/net/p5-Net-GrowlClient/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/p5-Net-GrowlClient/Makefile')
-rw-r--r--net/p5-Net-GrowlClient/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/net/p5-Net-GrowlClient/Makefile b/net/p5-Net-GrowlClient/Makefile
index 1b85a762a39b..5a6acb014bc1 100644
--- a/net/p5-Net-GrowlClient/Makefile
+++ b/net/p5-Net-GrowlClient/Makefile
@@ -16,11 +16,15 @@ PKGNAMEPREFIX= p5-
MAINTAINER= markun@onohara.to
COMMENT= Perl implementation of Growl Network Notification Protocol
-BUILD_DEPENDS= p5-Digest-SHA>=0:${PORTSDIR}/security/p5-Digest-SHA
-RUN_DEPENDS= p5-Digest-SHA>=0:${PORTSDIR}/security/p5-Digest-SHA
-
PERL_CONFIGURE= yes
MAN3= Net::GrowlClient.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501000
+RUN_DEPENDS+= p5-Digest-SHA>=5.47:${PORTSDIR}/security/p5-Digest-SHA
+BUILD_DEPENDS+= p5-Digest-SHA>=5.47:${PORTSDIR}/security/p5-Digest-SHA
+.endif
+
+.include <bsd.port.post.mk>