aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Data-Throttler-Memcached
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-Data-Throttler-Memcached
parentb4599e3d63c3a94b17026b18d1f8ac27faac53fc (diff)
downloadports-17e550ca2fd180b150f6645ced5f3bb45bc32292.tar.gz
ports-17e550ca2fd180b150f6645ced5f3bb45bc32292.zip
Notes
Diffstat (limited to 'devel/p5-Data-Throttler-Memcached')
-rw-r--r--devel/p5-Data-Throttler-Memcached/Makefile16
1 files changed, 11 insertions, 5 deletions
diff --git a/devel/p5-Data-Throttler-Memcached/Makefile b/devel/p5-Data-Throttler-Memcached/Makefile
index 8f1bf9756100..38be04475f3f 100644
--- a/devel/p5-Data-Throttler-Memcached/Makefile
+++ b/devel/p5-Data-Throttler-Memcached/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Data-Throttler-Memcached
PORTVERSION= 0.00003
+PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -15,15 +16,20 @@ MAINTAINER= markun@onohara.to
COMMENT= Memcached-Based Data::Throttler
BUILD_DEPENDS= p5-Cache-Memcached-Managed>=0:${PORTSDIR}/databases/p5-Cache-Memcached-Managed \
- p5-Data-Throttler>=0:${PORTSDIR}/devel/p5-Data-Throttler \
- p5-Digest-MD5>=0:${PORTSDIR}/security/p5-Digest-MD5
+ p5-Data-Throttler>=0:${PORTSDIR}/devel/p5-Data-Throttler
RUN_DEPENDS= p5-Cache-Memcached-Managed>=0:${PORTSDIR}/databases/p5-Cache-Memcached-Managed \
- p5-Data-Throttler>=0:${PORTSDIR}/devel/p5-Data-Throttler \
- p5-Digest-MD5>=0:${PORTSDIR}/security/p5-Digest-MD5
+ p5-Data-Throttler>=0:${PORTSDIR}/devel/p5-Data-Throttler
PERL_CONFIGURE= yes
MAN3= Data::Throttler::Memcached.3 \
Data::Throttler::BucketChain::Memcached.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>