Update to 1.18.

This module actually has no hard dependencies. All the dependencies are
optional modules to enable optional features, so mark them as such by
using OPTIONS and enabling most of them by default.

Also, sort plist.

Changes: https://metacpan.org/changes/distribution/Devel-Cover
This commit is contained in:
Adam Weinberger 2015-04-07 15:58:29 +00:00
parent 8de25d922c
commit 01c648d5a5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=383517
3 changed files with 66 additions and 57 deletions

View file

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= Devel-Cover
PORTVERSION= 1.17
PORTREVISION= 1
PORTVERSION= 1.18
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@ -14,24 +13,34 @@ COMMENT= Code coverage metrics for Perl
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
BUILD_DEPENDS= p5-PPI-HTML>=1.07:${PORTSDIR}/textproc/p5-PPI-HTML \
p5-Parallel-Iterator>=0:${PORTSDIR}/devel/p5-Parallel-Iterator \
p5-Pod-Coverage>=0.06:${PORTSDIR}/devel/p5-Pod-Coverage \
p5-Template-Toolkit>=2:${PORTSDIR}/www/p5-Template-Toolkit
RUN_DEPENDS:= ${BUILD_DEPENDS}
TEST_DEPENDS= p5-Test-Differences>=0:${PORTSDIR}/devel/p5-Test-Differences \
p5-Test-Warn>=0:${PORTSDIR}/devel/p5-Test-Warn
USES= perl5
USE_PERL5= configure
PORTDOCS= README
OPTIONS_DEFINE= CPANCOVER HTML_REPORTS POD_COVERAGE SYNTAX_HIGHLIGHTING
OPTIONS_DEFAULT=CPANCOVER HTML_REPORTS POD_COVERAGE
OPTIONS_SUB= yes
OPTIONS_DEFINE= DOCS
CPANCOVER_DESC= Coverage statistics on CPAN modules
CPANCOVER_BUILD_DEPENDS= p5-Parallel-Iterator>=0:${PORTSDIR}/devel/p5-Parallel-Iterator \
p5-Template-Toolkit>=2:${PORTSDIR}/www/p5-Template-Toolkit
CPANCOVER_RUN_DEPENDS= ${CPANCOVER_BUILD_DEPENDS}
HTML_REPORTS= Build HTML reports with p5-HTML-Parser
HTML_REPORTS_BUILD_DEPENDS= p5-HTML-Parser>=0:${PORTSDIR}/www/p5-HTML-Parser
HTML_REPORTS_RUN_DEPENDS= ${HTML_REPORTS_BUILD_DEPENDS}
POD_COVERAGE_DESC= POD coverage via p5-Pod-Coverage
POD_COVERAGE_BUILD_DEPENDS= p5-Pod-Coverage>=0.06:${PORTSDIR}/devel/p5-Pod-Coverage
POD_COVERAGE_RUN_DEPENDS= ${POD_COVERAGE_BUILD_DEPENDS}
SYNTAX_HIGHLIGHTING_DESC= Syntax highlighting via p5-PPI-HTML
SYNTAX_HIGHLIGHTING_BUILD_DEPENDS= p5-PPI-HTML>=1.07:${PORTSDIR}/textproc/p5-PPI-HTML
SYNTAX_HIGHLIGHTING_RUN_DEPENDS= ${SYNTAX_HIGHLIGHTING_BUILD_DEPENDS}
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Devel/Cover/Cover.so
@${MKDIR} ${STAGEDIR}${DOCSDIR}/
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>

View file

@ -1,2 +1,2 @@
SHA256 (Devel-Cover-1.17.tar.gz) = d2e5b73dec6b9b9971fc10d27b3996e59bdce1446abd5ae988f9185beff9f5cc
SIZE (Devel-Cover-1.17.tar.gz) = 204752
SHA256 (Devel-Cover-1.18.tar.gz) = 95f73ffcabfe6948fd926305958a1116501c0461eeef0aa6e1c8979c79efcb12
SIZE (Devel-Cover-1.18.tar.gz) = 207365

