aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-Perl-Critic/Makefile
blob: 348328a4c6990f00a5aaaad67ec40b17f8ad35ed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
# ex:ts=8
# Ports collection makefile for:    Perl::Critic
# Date created:         Nov 26, 2005
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   Perl-Critic
PORTVERSION=    1.10.5
PORTREVISION=   1
CATEGORIES= textproc devel perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-
DISTNAME=   ${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E}

MAINTAINER= clsung@FreeBSD.org
COMMENT=    Critique Perl source for style and standards

RUN_DEPENDS=    p5-B-Keywords>=1.05:${PORTSDIR}/devel/p5-B-Keywords \
        p5-Config-Tiny>=2:${PORTSDIR}/devel/p5-Config-Tiny \
        p5-Exception-Class>=1.23:${PORTSDIR}/devel/p5-Exception-Class \
        p5-IO-String>=0:${PORTSDIR}/devel/p5-IO-String \
        p5-List-MoreUtils>=0.19:${PORTSDIR}/lang/p5-List-MoreUtils \
        p5-PPI>=1.205:${PORTSDIR}/textproc/p5-PPI \
        p5-Readonly>=1.03:${PORTSDIR}/devel/p5-Readonly \
        p5-String-Format>=1.13:${PORTSDIR}/textproc/p5-String-Format \
        p5-version>=0:${PORTSDIR}/devel/p5-version \
        perltidy:${PORTSDIR}/devel/perltidy
BUILD_DEPENDS=  ${RUN_DEPENDS}

PERL_MODBUILD=  yes

