mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-08 02:15:08 +00:00
213 lines
12 KiB
Makefile
213 lines
12 KiB
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: Perl::Critic
|
|
# Date created: Nov 26, 2005
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= Perl-Critic
|
|
PORTVERSION= 1.09.0
|
|
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= ${SITE_PERL}/${PERL_ARCH}/List/MoreUtils.pm:${PORTSDIR}/lang/p5-List-MoreUtils \
|
|
${SITE_PERL}/B/Keywords.pm:${PORTSDIR}/devel/p5-B-Keywords \
|
|
${SITE_PERL}/Config/Tiny.pm:${PORTSDIR}/devel/p5-Config-Tiny \
|
|
${SITE_PERL}/Module/Pluggable.pm:${PORTSDIR}/devel/p5-Module-Pluggable \
|
|
${SITE_PERL}/PPI.pm:${PORTSDIR}/textproc/p5-PPI \
|
|
${SITE_PERL}/Perl/Tidy.pm:${PORTSDIR}/devel/perltidy \
|
|
${SITE_PERL}/String/Format.pm:${PORTSDIR}/textproc/p5-String-Format \
|
|
${SITE_PERL}/IO/String.pm:${PORTSDIR}/devel/p5-IO-String \
|
|
${SITE_PERL}/Exception/Class.pm:${PORTSDIR}/devel/p5-Exception-Class \
|
|
${SITE_PERL}/${PERL_ARCH}/Readonly.pm:${PORTSDIR}/devel/p5-Readonly \
|
|
p5-version>=0:${PORTSDIR}/devel/p5-version
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
|
|
PERL_MODBUILD= yes
|
|
|
|
MAN1= perlcritic.1
|
|
MAN3= Perl::Critic.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::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::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::ProhibitAmbiguousNames.3 \
|
|
Perl::Critic::Policy::NamingConventions::ProhibitMixedCaseSubs.3 \
|
|
Perl::Critic::Policy::NamingConventions::ProhibitMixedCaseVars.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::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::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::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::ProhibitVersionStrings.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::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::Violation.3
|
|
|
|
.include <bsd.port.mk>
|