aboutsummaryrefslogtreecommitdiff
path: root/security/p5-Crypt-HCE_SHA
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-05-09 01:22:07 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-05-09 01:22:07 +0000
commit69b4bc59a1ef45a8ff38d172cffe431f41ec521b (patch)
tree862dfb4ac40313575d6f1ca69cd0d9e23171eedc /security/p5-Crypt-HCE_SHA
parent220c1294da164a17be7c70309bb4b4b0c2334c85 (diff)
downloadports-69b4bc59a1ef45a8ff38d172cffe431f41ec521b.tar.gz
ports-69b4bc59a1ef45a8ff38d172cffe431f41ec521b.zip
Notes
Diffstat (limited to 'security/p5-Crypt-HCE_SHA')
-rw-r--r--security/p5-Crypt-HCE_SHA/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/security/p5-Crypt-HCE_SHA/Makefile b/security/p5-Crypt-HCE_SHA/Makefile
index 7e7e31757ded..d77e4411f295 100644
--- a/security/p5-Crypt-HCE_SHA/Makefile
+++ b/security/p5-Crypt-HCE_SHA/Makefile
@@ -15,13 +15,18 @@ PKGNAMEPREFIX= p5-
MAINTAINER= ports@FreeBSD.org
COMMENT= Perl5 interface to one way hash chaining block cipher
-BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 \
- ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1
+BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Crypt::HCE_SHA.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+BUILD_DEPENDS+= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
+RUN_DEPENDS+= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
+.endif
+
+.include <bsd.port.post.mk>