MAN1=   perlcritic.1
MAN3=   Perl::Critic.3 \
    Perl::Critic::Annotation.3 \
    Perl::Critic::Command.3 \
    Perl::Critic::Config.3 \
    Perl::Critic::DEVELOPER.3 \
    Perl::Critic::Document.3 \
    Perl::Critic::Exception.3 \
    Perl::Critic::Exception::AggregateConfiguration.3 \
    Perl::Critic::Exception::Configuration.3 \
    Perl::Critic::Exception::Configuration::Generic.3 \
    Perl::Critic::Exception::Configuration::NonExistentPolicy.3 \
    Perl::Critic::Exception::Configuration::Option.3 \
    Perl::Critic::Exception::Configuration::Option::Global.3 \
    Perl::Critic::Exception::Configuration::Option::Global::ExtraParameter.3 \
    Perl::Critic::Exception::Configuration::Option::Global::ParameterValue.3 \
    Perl::Critic::Exception::Configuration::Option::Policy.3 \
    Perl::Critic::Exception::Configuration::Option::Policy::ExtraParameter.3 \
    Perl::Critic::Exception::Configuration::Option::Policy::ParameterValue.3 \
    Perl::Critic::Exception::Fatal.3 \
    Perl::Critic::Exception::Fatal::Generic.3 \
    Perl::Critic::Exception::Fatal::Internal.3 \
    Perl::Critic::Exception::Fatal::PolicyDefinition.3 \
    Perl::Critic::Exception::IO.3 \
    Perl::Critic::Exception::Parse.3 \
    Perl::Critic::OptionsProcessor.3 \
    Perl::Critic::Policy.3 \
    Perl::Critic::Policy::BuiltinFunctions::ProhibitBooleanGrep.3 \
    Perl::Critic::Policy::BuiltinFunctions::ProhibitComplexMappings.3 \
    Perl::Critic::Policy::BuiltinFunctions::ProhibitLvalueSubstr.3 \
    Perl::Critic::Policy::BuiltinFunctions::ProhibitReverseSortBlock.3 \
    Perl::Critic::Policy::BuiltinFunctions::ProhibitSleepViaSelect.3 \
    Perl::Critic::Policy::BuiltinFunctions::ProhibitStringyEval.3 \
    Perl::Critic::Policy::BuiltinFunctions::ProhibitStringySplit.3 \
    Perl::Critic::Policy::BuiltinFunctions::ProhibitUniversalCan.3 \
    Perl::Critic::Policy::BuiltinFunctions::ProhibitUniversalIsa.3 \
    Perl::Critic::Policy::BuiltinFunctions::ProhibitVoidGrep.3 \
    Perl::Critic::Policy::BuiltinFunctions::ProhibitVoidMap.3 \
    Perl::Critic::Policy::BuiltinFunctions::RequireBlockGrep.3 \
    Perl::Critic::Policy::BuiltinFunctions::RequireBlockMap.3 \
    Perl::Critic::Policy::BuiltinFunctions::RequireGlobFunction.3 \
    Perl::Critic::Policy::BuiltinFunctions::RequireSimpleSortBlock.3 \
    Perl::Critic::Policy::ClassHierarchies::ProhibitAutoloading.3 \
    Perl::Critic::Policy::ClassHierarchies::ProhibitExplicitISA.3 \
    Perl::Critic::Policy::ClassHierarchies::ProhibitOneArgBless.3 \
    Perl::Critic::Policy::CodeLayout::ProhibitHardTabs.3 \
    Perl::Critic::Policy::CodeLayout::ProhibitParensWithBuiltins.3 \
    Perl::Critic::Policy::CodeLayout::ProhibitQuotedWordLists.3 \
    Perl::Critic::Policy::CodeLayout::ProhibitTrailingWhitespace.3 \
    Perl::Critic::Policy::CodeLayout::RequireConsistentNewlines.3 \
    Perl::Critic::Policy::CodeLayout::RequireTidyCode.3 \
    Perl::Critic::Policy::CodeLayout::RequireTrailingCommas.3 \
    Perl::Critic::Policy::ControlStructures::ProhibitCStyleForLoops.3 \
    Perl::Critic::Policy::ControlStructures::ProhibitCascadingIfElse.3 \
    Perl::Critic::Policy::ControlStructures::ProhibitDeepNests.3 \
    Perl::Critic::Policy::ControlStructures::ProhibitLabelsWithSpecialBlockNames.3 \
    Perl::Critic::Policy::ControlStructures::ProhibitMutatingListFunctions.3 \
    Perl::Critic::Policy::ControlStructures::ProhibitNegativeExpressionsInUnlessAndUntilConditions.3 \
    Perl::Critic::Policy::ControlStructures::ProhibitPostfixControls.3 \
    Perl::Critic::Policy::ControlStructures::ProhibitUnlessBlocks.3 \
    Perl::Critic::Policy::ControlStructures::ProhibitUnreachableCode.3 \
    Perl::Critic::Policy::ControlStructures::ProhibitUntilBlocks.3 \
    Perl::Critic::Policy::Documentation::PodSpelling.3 \
    Perl::Critic::Policy::Documentation::RequirePackageMatchesPodName.3 \
    Perl::Critic::Policy::Documentation::RequirePodAtEnd.3 \
    Perl::Critic::Policy::Documentation::RequirePodSections.3 \
    Perl::Critic::Policy::ErrorHandling::RequireCarping.3 \
    Perl::Critic::Policy::ErrorHandling::RequireCheckingReturnValueOfEval.3 \
    Perl::Critic::Policy::InputOutput::ProhibitBacktickOperators.3 \
    Perl::Critic::Policy::InputOutput::ProhibitBarewordFileHandles.3 \
    Perl::Critic::Policy::InputOutput::ProhibitExplicitStdin.3 \
    Perl::Critic::Policy::InputOutput::ProhibitInteractiveTest.3 \
    Perl::Critic::Policy::InputOutput::ProhibitJoinedReadline.3 \
    Perl::Critic::Policy::InputOutput::ProhibitOneArgSelect.3 \
    Perl::Critic::Policy::InputOutput::ProhibitReadlineInForLoop.3 \
    Perl::Critic::Policy::InputOutput::ProhibitTwoArgOpen.3 \
    Perl::Critic::Policy::InputOutput::RequireBracedFileHandleWithPrint.3 \
    Perl::Critic::Policy::InputOutput::RequireBriefOpen.3 \
    Perl::Critic::Policy::InputOutput::RequireCheckedClose.3 \
    Perl::Critic::Policy::InputOutput::RequireCheckedOpen.3 \
    Perl::Critic::Policy::InputOutput::RequireCheckedSyscalls.3 \
    Perl::Critic::Policy::Miscellanea::ProhibitFormats.3 \
    Perl::Critic::Policy::Miscellanea::ProhibitUnrestrictedNoCritic.3 \
    Perl::Critic::Policy::Miscellanea::ProhibitUselessNoCritic.3 \
    Perl::Critic::Policy::Miscellanea::ProhibitTies.3 \
    Perl::Critic::Policy::Miscellanea::RequireRcsKeywords.3 \
    Perl::Critic::Policy::Modules::ProhibitAutomaticExportation.3 \
    Perl::Critic::Policy::Modules::ProhibitEvilModules.3 \
    Perl::Critic::Policy::Modules::ProhibitExcessMainComplexity.3 \
    Perl::Critic::Policy::Modules::ProhibitMultiplePackages.3 \
    Perl::Critic::Policy::Modules::RequireBarewordIncludes.3 \
    Perl::Critic::Policy::Modules::RequireEndWithOne.3 \
    Perl::Critic::Policy::Modules::RequireExplicitPackage.3 \
    Perl::Critic::Policy::Modules::RequireFilenameMatchesPackage.3 \
    Perl::Critic::Policy::Modules::RequireNoMatchVarsWithUseEnglish.3 \
    Perl::Critic::Policy::Modules::RequireVersionVar.3 \
    Perl::Critic::Policy::NamingConventions::Capitalization.3 \
    Perl::Critic::Policy::NamingConventions::ProhibitAmbiguousNames.3 \
    Perl::Critic::Policy::Objects::ProhibitIndirectSyntax.3 \
    Perl::Critic::Policy::References::ProhibitDoubleSigils.3 \
    Perl::Critic::Policy::RegularExpressions::ProhibitCaptureWithoutTest.3 \
    Perl::Critic::Policy::RegularExpressions::ProhibitComplexRegexes.3 \
    Perl::Critic::Policy::RegularExpressions::ProhibitEnumeratedClasses.3 \
    Perl::Critic::Policy::RegularExpressions::ProhibitEscapedMetacharacters.3 \
    Perl::Critic::Policy::RegularExpressions::ProhibitFixedStringMatches.3 \
    Perl::Critic::Policy::RegularExpressions::ProhibitSingleCharAlternation.3 \
    Perl::Critic::Policy::RegularExpressions::ProhibitUnusedCapture.3 \
    Perl::Critic::Policy::RegularExpressions::ProhibitUnusualDelimiters.3 \
    Perl::Critic::Policy::RegularExpressions::RequireBracesForMultiline.3 \
    Perl::Critic::Policy::RegularExpressions::RequireDotMatchAnything.3 \
    Perl::Critic::Policy::RegularExpressions::RequireExtendedFormatting.3 \
    Perl::Critic::Policy::RegularExpressions::RequireLineBoundaryMatching.3 \
    Perl::Critic::Policy::Subroutines::ProhibitAmpersandSigils.3 \
    Perl::Critic::Policy::Subroutines::ProhibitBuiltinHomonyms.3 \
    Perl::Critic::Policy::Subroutines::ProhibitExcessComplexity.3 \
    Perl::Critic::Policy::Subroutines::ProhibitExplicitReturnUndef.3 \
    Perl::Critic::Policy::Subroutines::ProhibitManyArgs.3 \
    Perl::Critic::Policy::Subroutines::ProhibitNestedSubs.3 \
    Perl::Critic::Policy::Subroutines::ProhibitReturnSort.3 \
    Perl::Critic::Policy::Subroutines::ProhibitSubroutinePrototypes.3 \
    Perl::Critic::Policy::Subroutines::ProtectPrivateSubs.3 \
    Perl::Critic::Policy::Subroutines::RequireArgUnpacking.3 \
    Perl::Critic::Policy::Subroutines::RequireFinalReturn.3 \
    Perl::Critic::Policy::TestingAndDebugging::ProhibitNoStrict.3 \
    Perl::Critic::Policy::TestingAndDebugging::ProhibitNoWarnings.3 \
    Perl::Critic::Policy::TestingAndDebugging::ProhibitProlongedStrictureOverride.3 \
    Perl::Critic::Policy::TestingAndDebugging::RequireTestLabels.3 \
    Perl::Critic::Policy::TestingAndDebugging::RequireUseStrict.3 \
    Perl::Critic::Policy::TestingAndDebugging::RequireUseWarnings.3 \
    Perl::Critic::Policy::ValuesAndExpressions::ProhibitCommaSeparatedStatements.3 \
    Perl::Critic::Policy::ValuesAndExpressions::ProhibitComplexVersion.3 \
    Perl::Critic::Policy::ValuesAndExpressions::ProhibitConstantPragma.3 \
    Perl::Critic::Policy::ValuesAndExpressions::ProhibitEmptyQuotes.3 \
    Perl::Critic::Policy::ValuesAndExpressions::ProhibitEscapedCharacters.3 \
    Perl::Critic::Policy::ValuesAndExpressions::ProhibitImplicitNewlines.3 \
    Perl::Critic::Policy::ValuesAndExpressions::ProhibitInterpolationOfLiterals.3 \
    Perl::Critic::Policy::ValuesAndExpressions::ProhibitLeadingZeros.3 \
    Perl::Critic::Policy::ValuesAndExpressions::ProhibitLongChainsOfMethodCalls.3 \
    Perl::Critic::Policy::ValuesAndExpressions::ProhibitMagicNumbers.3 \
    Perl::Critic::Policy::ValuesAndExpressions::ProhibitMismatchedOperators.3 \
    Perl::Critic::Policy::ValuesAndExpressions::ProhibitMixedBooleanOperators.3 \
    Perl::Critic::Policy::ValuesAndExpressions::ProhibitNoisyQuotes.3 \
    Perl::Critic::Policy::ValuesAndExpressions::ProhibitQuotesAsQuotelikeOperatorDelimiters.3 \
    Perl::Critic::Policy::ValuesAndExpressions::ProhibitSpecialLiteralHeredocTerminator.3 \
    Perl::Critic::Policy::ValuesAndExpressions::ProhibitVersionStrings.3 \
    Perl::Critic::Policy::ValuesAndExpressions::RequireConstantVersion.3 \
    Perl::Critic::Policy::ValuesAndExpressions::RequireInterpolationOfMetachars.3 \
    Perl::Critic::Policy::ValuesAndExpressions::RequireNumberSeparators.3 \
    Perl::Critic::Policy::ValuesAndExpressions::RequireQuotedHeredocTerminator.3 \
    Perl::Critic::Policy::ValuesAndExpressions::RequireUpperCaseHeredocTerminator.3 \
    Perl::Critic::Policy::Variables::ProhibitConditionalDeclarations.3 \
    Perl::Critic::Policy::Variables::ProhibitLocalVars.3 \
    Perl::Critic::Policy::Variables::ProhibitMatchVars.3 \
    Perl::Critic::Policy::Variables::ProhibitPackageVars.3 \
    Perl::Critic::Policy::Variables::ProhibitPerl4PackageNames.3 \
    Perl::Critic::Policy::Variables::ProhibitPunctuationVars.3 \
    Perl::Critic::Policy::Variables::ProhibitReusedNames.3 \
    Perl::Critic::Policy::Variables::ProhibitUnusedVariables.3 \
    Perl::Critic::Policy::Variables::ProtectPrivateVars.3 \
    Perl::Critic::Policy::Variables::RequireInitializationForLocalVars.3 \
    Perl::Critic::Policy::Variables::RequireLexicalLoopIterators.3 \
    Perl::Critic::Policy::Variables::RequireLocalizedPunctuationVars.3 \
    Perl::Critic::Policy::Variables::RequireNegativeIndices.3 \
    Perl::Critic::PolicyConfig.3 \
    Perl::Critic::PolicyFactory.3 \
    Perl::Critic::PolicyListing.3 \
    Perl::Critic::PolicyParameter.3 \
    Perl::Critic::PolicyParameter::Behavior.3 \
    Perl::Critic::PolicyParameter::Behavior::Boolean.3 \
    Perl::Critic::PolicyParameter::Behavior::Enumeration.3 \
    Perl::Critic::PolicyParameter::Behavior::Integer.3 \
    Perl::Critic::PolicyParameter::Behavior::String.3 \
    Perl::Critic::PolicyParameter::Behavior::StringList.3 \
    Perl::Critic::PolicySummary.3 \
    Perl::Critic::ProfilePrototype.3 \
    Perl::Critic::Statistics.3 \
    Perl::Critic::TestUtils.3 \
    Perl::Critic::Theme.3 \
    Perl::Critic::ThemeListing.3 \
    Perl::Critic::UserProfile.3 \
    Perl::Critic::Utils.3 \
    Perl::Critic::Utils::Constants.3 \
    Perl::Critic::Utils::DataConversion.3 \
    Perl::Critic::Utils::McCabe.3 \
    Perl::Critic::Utils::POD.3 \
    Perl::Critic::Utils::PPI.3 \
    Perl::Critic::Utils::PPIRegexp.3 \
    Perl::Critic::Utils::Perl.3 \
    Perl::Critic::Violation.3

.include <bsd.port.mk>