aboutsummaryrefslogtreecommitdiff
path: root/multimedia/clive/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/clive/Makefile')
-rw-r--r--multimedia/clive/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/multimedia/clive/Makefile b/multimedia/clive/Makefile
index 84bfd22c034c..db5746ae4d3b 100644
--- a/multimedia/clive/Makefile
+++ b/multimedia/clive/Makefile
@@ -13,8 +13,7 @@ MASTER_SITES= GOOGLE_CODE
MAINTAINER= geekounet@poildetroll.net
COMMENT= Command line video extraction tool for YouTube and others
-RUN_DEPENDS= p5-Digest-SHA>=5.47:${PORTSDIR}/security/p5-Digest-SHA \
- p5-HTML-Parser>=3.59:${PORTSDIR}/www/p5-HTML-Parser \
+RUN_DEPENDS= p5-HTML-Parser>=3.59:${PORTSDIR}/www/p5-HTML-Parser \
p5-WWW-Curl>=4.05:${PORTSDIR}/www/p5-WWW-Curl \
p5-Class-Singleton>=1.4:${PORTSDIR}/devel/p5-Class-Singleton \
p5-Getopt-ArgvFile>=1.11:${PORTSDIR}/devel/p5-Getopt-ArgvFile \
@@ -36,6 +35,10 @@ USE_BZIP2= yes
.include <bsd.port.pre.mk>
+.if ${PERL_LEVEL} < 501000
+RUN_DEPENDS+= p5-Digest-SHA>=5.47:${PORTSDIR}/security/p5-Digest-SHA
+.endif
+
.if defined(WITH_CACHE)
RUN_DEPENDS+= p5-BerkeleyDB>=0.36:${PORTSDIR}/databases/p5-BerkeleyDB
.endif