Test::CheckDeps adds a test that assures all dependencies have been

installed properly. If requested, it can bail out all testing on error.

WWW: http://search.cpan.org/dist/Test-CheckDeps/
This commit is contained in:
Frederic Culot 2012-07-07 07:05:03 +00:00
parent 55449884dd
commit b3411921b6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=300583
5 changed files with 52 additions and 0 deletions

View file

@ -2548,6 +2548,7 @@
SUBDIR += p5-Test-BinaryData
SUBDIR += p5-Test-Block
SUBDIR += p5-Test-CPAN-Meta-YAML
SUBDIR += p5-Test-CheckDeps
SUBDIR += p5-Test-CheckManifest
SUBDIR += p5-Test-Class
SUBDIR += p5-Test-Class-Most

View file

@ -0,0 +1,40 @@
# New ports collection makefile for: devel/p5-Test-CheckDeps
# Date created: 2012-07-06
# Whom: Frederic Culot <culot@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Test-CheckDeps
PORTVERSION= 0.002
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= culot@FreeBSD.org
COMMENT= Check for presence of dependencies
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
BUILD_DEPENDS= p5-CPAN-Meta-Check>0:${PORTSDIR}/devel/p5-CPAN-Meta-Check
RUN_DEPENDS:= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN3= Test::CheckDeps.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 501001
TEST_DEPENDS+= p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple
.endif
.if ${PERL_LEVEL} < 501400
BUILD_DEPENDS+= p5-CPAN-Meta>0:${PORTSDIR}/devel/p5-CPAN-Meta \
p5-Module-Metadata>0:${PORTSDIR}/devel/p5-Module-Metadata
RUN_DEPENDS+= p5-CPAN-Meta>0:${PORTSDIR}/devel/p5-CPAN-Meta \
p5-Module-Metadata>0:${PORTSDIR}/devel/p5-Module-Metadata
.endif
.include <bsd.port.post.mk>

View file

@ -0,0 +1,2 @@
SHA256 (Test-CheckDeps-0.002.tar.gz) = 2696298bbf0720af39ea3b82db583ec280db0dcb2c9b85574a85aaf8744fb53a
SIZE (Test-CheckDeps-0.002.tar.gz) = 10964

View file

@ -0,0 +1,4 @@
Test::CheckDeps adds a test that assures all dependencies have been
installed properly. If requested, it can bail out all testing on error.
WWW: http://search.cpan.org/dist/Test-CheckDeps/

View file

@ -0,0 +1,5 @@
%%SITE_PERL%%/Test/CheckDeps.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/CheckDeps/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/CheckDeps
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Test
@dirrmtry %%SITE_PERL%%/Test