# Created by: Jin-Shan Tseng <tjs@cdpa.nsysu.edu.tw>
# $FreeBSD$

PORTNAME=	Test-Dependencies
PORTVERSION=	0.30
CATEGORIES=	devel perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	Ensure that your Makefile.PL specifies all module dependencies

LICENSE=	ART10 GPLv1+
LICENSE_COMB=	dual

BUILD_DEPENDS=	${RUN_DEPENDS}
RUN_DEPENDS=	p5-File-Find-Rule-Perl>=0:devel/p5-File-Find-Rule-Perl \
		p5-IPC-Cmd>=0:devel/p5-IPC-Cmd \
		p5-Pod-Strip>=0:textproc/p5-Pod-Strip \
		p5-YAML>=0:textproc/p5-YAML
TEST_DEPENDS=	p5-Test-Needs>=0:devel/p5-Test-Needs

USES=		perl5
USE_PERL5=	configure

NO_ARCH=	yes

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} <= 503200
BUILD_DEPENDS+=	p5-Module-CoreList>=5.20200620:devel/p5-Module-CoreList
RUN_DEPENDS+=	p5-Module-CoreList>=5.20200620:devel/p5-Module-CoreList
.endif

.include <bsd.port.post.mk>
