aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Devel-Cover
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2003-10-10 14:26:05 +0000
committerMathieu Arnold <mat@FreeBSD.org>2003-10-10 14:26:05 +0000
commit9aa089e7dbe3a24b374a714c585c209c73c9a3ef (patch)
tree2f033037d9d216c78cf76564bf346b82c8444c6c /devel/p5-Devel-Cover
parent971e2931c269e0e8d68d419552f2c25e8da29384 (diff)
downloadports-9aa089e7dbe3a24b374a714c585c209c73c9a3ef.tar.gz
ports-9aa089e7dbe3a24b374a714c585c209c73c9a3ef.zip
Notes
Diffstat (limited to 'devel/p5-Devel-Cover')
-rw-r--r--devel/p5-Devel-Cover/Makefile53
-rw-r--r--devel/p5-Devel-Cover/distinfo1
-rw-r--r--devel/p5-Devel-Cover/pkg-descr20
-rw-r--r--devel/p5-Devel-Cover/pkg-plist35
4 files changed, 109 insertions, 0 deletions
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