View file

@ -1,49 +1,6 @@
bin/cover
bin/cpancover
%%CPANCOVER%%bin/cpancover
bin/gcov2perl
%%PERL5_MAN3%%/Devel::Cover.3.gz
%%PERL5_MAN3%%/Devel::Cover::Annotation::Git.3.gz
%%PERL5_MAN3%%/Devel::Cover::Annotation::Random.3.gz
%%PERL5_MAN3%%/Devel::Cover::Annotation::Svk.3.gz
%%PERL5_MAN3%%/Devel::Cover::Branch.3.gz
%%PERL5_MAN3%%/Devel::Cover::Collection.3.gz
%%PERL5_MAN3%%/Devel::Cover::Condition.3.gz
%%PERL5_MAN3%%/Devel::Cover::Condition_and_2.3.gz
%%PERL5_MAN3%%/Devel::Cover::Condition_and_3.3.gz
%%PERL5_MAN3%%/Devel::Cover::Condition_or_2.3.gz
%%PERL5_MAN3%%/Devel::Cover::Condition_or_3.3.gz
%%PERL5_MAN3%%/Devel::Cover::Condition_xor_4.3.gz
%%PERL5_MAN3%%/Devel::Cover::Criterion.3.gz
%%PERL5_MAN3%%/Devel::Cover::DB.3.gz
%%PERL5_MAN3%%/Devel::Cover::DB::Digests.3.gz
%%PERL5_MAN3%%/Devel::Cover::DB::File.3.gz
%%PERL5_MAN3%%/Devel::Cover::DB::IO.3.gz
%%PERL5_MAN3%%/Devel::Cover::DB::IO::JSON.3.gz
%%PERL5_MAN3%%/Devel::Cover::DB::IO::Sereal.3.gz
%%PERL5_MAN3%%/Devel::Cover::DB::IO::Storable.3.gz
%%PERL5_MAN3%%/Devel::Cover::DB::Structure.3.gz
%%PERL5_MAN3%%/Devel::Cover::Dumper.3.gz
%%PERL5_MAN3%%/Devel::Cover::Html_Common.3.gz
%%PERL5_MAN3%%/Devel::Cover::Op.3.gz
%%PERL5_MAN3%%/Devel::Cover::Pod.3.gz
%%PERL5_MAN3%%/Devel::Cover::Report::Compilation.3.gz
%%PERL5_MAN3%%/Devel::Cover::Report::Html.3.gz
%%PERL5_MAN3%%/Devel::Cover::Report::Html_basic.3.gz
%%PERL5_MAN3%%/Devel::Cover::Report::Html_minimal.3.gz
%%PERL5_MAN3%%/Devel::Cover::Report::Html_subtle.3.gz
%%PERL5_MAN3%%/Devel::Cover::Report::Json.3.gz
%%PERL5_MAN3%%/Devel::Cover::Report::Sort.3.gz
%%PERL5_MAN3%%/Devel::Cover::Report::Text.3.gz
%%PERL5_MAN3%%/Devel::Cover::Report::Text2.3.gz
%%PERL5_MAN3%%/Devel::Cover::Report::Vim.3.gz
%%PERL5_MAN3%%/Devel::Cover::Statement.3.gz
%%PERL5_MAN3%%/Devel::Cover::Subroutine.3.gz
%%PERL5_MAN3%%/Devel::Cover::Test.3.gz
%%PERL5_MAN3%%/Devel::Cover::Time.3.gz
%%PERL5_MAN3%%/Devel::Cover::Truth_Table.3.gz
%%PERL5_MAN3%%/Devel::Cover::Tutorial.3.gz
%%PERL5_MAN3%%/Devel::Cover::Util.3.gz
%%PERL5_MAN3%%/Devel::Cover::Web.3.gz
%%SITE_ARCH%%/Devel/Cover.pm
%%SITE_ARCH%%/Devel/Cover/Annotation/Git.pm
%%SITE_ARCH%%/Devel/Cover/Annotation/Random.pm
@ -89,6 +46,49 @@ bin/gcov2perl
%%SITE_ARCH%%/Devel/Cover/Util.pm
%%SITE_ARCH%%/Devel/Cover/Web.pm
%%SITE_ARCH%%/auto/Devel/Cover/Cover.so
%%PERL5_MAN3%%/Devel::Cover.3.gz
%%PERL5_MAN3%%/Devel::Cover::Annotation::Git.3.gz
%%PERL5_MAN3%%/Devel::Cover::Annotation::Random.3.gz
%%PERL5_MAN3%%/Devel::Cover::Annotation::Svk.3.gz
%%PERL5_MAN3%%/Devel::Cover::Branch.3.gz
%%PERL5_MAN3%%/Devel::Cover::Collection.3.gz
%%PERL5_MAN3%%/Devel::Cover::Condition.3.gz
%%PERL5_MAN3%%/Devel::Cover::Condition_and_2.3.gz
%%PERL5_MAN3%%/Devel::Cover::Condition_and_3.3.gz
%%PERL5_MAN3%%/Devel::Cover::Condition_or_2.3.gz
%%PERL5_MAN3%%/Devel::Cover::Condition_or_3.3.gz
%%PERL5_MAN3%%/Devel::Cover::Condition_xor_4.3.gz
%%PERL5_MAN3%%/Devel::Cover::Criterion.3.gz
%%PERL5_MAN3%%/Devel::Cover::DB.3.gz
%%PERL5_MAN3%%/Devel::Cover::DB::Digests.3.gz
%%PERL5_MAN3%%/Devel::Cover::DB::File.3.gz
%%PERL5_MAN3%%/Devel::Cover::DB::IO.3.gz
%%PERL5_MAN3%%/Devel::Cover::DB::IO::JSON.3.gz
%%PERL5_MAN3%%/Devel::Cover::DB::IO::Sereal.3.gz
%%PERL5_MAN3%%/Devel::Cover::DB::IO::Storable.3.gz
%%PERL5_MAN3%%/Devel::Cover::DB::Structure.3.gz
%%PERL5_MAN3%%/Devel::Cover::Dumper.3.gz
%%PERL5_MAN3%%/Devel::Cover::Html_Common.3.gz
%%PERL5_MAN3%%/Devel::Cover::Op.3.gz
%%PERL5_MAN3%%/Devel::Cover::Pod.3.gz
%%PERL5_MAN3%%/Devel::Cover::Report::Compilation.3.gz
%%PERL5_MAN3%%/Devel::Cover::Report::Html.3.gz
%%PERL5_MAN3%%/Devel::Cover::Report::Html_basic.3.gz
%%PERL5_MAN3%%/Devel::Cover::Report::Html_minimal.3.gz
%%PERL5_MAN3%%/Devel::Cover::Report::Html_subtle.3.gz
%%PERL5_MAN3%%/Devel::Cover::Report::Json.3.gz
%%PERL5_MAN3%%/Devel::Cover::Report::Sort.3.gz
%%PERL5_MAN3%%/Devel::Cover::Report::Text.3.gz
%%PERL5_MAN3%%/Devel::Cover::Report::Text2.3.gz
%%PERL5_MAN3%%/Devel::Cover::Report::Vim.3.gz
%%PERL5_MAN3%%/Devel::Cover::Statement.3.gz
%%PERL5_MAN3%%/Devel::Cover::Subroutine.3.gz
%%PERL5_MAN3%%/Devel::Cover::Test.3.gz
%%PERL5_MAN3%%/Devel::Cover::Time.3.gz
%%PERL5_MAN3%%/Devel::Cover::Truth_Table.3.gz
%%PERL5_MAN3%%/Devel::Cover::Tutorial.3.gz
%%PERL5_MAN3%%/Devel::Cover::Util.3.gz
%%PERL5_MAN3%%/Devel::Cover::Web.3.gz
man/man1/cover.1.gz
man/man1/cpancover.1.gz
man/man1/gcov2perl.1.gz