diff options
author | mat <mat@FreeBSD.org> | 2003-10-10 22:26:05 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2003-10-10 22:26:05 +0800 |
commit | e620cfb9b099ff7d7f330bb1b0ce5895b929845e (patch) | |
tree | 0c6fcd3b8eb7ebe3c0e65c673b081b9df1fdf11f /devel | |
parent | 13e490d6d6a2f20ad4b98923316dab8849838067 (diff) | |
download | freebsd-ports-gnome-e620cfb9b099ff7d7f330bb1b0ce5895b929845e.tar.gz freebsd-ports-gnome-e620cfb9b099ff7d7f330bb1b0ce5895b929845e.tar.zst freebsd-ports-gnome-e620cfb9b099ff7d7f330bb1b0ce5895b929845e.zip |
Add p5-Devel-Cover 0.24, code coverage metrics for Perl.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-Devel-Cover/Makefile | 53 | ||||
-rw-r--r-- | devel/p5-Devel-Cover/distinfo | 1 | ||||
-rw-r--r-- | devel/p5-Devel-Cover/pkg-descr | 20 | ||||
-rw-r--r-- | devel/p5-Devel-Cover/pkg-plist | 35 |
5 files changed, 110 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 21f09bdf1fa6..71f2de240a89 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -608,6 +608,7 @@ SUBDIR += p5-DateTime-TimeZone SUBDIR += p5-DateTime-TimeZone-Alias SUBDIR += p5-Devel-Constants + SUBDIR += p5-Devel-Cover SUBDIR += p5-Devel-DProf SUBDIR += p5-Devel-Leak SUBDIR += p5-Devel-Modlist diff --git a/devel/p5-Devel-Cover/Makefile b/devel/p5-Devel-Cover/Makefile new file mode 100644 index 000000000000..1a29b79a7ee5 --- /dev/null +++ b/devel/p5-Devel-Cover/Makefile @@ -0,0 +1,53 @@ +# New ports collection makefile for: Devel-Cover +# Date created: 10 October 2003 +# Whom: mat +# +# $FreeBSD$ +# + +PORTNAME= Devel-Cover +PORTVERSION= 0.24 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Devel +PKGNAMEPREFIX= p5- + +MAINTAINER= mat@FreeBSD.org +COMMENT= Code coverage metrics for Perl + +BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Template.pm:${PORTSDIR}/www/p5-Template-Toolkit \ + ${SITE_PERL}/${PERL_ARCH}/Pod/Coverage.pm:${PORTSDIR}/devel/p5-Pod-Coverage +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= Devel::Cover.3 \ + Devel::Cover::Branch.3 \ + Devel::Cover::Condition.3 \ + Devel::Cover::Condition_and_3.3 \ + Devel::Cover::Condition_or_2.3 \ + Devel::Cover::Condition_or_3.3 \ + Devel::Cover::Condition_xor_4.3 \ + Devel::Cover::Criterion.3 \ + Devel::Cover::DB.3 \ + Devel::Cover::DB::File.3 \ + Devel::Cover::Pod.3 \ + Devel::Cover::Report::Html.3 \ + Devel::Cover::Report::Html_basic.3 \ + Devel::Cover::Report::Html_subtle.3 \ + Devel::Cover::Report::Text.3 \ + Devel::Cover::Report::Text2.3 \ + Devel::Cover::Statement.3 \ + Devel::Cover::Subroutine.3 \ + Devel::Cover::Time.3 \ + Devel::Cover::Truth_Table.3 \ + Devel::Cover::Tutorial.3 +MAN1= cover.1 gcov2perl.1 + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500601 +IGNORE= Needs 5.6.1 or better +.endif + +.include <bsd.port.post.mk> diff --git a/devel/p5-Devel-Cover/distinfo b/devel/p5-Devel-Cover/distinfo new file mode 100644 index 000000000000..6ad96b946a43 --- /dev/null +++ b/devel/p5-Devel-Cover/distinfo @@ -0,0 +1 @@ +MD5 (Devel-Cover-0.24.tar.gz) = 3b7c0ef7022c178156917e6f7d196a4c diff --git a/devel/p5-Devel-Cover/pkg-descr b/devel/p5-Devel-Cover/pkg-descr new file mode 100644 index 000000000000..1b94a7452330 --- /dev/null +++ b/devel/p5-Devel-Cover/pkg-descr @@ -0,0 +1,20 @@ +This module provides code coverage metrics for Perl. + +If you can't guess by the version number this is an alpha release. + +Code coverage data are collected using a pluggable runops function which counts +how many times each op is executed. These data are then mapped back to reality +using the B compiler modules. There is also a statement profiling facility +which needs a better backend to be really useful. + +The cover program can be used to generate coverage reports. + +Statement, branch, condition, subroutine, pod and time coverage information is +reported. Statement coverage data should be reasonable, although there may be +some statements which are not reported. Branch and condition coverage data +should be mostly accurate too, although not always what one might initially +expect. Subroutine coverage should be as accurate as statement coverage. Pod +coverage comes from Pod::Coverage. Coverage data for path coverage are not yet +collected. + +WWW: http://search.cpan.org/dist/Devel-Cover/ diff --git a/devel/p5-Devel-Cover/pkg-plist b/devel/p5-Devel-Cover/pkg-plist new file mode 100644 index 000000000000..7bb7f6297be8 --- /dev/null +++ b/devel/p5-Devel-Cover/pkg-plist @@ -0,0 +1,35 @@ +bin/cover +bin/gcov2perl +%%SITE_PERL%%/%%PERL_ARCH%%/Devel/Cover.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Devel/Cover/Branch.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Devel/Cover/Condition.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Devel/Cover/Condition_and_3.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Devel/Cover/Condition_or_2.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Devel/Cover/Condition_or_3.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Devel/Cover/Condition_xor_4.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Devel/Cover/Criterion.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Devel/Cover/DB.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Devel/Cover/DB/File.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Devel/Cover/Inc.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Devel/Cover/Op.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Devel/Cover/Pod.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Devel/Cover/Report/Html.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Devel/Cover/Report/Html_basic.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Devel/Cover/Report/Html_subtle.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Devel/Cover/Report/Text.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Devel/Cover/Report/Text2.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Devel/Cover/Statement.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Devel/Cover/Subroutine.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Devel/Cover/Test.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Devel/Cover/Time.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Devel/Cover/Truth_Table.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Devel/Cover/Tutorial.pod +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel/Cover/.packlist +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel/Cover/Cover.bs +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel/Cover/Cover.so +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel/Cover +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel 2>/dev/null || true +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Devel/Cover/Report +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Devel/Cover/DB +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Devel/Cover +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Devel 2>/dev/null || true |