diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2013-09-07 18:19:26 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2013-09-07 18:19:26 +0800 |
commit | 909c477637de0746d9644d0d30bc2099e406e4df (patch) | |
tree | 9cca84e449635452888112aa2cf405c8b2a21d75 /devel | |
parent | 23f8c26fc99415ac4b04dae275ab32766aff93d5 (diff) | |
download | freebsd-ports-gnome-909c477637de0746d9644d0d30bc2099e406e4df.tar.gz freebsd-ports-gnome-909c477637de0746d9644d0d30bc2099e406e4df.tar.zst freebsd-ports-gnome-909c477637de0746d9644d0d30bc2099e406e4df.zip |
- Update to 2.1005
- Use REINPLACE_CMD to manipulate Makefile.PL
- Use PKGMESSAGE
Changes: http://search.cpan.org/dist/Moose/Changes
Diffstat (limited to 'devel')
-rw-r--r-- | devel/p5-Moose/Makefile | 330 | ||||
-rw-r--r-- | devel/p5-Moose/distinfo | 4 | ||||
-rw-r--r-- | devel/p5-Moose/pkg-plist | 4 |
3 files changed, 175 insertions, 163 deletions
diff --git a/devel/p5-Moose/Makefile b/devel/p5-Moose/Makefile index aa0860cc31a3..d71f410363fb 100644 --- a/devel/p5-Moose/Makefile +++ b/devel/p5-Moose/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= Moose -PORTVERSION= 2.0802 -PORTREVISION= 1 +PORTVERSION= 2.1005 PORTEPOCH= 1 CATEGORIES= devel perl5 MASTER_SITES= CPAN @@ -17,171 +16,184 @@ LICENSE= ART10 GPLv1 LICENSE_COMB= dual # Do not add devel/p5-Data-Visitor to TEST_DEPENDS to avoid cyclic dependency in tinderbox -BUILD_DEPENDS= \ - p5-Class-Load>=0.09:${PORTSDIR}/devel/p5-Class-Load \ - p5-Class-Load-XS>=0.01:${PORTSDIR}/devel/p5-Class-Load-XS \ - p5-Data-OptList>=0.107:${PORTSDIR}/devel/p5-Data-OptList \ - p5-Devel-GlobalDestruction>=0:${PORTSDIR}/devel/p5-Devel-GlobalDestruction \ - p5-Eval-Closure>=0.04:${PORTSDIR}/devel/p5-Eval-Closure \ - p5-List-MoreUtils>=0.28:${PORTSDIR}/lang/p5-List-MoreUtils \ - p5-MRO-Compat>=0.05:${PORTSDIR}/devel/p5-MRO-Compat \ - p5-Package-DeprecationManager>=0.10:${PORTSDIR}/devel/p5-Package-DeprecationManager \ - p5-Package-Stash>=0.32:${PORTSDIR}/devel/p5-Package-Stash \ - p5-Package-Stash-XS>=0.24:${PORTSDIR}/devel/p5-Package-Stash-XS \ - p5-Params-Util>=1.00:${PORTSDIR}/devel/p5-Params-Util \ - p5-Sub-Exporter>=0.980:${PORTSDIR}/devel/p5-Sub-Exporter \ - p5-Sub-Name>=0.05:${PORTSDIR}/devel/p5-Sub-Name \ - p5-Task-Weaken>=0:${PORTSDIR}/devel/p5-Task-Weaken \ - p5-Try-Tiny>=0.02:${PORTSDIR}/lang/p5-Try-Tiny +BUILD_DEPENDS= p5-Class-Load>=0.09:${PORTSDIR}/devel/p5-Class-Load \ + p5-Class-Load-XS>=0.01:${PORTSDIR}/devel/p5-Class-Load-XS \ + p5-Data-OptList>=0.107:${PORTSDIR}/devel/p5-Data-OptList \ + p5-Devel-GlobalDestruction>=0:${PORTSDIR}/devel/p5-Devel-GlobalDestruction \ + p5-Eval-Closure>=0.04:${PORTSDIR}/devel/p5-Eval-Closure \ + p5-List-MoreUtils>=0.28:${PORTSDIR}/lang/p5-List-MoreUtils \ + p5-MRO-Compat>=0.05:${PORTSDIR}/devel/p5-MRO-Compat \ + p5-Package-DeprecationManager>=0.10:${PORTSDIR}/devel/p5-Package-DeprecationManager \ + p5-Package-Stash>=0.32:${PORTSDIR}/devel/p5-Package-Stash \ + p5-Package-Stash-XS>=0.24:${PORTSDIR}/devel/p5-Package-Stash-XS \ + p5-Params-Util>=1.00:${PORTSDIR}/devel/p5-Params-Util \ + p5-Sub-Exporter>=0.980:${PORTSDIR}/devel/p5-Sub-Exporter \ + p5-Sub-Name>=0.05:${PORTSDIR}/devel/p5-Sub-Name \ + p5-Task-Weaken>=0:${PORTSDIR}/devel/p5-Task-Weaken \ + p5-Try-Tiny>=0.02:${PORTSDIR}/lang/p5-Try-Tiny RUN_DEPENDS:= ${BUILD_DEPENDS} -TEST_DEPENDS= \ - p5-Test-Fatal>=0.001:${PORTSDIR}/devel/p5-Test-Fatal \ - p5-Test-Requires>=0.05:${PORTSDIR}/devel/p5-Test-Requires \ - p5-Test-CheckDeps>=0:${PORTSDIR}/devel/p5-Test-CheckDeps +TEST_DEPENDS= p5-CPAN-Meta-Check>=0.007:${PORTSDIR}/devel/p5-CPAN-Meta-Check \ + p5-DateTime-Format-MySQL>=0:${PORTSDIR}/devel/p5-DateTime-Format-MySQL \ + p5-Declare-Constraints-Simple>=0:${PORTSDIR}/devel/p5-Declare-Constraints-Simple \ + p5-IO-String>=0:${PORTSDIR}/devel/p5-IO-String \ + p5-Module-Refresh>=0:${PORTSDIR}/devel/p5-Module-Refresh \ + p5-SUPER>=0:${PORTSDIR}/devel/p5-SUPER \ + p5-Test-CheckDeps>=0.006:${PORTSDIR}/devel/p5-Test-CheckDeps \ + p5-Test-Deep>=0:${PORTSDIR}/devel/p5-Test-Deep \ + p5-Test-Fatal>=0.001:${PORTSDIR}/devel/p5-Test-Fatal \ + p5-Test-Output>=0:${PORTSDIR}/devel/p5-Test-Output \ + p5-Test-Requires>=0.05:${PORTSDIR}/devel/p5-Test-Requires CFLAGS+= -I. # mop.h MAKE_JOBS_UNSAFE= yes USES= perl5 USE_PERL5= configure extract -MAN3= Class::MOP.3 \ - Class::MOP::Attribute.3 \ - Class::MOP::Class.3 \ - Class::MOP::Class::Immutable::Trait.3 \ - Class::MOP::Deprecated.3 \ - Class::MOP::Instance.3 \ - Class::MOP::Method.3 \ - Class::MOP::Method::Accessor.3 \ - Class::MOP::Method::Constructor.3 \ - Class::MOP::Method::Generated.3 \ - Class::MOP::Method::Inlined.3 \ - Class::MOP::Method::Meta.3 \ - Class::MOP::Method::Overload.3 \ - Class::MOP::Method::Wrapped.3 \ - Class::MOP::MiniTrait.3 \ - Class::MOP::Mixin.3 \ - Class::MOP::Mixin::AttributeCore.3 \ - Class::MOP::Mixin::HasAttributes.3 \ - Class::MOP::Mixin::HasMethods.3 \ - Class::MOP::Module.3 \ - Class::MOP::Object.3 \ - Class::MOP::Package.3 \ - Moose.3 \ - Moose::Conflicts.3 \ - Moose::Cookbook.3 \ - Moose::Cookbook::Basics::BankAccount_MethodModifiersAndSubclassing.3 \ - Moose::Cookbook::Basics::BinaryTree_AttributeFeatures.3 \ - Moose::Cookbook::Basics::BinaryTree_BuilderAndLazyBuild.3 \ - Moose::Cookbook::Basics::Company_Subtypes.3 \ - Moose::Cookbook::Basics::DateTime_ExtendingNonMooseParent.3 \ - Moose::Cookbook::Basics::Document_AugmentAndInner.3 \ - Moose::Cookbook::Basics::Genome_OverloadingSubtypesAndCoercion.3 \ - Moose::Cookbook::Basics::HTTP_SubtypesAndCoercion.3 \ - Moose::Cookbook::Basics::Immutable.3 \ - Moose::Cookbook::Basics::Person_BUILDARGSAndBUILD.3 \ - Moose::Cookbook::Basics::Point_AttributesAndSubclassing.3 \ - Moose::Cookbook::Extending::Debugging_BaseClassRole.3 \ - Moose::Cookbook::Extending::ExtensionOverview.3 \ - Moose::Cookbook::Extending::Mooseish_MooseSugar.3 \ - Moose::Cookbook::Legacy::Debugging_BaseClassReplacement.3 \ - Moose::Cookbook::Legacy::Labeled_AttributeMetaclass.3 \ - Moose::Cookbook::Legacy::Table_ClassMetaclass.3 \ - Moose::Cookbook::Meta::GlobRef_InstanceMetaclass.3 \ - Moose::Cookbook::Meta::Labeled_AttributeTrait.3 \ - Moose::Cookbook::Meta::PrivateOrPublic_MethodMetaclass.3 \ - Moose::Cookbook::Meta::Table_MetaclassTrait.3 \ - Moose::Cookbook::Meta::WhyMeta.3 \ - Moose::Cookbook::Roles::ApplicationToInstance.3 \ - Moose::Cookbook::Roles::Comparable_CodeReuse.3 \ - Moose::Cookbook::Roles::Restartable_AdvancedComposition.3 \ - Moose::Cookbook::Snack::Keywords.3 \ - Moose::Cookbook::Snack::Types.3 \ - Moose::Cookbook::Style.3 \ - Moose::Deprecated.3 \ - Moose::Error::Confess.3 \ - Moose::Error::Croak.3 \ - Moose::Error::Default.3 \ - Moose::Error::Util.3 \ - Moose::Exporter.3 \ - Moose::Intro.3 \ - Moose::Manual.3 \ - Moose::Manual::Attributes.3 \ - Moose::Manual::BestPractices.3 \ - Moose::Manual::Classes.3 \ - Moose::Manual::Concepts.3 \ - Moose::Manual::Construction.3 \ - Moose::Manual::Contributing.3 \ - Moose::Manual::Delegation.3 \ - Moose::Manual::Delta.3 \ - Moose::Manual::FAQ.3 \ - Moose::Manual::MOP.3 \ - Moose::Manual::MethodModifiers.3 \ - Moose::Manual::MooseX.3 \ - Moose::Manual::Roles.3 \ - Moose::Manual::Support.3 \ - Moose::Manual::Types.3 \ - Moose::Manual::Unsweetened.3 \ - Moose::Meta::Attribute.3 \ - Moose::Meta::Attribute::Native.3 \ - Moose::Meta::Attribute::Native::Trait.3 \ - Moose::Meta::Attribute::Native::Trait::Array.3 \ - Moose::Meta::Attribute::Native::Trait::Bool.3 \ - Moose::Meta::Attribute::Native::Trait::Code.3 \ - Moose::Meta::Attribute::Native::Trait::Counter.3 \ - Moose::Meta::Attribute::Native::Trait::Hash.3 \ - Moose::Meta::Attribute::Native::Trait::Number.3 \ - Moose::Meta::Attribute::Native::Trait::String.3 \ - Moose::Meta::Class.3 \ - Moose::Meta::Class::Immutable::Trait.3 \ - Moose::Meta::Instance.3 \ - Moose::Meta::Method.3 \ - Moose::Meta::Method::Accessor.3 \ - Moose::Meta::Method::Augmented.3 \ - Moose::Meta::Method::Constructor.3 \ - Moose::Meta::Method::Delegation.3 \ - Moose::Meta::Method::Destructor.3 \ - Moose::Meta::Method::Meta.3 \ - Moose::Meta::Method::Overridden.3 \ - Moose::Meta::Mixin::AttributeCore.3 \ - Moose::Meta::Object::Trait.3 \ - Moose::Meta::Role.3 \ - Moose::Meta::Role::Application.3 \ - Moose::Meta::Role::Application::RoleSummation.3 \ - Moose::Meta::Role::Application::ToClass.3 \ - Moose::Meta::Role::Application::ToInstance.3 \ - Moose::Meta::Role::Application::ToRole.3 \ - Moose::Meta::Role::Attribute.3 \ - Moose::Meta::Role::Composite.3 \ - Moose::Meta::Role::Method.3 \ - Moose::Meta::Role::Method::Conflicting.3 \ - Moose::Meta::Role::Method::Required.3 \ - Moose::Meta::TypeCoercion.3 \ - Moose::Meta::TypeCoercion::Union.3 \ - Moose::Meta::TypeConstraint.3 \ - Moose::Meta::TypeConstraint::Class.3 \ - Moose::Meta::TypeConstraint::DuckType.3 \ - Moose::Meta::TypeConstraint::Enum.3 \ - Moose::Meta::TypeConstraint::Parameterizable.3 \ - Moose::Meta::TypeConstraint::Parameterized.3 \ - Moose::Meta::TypeConstraint::Registry.3 \ - Moose::Meta::TypeConstraint::Role.3 \ - Moose::Meta::TypeConstraint::Union.3 \ - Moose::Object.3 \ - Moose::Role.3 \ - Moose::Spec::Role.3 \ - Moose::Unsweetened.3 \ - Moose::Util.3 \ - Moose::Util::MetaRole.3 \ - Moose::Util::TypeConstraints.3 \ - Moose::Util::TypeConstraints::Builtins.3 \ - Test::Moose.3 \ - metaclass.3 \ - oose.3 +MAN3= Class::MOP.3 \ + Class::MOP::Attribute.3 \ + Class::MOP::Class.3 \ + Class::MOP::Class::Immutable::Trait.3 \ + Class::MOP::Deprecated.3 \ + Class::MOP::Instance.3 \ + Class::MOP::Method.3 \ + Class::MOP::Method::Accessor.3 \ + Class::MOP::Method::Constructor.3 \ + Class::MOP::Method::Generated.3 \ + Class::MOP::Method::Inlined.3 \ + Class::MOP::Method::Meta.3 \ + Class::MOP::Method::Overload.3 \ + Class::MOP::Method::Wrapped.3 \ + Class::MOP::MiniTrait.3 \ + Class::MOP::Mixin.3 \ + Class::MOP::Mixin::AttributeCore.3 \ + Class::MOP::Mixin::HasAttributes.3 \ + Class::MOP::Mixin::HasMethods.3 \ + Class::MOP::Module.3 \ + Class::MOP::Object.3 \ + Class::MOP::Package.3 \ + Moose.3 \ + Moose::Conflicts.3 \ + Moose::Cookbook.3 \ + Moose::Cookbook::Basics::BankAccount_MethodModifiersAndSubclassing.3 \ + Moose::Cookbook::Basics::BinaryTree_AttributeFeatures.3 \ + Moose::Cookbook::Basics::BinaryTree_BuilderAndLazyBuild.3 \ + Moose::Cookbook::Basics::Company_Subtypes.3 \ + Moose::Cookbook::Basics::DateTime_ExtendingNonMooseParent.3 \ + Moose::Cookbook::Basics::Document_AugmentAndInner.3 \ + Moose::Cookbook::Basics::Genome_OverloadingSubtypesAndCoercion.3 \ + Moose::Cookbook::Basics::HTTP_SubtypesAndCoercion.3 \ + Moose::Cookbook::Basics::Immutable.3 \ + Moose::Cookbook::Basics::Person_BUILDARGSAndBUILD.3 \ + Moose::Cookbook::Basics::Point_AttributesAndSubclassing.3 \ + Moose::Cookbook::Extending::Debugging_BaseClassRole.3 \ + Moose::Cookbook::Extending::ExtensionOverview.3 \ + Moose::Cookbook::Extending::Mooseish_MooseSugar.3 \ + Moose::Cookbook::Legacy::Debugging_BaseClassReplacement.3 \ + Moose::Cookbook::Legacy::Labeled_AttributeMetaclass.3 \ + Moose::Cookbook::Legacy::Table_ClassMetaclass.3 \ + Moose::Cookbook::Meta::GlobRef_InstanceMetaclass.3 \ + Moose::Cookbook::Meta::Labeled_AttributeTrait.3 \ + Moose::Cookbook::Meta::PrivateOrPublic_MethodMetaclass.3 \ + Moose::Cookbook::Meta::Table_MetaclassTrait.3 \ + Moose::Cookbook::Meta::WhyMeta.3 \ + Moose::Cookbook::Roles::ApplicationToInstance.3 \ + Moose::Cookbook::Roles::Comparable_CodeReuse.3 \ + Moose::Cookbook::Roles::Restartable_AdvancedComposition.3 \ + Moose::Cookbook::Snack::Keywords.3 \ + Moose::Cookbook::Snack::Types.3 \ + Moose::Cookbook::Style.3 \ + Moose::Deprecated.3 \ + Moose::Error::Confess.3 \ + Moose::Error::Croak.3 \ + Moose::Error::Default.3 \ + Moose::Error::Util.3 \ + Moose::Exporter.3 \ + Moose::Intro.3 \ + Moose::Manual.3 \ + Moose::Manual::Attributes.3 \ + Moose::Manual::BestPractices.3 \ + Moose::Manual::Classes.3 \ + Moose::Manual::Concepts.3 \ + Moose::Manual::Construction.3 \ + Moose::Manual::Contributing.3 \ + Moose::Manual::Delegation.3 \ + Moose::Manual::Delta.3 \ + Moose::Manual::FAQ.3 \ + Moose::Manual::MOP.3 \ + Moose::Manual::MethodModifiers.3 \ + Moose::Manual::MooseX.3 \ + Moose::Manual::Roles.3 \ + Moose::Manual::Support.3 \ + Moose::Manual::Types.3 \ + Moose::Manual::Unsweetened.3 \ + Moose::Meta::Attribute.3 \ + Moose::Meta::Attribute::Native.3 \ + Moose::Meta::Attribute::Native::Trait.3 \ + Moose::Meta::Attribute::Native::Trait::Array.3 \ + Moose::Meta::Attribute::Native::Trait::Bool.3 \ + Moose::Meta::Attribute::Native::Trait::Code.3 \ + Moose::Meta::Attribute::Native::Trait::Counter.3 \ + Moose::Meta::Attribute::Native::Trait::Hash.3 \ + Moose::Meta::Attribute::Native::Trait::Number.3 \ + Moose::Meta::Attribute::Native::Trait::String.3 \ + Moose::Meta::Class.3 \ + Moose::Meta::Class::Immutable::Trait.3 \ + Moose::Meta::Instance.3 \ + Moose::Meta::Method.3 \ + Moose::Meta::Method::Accessor.3 \ + Moose::Meta::Method::Augmented.3 \ + Moose::Meta::Method::Constructor.3 \ + Moose::Meta::Method::Delegation.3 \ + Moose::Meta::Method::Destructor.3 \ + Moose::Meta::Method::Meta.3 \ + Moose::Meta::Method::Overridden.3 \ + Moose::Meta::Mixin::AttributeCore.3 \ + Moose::Meta::Object::Trait.3 \ + Moose::Meta::Role.3 \ + Moose::Meta::Role::Application.3 \ + Moose::Meta::Role::Application::RoleSummation.3 \ + Moose::Meta::Role::Application::ToClass.3 \ + Moose::Meta::Role::Application::ToInstance.3 \ + Moose::Meta::Role::Application::ToRole.3 \ + Moose::Meta::Role::Attribute.3 \ + Moose::Meta::Role::Composite.3 \ + Moose::Meta::Role::Method.3 \ + Moose::Meta::Role::Method::Conflicting.3 \ + Moose::Meta::Role::Method::Required.3 \ + Moose::Meta::TypeCoercion.3 \ + Moose::Meta::TypeCoercion::Union.3 \ + Moose::Meta::TypeConstraint.3 \ + Moose::Meta::TypeConstraint::Class.3 \ + Moose::Meta::TypeConstraint::DuckType.3 \ + Moose::Meta::TypeConstraint::Enum.3 \ + Moose::Meta::TypeConstraint::Parameterizable.3 \ + Moose::Meta::TypeConstraint::Parameterized.3 \ + Moose::Meta::TypeConstraint::Registry.3 \ + Moose::Meta::TypeConstraint::Role.3 \ + Moose::Meta::TypeConstraint::Union.3 \ + Moose::Object.3 \ + Moose::Role.3 \ + Moose::Spec::Role.3 \ + Moose::Unsweetened.3 \ + Moose::Util.3 \ + Moose::Util::MetaRole.3 \ + Moose::Util::TypeConstraints.3 \ + Moose::Util::TypeConstraints::Builtins.3 \ + Test::Moose.3 \ + metaclass.3 \ + oose.3 -post-extract: - @${PERL} -i -ne 'print unless m,^(check_conflicts),' ${WRKSRC}/Makefile.PL +post-patch: + @${REINPLACE_CMD} -e '/^check_conflicts()/d' ${WRKSRC}/Makefile.PL post-install: - @${CAT} ${PKGDIR}/pkg-message + @${CAT} ${PKGMESSAGE} -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 501600 +BUILD_DEPENDS+= p5-Carp>=1.22:${PORTSDIR}/devel/p5-Carp +RUN_DEPENDS+= p5-Carp>=1.22:${PORTSDIR}/devel/p5-Carp +.endif + +.include <bsd.port.post.mk> diff --git a/devel/p5-Moose/distinfo b/devel/p5-Moose/distinfo index 64d1b0b15630..659cf03a7237 100644 --- a/devel/p5-Moose/distinfo +++ b/devel/p5-Moose/distinfo @@ -1,2 +1,2 @@ -SHA256 (Moose-2.0802.tar.gz) = 4259c160c226fd76468b4a7e5b913df14b5cf1deaf040080b0484e96e27e35d3 -SIZE (Moose-2.0802.tar.gz) = 655624 +SHA256 (Moose-2.1005.tar.gz) = 41944b35ef3212b74a6979179d1ec275eff15203ed0291d09517efbdc3d42eda +SIZE (Moose-2.1005.tar.gz) = 713142 diff --git a/devel/p5-Moose/pkg-plist b/devel/p5-Moose/pkg-plist index 93e6f3bd2756..814ef2b74c9f 100644 --- a/devel/p5-Moose/pkg-plist +++ b/devel/p5-Moose/pkg-plist @@ -38,8 +38,8 @@ bin/moose-outdated %%SITE_PERL%%/%%PERL_ARCH%%/Moose/Cookbook/Extending/Debugging_BaseClassRole.pod %%SITE_PERL%%/%%PERL_ARCH%%/Moose/Cookbook/Extending/ExtensionOverview.pod %%SITE_PERL%%/%%PERL_ARCH%%/Moose/Cookbook/Extending/Mooseish_MooseSugar.pod -%%SITE_PERL%%/%%PERL_ARCH%%/Moose/Cookbook/Legacy/Debugging_BaseClassReplacement.pm -%%SITE_PERL%%/%%PERL_ARCH%%/Moose/Cookbook/Legacy/Labeled_AttributeMetaclass.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Moose/Cookbook/Legacy/Debugging_BaseClassReplacement.pod +%%SITE_PERL%%/%%PERL_ARCH%%/Moose/Cookbook/Legacy/Labeled_AttributeMetaclass.pod %%SITE_PERL%%/%%PERL_ARCH%%/Moose/Cookbook/Legacy/Table_ClassMetaclass.pod %%SITE_PERL%%/%%PERL_ARCH%%/Moose/Cookbook/Meta/GlobRef_InstanceMetaclass.pod %%SITE_PERL%%/%%PERL_ARCH%%/Moose/Cookbook/Meta/Labeled_AttributeTrait.pod |