aboutsummaryrefslogtreecommitdiff
path: root/audio/p5-CDDB-File
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-05-09 01:14:36 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-05-09 01:14:36 +0000
commit0d7fc5659e067ef6b9b4622f3ce4afe3b65b33d7 (patch)
tree0e4368d68187bb583a5e85272d319027dcea027b /audio/p5-CDDB-File
parentae2e7f3d70a1d2229ffdf16334c8970ca594fd15 (diff)
downloadports-0d7fc5659e067ef6b9b4622f3ce4afe3b65b33d7.tar.gz
ports-0d7fc5659e067ef6b9b4622f3ce4afe3b65b33d7.zip
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. ports/audio only PR: ports/50589 Submitted by: Erwin Lansing <erwin@lansing.dk>
Notes
Notes: svn path=/head/; revision=80497
Diffstat (limited to 'audio/p5-CDDB-File')
-rw-r--r--audio/p5-CDDB-File/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/audio/p5-CDDB-File/Makefile b/audio/p5-CDDB-File/Makefile
index b415423f5bed..4649eb0d7066 100644
--- a/audio/p5-CDDB-File/Makefile
+++ b/audio/p5-CDDB-File/Makefile
@@ -16,12 +16,15 @@ PKGNAMEPREFIX= p5-
MAINTAINER= ports@FreeBSD.org
COMMENT= Parse a CDDB/freedb data file
-BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
-RUN_DEPENDS= ${BUILD_DEPENDS}
-
PERL_CONFIGURE= yes
MAN3= CDDB::File.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
+RUN_DEPENDS= ${BUILD_DEPENDS}
+.endif
+
+.include <bsd.port.post.mk>