aboutsummaryrefslogtreecommitdiff
path: root/security/p5-Digest
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2008-09-03 15:20:16 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2008-09-03 15:20:16 +0000
commit4a00d7bd529bb85655cb97c64623566f92f734c2 (patch)
treef2dc7ca38072076eb556fc80cdb6d7c4ff53b89e /security/p5-Digest
parentc7cf12c6cf01a77572eefd3f78858c1192dcb450 (diff)
downloadports-4a00d7bd529bb85655cb97c64623566f92f734c2.tar.gz
ports-4a00d7bd529bb85655cb97c64623566f92f734c2.zip
Notes
Diffstat (limited to 'security/p5-Digest')
-rw-r--r--security/p5-Digest/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/security/p5-Digest/Makefile b/security/p5-Digest/Makefile
index 03f721e935ef..fa3a3bd0aa57 100644
--- a/security/p5-Digest/Makefile
+++ b/security/p5-Digest/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Digest
PORTVERSION= 1.15
+PORTREVISION= 1
CATEGORIES= security perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -14,11 +15,14 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Modules that calculate message digests
-BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
-RUN_DEPENDS= ${BUILD_DEPENDS}
-
PERL_CONFIGURE= yes
MAN3= Digest.3 Digest::base.3 Digest::file.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500703
+RUN_DEPENDS+= p5-MIME-Base64>=0:${PORTSDIR}/converters/p5-MIME-Base64
+.endif
+
+.include <bsd.port.post.mk>