aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-File-HStore
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-File-HStore
parentb4599e3d63c3a94b17026b18d1f8ac27faac53fc (diff)
Notes
Diffstat (limited to 'devel/p5-File-HStore')
-rw-r--r--devel/p5-File-HStore/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/devel/p5-File-HStore/Makefile b/devel/p5-File-HStore/Makefile
index acdc030a666f..96ee3c8517d5 100644
--- a/devel/p5-File-HStore/Makefile
+++ b/devel/p5-File-HStore/Makefile
@@ -7,6 +7,7 @@
PORTNAME= File-HStore
PORTVERSION= 0.10
+PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -14,10 +15,15 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Store files on a filesystem using a very simple hash-based storage
-RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Digest/SHA.pm:${PORTSDIR}/security/p5-Digest-SHA
-
PERL_CONFIGURE= yes
MAN3= File::HStore.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>