aboutsummaryrefslogtreecommitdiff
path: root/multimedia/clive/Makefile
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 /multimedia/clive/Makefile
parentb4599e3d63c3a94b17026b18d1f8ac27faac53fc (diff)
downloadports-17e550ca2fd180b150f6645ced5f3bb45bc32292.tar.gz
ports-17e550ca2fd180b150f6645ced5f3bb45bc32292.zip
Explicitly depend on p5-Digest-MD5 only if PERL_LEVEL < 500703
Explicitly depend on p5-Digest-SHA only if PERL_LEVEL < 501000
Notes
Notes: svn path=/head/; revision=261560
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