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>
This commit is contained in:
Edwin Groothuis 2003-05-09 01:14:36 +00:00
parent ae2e7f3d70
commit 0d7fc5659e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=80497

View File

@ -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>