freebsd-ports/audio/p5-CDDB-File/Makefile
Edwin Groothuis 0d7fc5659e 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>
2003-05-09 01:14:36 +00:00

30 lines
604 B
Makefile

# ex:ts=8
# Ports collection makefile for: CDDB-File
# Date created: Jun 26, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= CDDB-File
PORTVERSION= 1.03
CATEGORIES= audio perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= CDDB
PKGNAMEPREFIX= p5-
MAINTAINER= ports@FreeBSD.org
COMMENT= Parse a CDDB/freedb data file
PERL_CONFIGURE= yes
MAN3= CDDB::File.3
.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>