diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2012-06-07 18:22:35 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2012-06-07 18:22:35 +0000 |
commit | c856375412da0eb0acbb20cb1bdf29feeb9e7f7a (patch) | |
tree | c8b92cd54bfa03bd3a656b34a420bd71b78f1b77 /textproc/p5-Perl-Critic | |
parent | ae995ee226284d91d50e2ce187805d72080b8f16 (diff) | |
download | ports-c856375412da0eb0acbb20cb1bdf29feeb9e7f7a.tar.gz ports-c856375412da0eb0acbb20cb1bdf29feeb9e7f7a.zip |
Notes
Diffstat (limited to 'textproc/p5-Perl-Critic')
-rw-r--r-- | textproc/p5-Perl-Critic/Makefile | 33 | ||||
-rw-r--r-- | textproc/p5-Perl-Critic/distinfo | 4 | ||||
-rw-r--r-- | textproc/p5-Perl-Critic/pkg-plist | 1 |
3 files changed, 22 insertions, 16 deletions
diff --git a/textproc/p5-Perl-Critic/Makefile b/textproc/p5-Perl-Critic/Makefile index 83af548702a3..10d18db5dd89 100644 --- a/textproc/p5-Perl-Critic/Makefile +++ b/textproc/p5-Perl-Critic/Makefile @@ -1,4 +1,3 @@ -# ex:ts=8 # Ports collection makefile for: Perl::Critic # Date created: Nov 26, 2005 # Whom: ijliao @@ -7,37 +6,35 @@ # PORTNAME= Perl-Critic -PORTVERSION= 1.11.6 +PORTVERSION= 1.11.7 CATEGORIES= textproc devel perl5 MASTER_SITES= CPAN -MASTER_SITE_SUBDIR= CPAN:ELLIOTJS PKGNAMEPREFIX= p5- DISTNAME= ${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E} MAINTAINER= perl@FreeBSD.org COMMENT= Critique Perl source for style and standards -RUN_DEPENDS= p5-B-Keywords>=1.05:${PORTSDIR}/devel/p5-B-Keywords \ +BUILD_DEPENDS= p5-B-Keywords>=1.05:${PORTSDIR}/devel/p5-B-Keywords \ p5-Config-Tiny>=2:${PORTSDIR}/devel/p5-Config-Tiny \ p5-Email-Address>=1.88.9:${PORTSDIR}/mail/p5-Email-Address \ p5-Exception-Class>=1.23:${PORTSDIR}/devel/p5-Exception-Class \ - p5-File-HomeDir>0:${PORTSDIR}/devel/p5-File-HomeDir \ + p5-File-HomeDir>=0:${PORTSDIR}/devel/p5-File-HomeDir \ p5-File-Which>=0:${PORTSDIR}/sysutils/p5-File-Which \ p5-IO-String>=0:${PORTSDIR}/devel/p5-IO-String \ p5-List-MoreUtils>=0.19:${PORTSDIR}/lang/p5-List-MoreUtils \ - p5-Pod-Spell>0:${PORTSDIR}/textproc/p5-Pod-Spell \ - p5-PPI>=1.208:${PORTSDIR}/textproc/p5-PPI \ - p5-PPIx-Regexp>=0.008:${PORTSDIR}/textproc/p5-PPIx-Regexp \ - p5-PPIx-Utilities>=1.000:${PORTSDIR}/textproc/p5-PPIx-Utilities \ + p5-Pod-Spell>=0:${PORTSDIR}/textproc/p5-Pod-Spell \ + p5-PPI>=1.215:${PORTSDIR}/textproc/p5-PPI \ + p5-PPIx-Regexp>=0.022:${PORTSDIR}/textproc/p5-PPIx-Regexp \ + p5-PPIx-Utilities>=1.001:${PORTSDIR}/textproc/p5-PPIx-Utilities \ p5-Readonly>=1.03:${PORTSDIR}/devel/p5-Readonly \ p5-String-Format>=1.13:${PORTSDIR}/textproc/p5-String-Format \ p5-Task-Weaken>=0:${PORTSDIR}/devel/p5-Task-Weaken \ p5-Term-ANSIColor>=2.02:${PORTSDIR}/devel/p5-Term-ANSIColor \ - p5-version>=0:${PORTSDIR}/devel/p5-version \ - p5-PPIx-Utilities>=1.000:${PORTSDIR}/textproc/p5-PPIx-Utilities \ perltidy:${PORTSDIR}/devel/perltidy -BUILD_DEPENDS= ${RUN_DEPENDS} -TEST_DEPENDS= p5-Test-Deep>=0:${PORTSDIR}/devel/p5-Test-Deep +RUN_DEPENDS:= ${BUILD_DEPENDS} +TEST_DEPENDS= p5-Test-Deep>=0:${PORTSDIR}/devel/p5-Test-Deep \ + p5-Test-Memory-Cycle>=0:${PORTSDIR}/devel/p5-Test-Memory-Cycle PERL_MODBUILD= yes @@ -196,6 +193,7 @@ MAN3= Perl::Critic.3 \ Perl::Critic::Policy::ValuesAndExpressions::RequireNumberSeparators.3 \ Perl::Critic::Policy::ValuesAndExpressions::RequireQuotedHeredocTerminator.3 \ Perl::Critic::Policy::ValuesAndExpressions::RequireUpperCaseHeredocTerminator.3 \ + Perl::Critic::Policy::Variables::ProhibitAugmentedAssignmentInDeclaration.3 \ Perl::Critic::Policy::Variables::ProhibitConditionalDeclarations.3 \ Perl::Critic::Policy::Variables::ProhibitEvilVariables.3 \ Perl::Critic::Policy::Variables::ProhibitLocalVars.3 \ @@ -238,4 +236,11 @@ MAN3= Perl::Critic.3 \ Perl::Critic::Violation.3 \ Test::Perl::Critic::Policy.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 501001 +BUILD_DEPENDS+= p5-version>=0.77:${PORTSDIR}/devel/p5-version +RUN_DEPENDS+= p5-version>=0.77:${PORTSDIR}/devel/p5-version +.endif + +.include <bsd.port.post.mk> diff --git a/textproc/p5-Perl-Critic/distinfo b/textproc/p5-Perl-Critic/distinfo index 0633fd343ddd..ada498ede738 100644 --- a/textproc/p5-Perl-Critic/distinfo +++ b/textproc/p5-Perl-Critic/distinfo @@ -1,2 +1,2 @@ -SHA256 (Perl-Critic-1.116.tar.gz) = 04f0b80a68171341f79a9862b30132288e93c5a165985fc51b4a6e573043284e -SIZE (Perl-Critic-1.116.tar.gz) = 637400 +SHA256 (Perl-Critic-1.117.tar.gz) = 66c6ba45fdf04458a94a312d0ff0785eac74860a77a407bfe5af4dd2615e199e +SIZE (Perl-Critic-1.117.tar.gz) = 645793 diff --git a/textproc/p5-Perl-Critic/pkg-plist b/textproc/p5-Perl-Critic/pkg-plist index c929357efcc9..6ff4aef650bc 100644 --- a/textproc/p5-Perl-Critic/pkg-plist +++ b/textproc/p5-Perl-Critic/pkg-plist @@ -153,6 +153,7 @@ bin/perlcritic %%SITE_PERL%%/Perl/Critic/Policy/ValuesAndExpressions/RequireNumberSeparators.pm %%SITE_PERL%%/Perl/Critic/Policy/ValuesAndExpressions/RequireQuotedHeredocTerminator.pm %%SITE_PERL%%/Perl/Critic/Policy/ValuesAndExpressions/RequireUpperCaseHeredocTerminator.pm +%%SITE_PERL%%/Perl/Critic/Policy/Variables/ProhibitAugmentedAssignmentInDeclaration.pm %%SITE_PERL%%/Perl/Critic/Policy/Variables/ProhibitConditionalDeclarations.pm %%SITE_PERL%%/Perl/Critic/Policy/Variables/ProhibitEvilVariables.pm %%SITE_PERL%%/Perl/Critic/Policy/Variables/ProhibitLocalVars.pm |