summaryrefslogtreecommitdiff
path: root/security/p5-Crypt-CBC
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-CBC
parentconditionalize dependencies on modules included in perl 5.8 (diff)
conditionalize dependencies on modules included in perl 5.8
Make dependencies on modules included in the perl 5.8 distribution conditional on the perl version installed. While I'm here, remove SITE_PERL and MAN(3)PREFIX. PR: ports/50589 Submitted by: Erwin Lansing <erwin@lansing.dk>
Notes
Notes: svn path=/head/; revision=80500
Diffstat (limited to 'security/p5-Crypt-CBC')
-rw-r--r--security/p5-Crypt-CBC/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/security/p5-Crypt-CBC/Makefile b/security/p5-Crypt-CBC/Makefile
index 89b660d66c90..1b90eca61278 100644
--- a/security/p5-Crypt-CBC/Makefile
+++ b/security/p5-Crypt-CBC/Makefile
@@ -15,12 +15,14 @@ PKGNAMEPREFIX= p5-
MAINTAINER= ports@FreeBSD.org
COMMENT= Perl5 interface to Cipher Block Chaining with DES and IDEA
-RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5
-
PERL_CONFIGURE= yes
MAN3= Crypt::CBC.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5
+.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>