diff options
author | skv <skv@FreeBSD.org> | 2005-09-30 23:00:59 +0800 |
---|---|---|
committer | skv <skv@FreeBSD.org> | 2005-09-30 23:00:59 +0800 |
commit | 42c91f41e04dbb7bcfa41fd54a16b4b9acc9d86d (patch) | |
tree | ea5ada6ab5581304aebef8d48c42df24efcfbe52 /devel/p5-ExtUtils-MakeMaker-Coverage | |
parent | e3615ecb85d3b7bd87089aad65bcd8bb6b30d713 (diff) | |
download | freebsd-ports-gnome-42c91f41e04dbb7bcfa41fd54a16b4b9acc9d86d.tar.gz freebsd-ports-gnome-42c91f41e04dbb7bcfa41fd54a16b4b9acc9d86d.tar.zst freebsd-ports-gnome-42c91f41e04dbb7bcfa41fd54a16b4b9acc9d86d.zip |
Add p5-ExtUtils-MakeMaker-Coverage 0.05, add a Makefile target to
determine test coverage using Devel::Cover.
Diffstat (limited to 'devel/p5-ExtUtils-MakeMaker-Coverage')
-rw-r--r-- | devel/p5-ExtUtils-MakeMaker-Coverage/Makefile | 33 | ||||
-rw-r--r-- | devel/p5-ExtUtils-MakeMaker-Coverage/distinfo | 2 | ||||
-rw-r--r-- | devel/p5-ExtUtils-MakeMaker-Coverage/pkg-descr | 14 | ||||
-rw-r--r-- | devel/p5-ExtUtils-MakeMaker-Coverage/pkg-plist | 8 |
4 files changed, 57 insertions, 0 deletions
diff --git a/devel/p5-ExtUtils-MakeMaker-Coverage/Makefile b/devel/p5-ExtUtils-MakeMaker-Coverage/Makefile new file mode 100644 index 000000000000..81bed76937c9 --- /dev/null +++ b/devel/p5-ExtUtils-MakeMaker-Coverage/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: ExtUtils-MakeMaker-Coverage +# Date created: 30 September 2005 +# Whom: Sergey Skvortsov <skv@protey.ru> +# +# $FreeBSD$ +# + +PORTNAME= ExtUtils-MakeMaker-Coverage +PORTVERSION= 0.05 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= ExtUtils +PKGNAMEPREFIX= p5- + +MAINTAINER= skv@FreeBSD.org +COMMENT= Add a Makefile target to determine test coverage using Devel::Cover + +BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Devel/Cover.pm:${PORTSDIR}/devel/p5-Devel-Cover \ + ${SITE_PERL}/Object/Accessor.pm:${PORTSDIR}/devel/p5-Object-Accessor \ + ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= ExtUtils::MakeMaker::Coverage.3 + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +IGNORE= Perl 5.6 or newer required. Install lang/perl5.8 and try again. +.endif + +.include <bsd.port.post.mk> diff --git a/devel/p5-ExtUtils-MakeMaker-Coverage/distinfo b/devel/p5-ExtUtils-MakeMaker-Coverage/distinfo new file mode 100644 index 000000000000..abf32a908688 --- /dev/null +++ b/devel/p5-ExtUtils-MakeMaker-Coverage/distinfo @@ -0,0 +1,2 @@ +MD5 (ExtUtils-MakeMaker-Coverage-0.05.tar.gz) = c48557fe6e6c92e2d36e2eda9ae7e746 +SIZE (ExtUtils-MakeMaker-Coverage-0.05.tar.gz) = 6439 diff --git a/devel/p5-ExtUtils-MakeMaker-Coverage/pkg-descr b/devel/p5-ExtUtils-MakeMaker-Coverage/pkg-descr new file mode 100644 index 000000000000..c634ce920fe1 --- /dev/null +++ b/devel/p5-ExtUtils-MakeMaker-Coverage/pkg-descr @@ -0,0 +1,14 @@ +ExtUtils::MakeMaker::Coverage adds a Makefile target to determine +test coverage using Devel::Cover: + + # In Makefile.PL + use ExtUtils::MakeMaker; + use ExtUtils::MakeMaker::Coverage; + ... + # if you already have a MY::postamble... + sub MY::postamble { + testcover(); + ... + } + +WWW: http://search.cpan.org/dist/ExtUtils-MakeMaker-Coverage/ diff --git a/devel/p5-ExtUtils-MakeMaker-Coverage/pkg-plist b/devel/p5-ExtUtils-MakeMaker-Coverage/pkg-plist new file mode 100644 index 000000000000..0010977df239 --- /dev/null +++ b/devel/p5-ExtUtils-MakeMaker-Coverage/pkg-plist @@ -0,0 +1,8 @@ +bin/testcover +%%SITE_PERL%%/%%PERL_ARCH%%/auto/ExtUtils/MakeMaker/Coverage/.packlist +%%SITE_PERL%%/ExtUtils/MakeMaker/Coverage.pm +@unexec rmdir %D/%%SITE_PERL%%/ExtUtils/MakeMaker 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/ExtUtils 2>/dev/null || true +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/ExtUtils/MakeMaker/Coverage +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/ExtUtils/MakeMaker 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/ExtUtils 2>/dev/null || true |