1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00
freebsd-ports/devel/p5-Moose/Makefile
Philip M. Gollucci b59621d3ae - Revert ports/165605 as requested by portmgr@
Note: devel/p5-B-Size and devel/p5-Devel-Arena
where intentionally not restored.

PR:             ports/165605
Approved by:    portmgr (bapt)
Feature safe:   yes (I sure hope so)
2012-03-13 16:15:36 +00:00

204 lines
6.7 KiB
Makefile

# New ports collection makefile for: devel/p5-Moose
# Date created: 14 Apr 2006
# Whom: Lars Balker Rasmussen <lbr@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Moose
PORTVERSION= 2.0402
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:DOY
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= A complete modern object system for Perl 5
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
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}
# Do not add devel/p5-Data-Visitor to avoid cyclic dependency in tinderbox
TEST_DEPENDS= \
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-Deep>=0:${PORTSDIR}/devel/p5-Test-Deep \
p5-Test-Fatal>=0.001:${PORTSDIR}/devel/p5-Test-Fatal \
p5-Test-LeakTrace>=0:${PORTSDIR}/devel/p5-Test-LeakTrace \
p5-Test-Output>=0:${PORTSDIR}/devel/p5-Test-Output \
p5-Test-Requires>=0.05:${PORTSDIR}/devel/p5-Test-Requires
MAKE_JOBS_UNSAFE= yes
PERL_CONFIGURE= yes
CFLAGS+= -I. # mop.h
CONFLICTS= p5-Class-MOP-[0-9]*
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::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::Cookbook.3 \
Moose::Cookbook::Basics::Recipe1.3 \
Moose::Cookbook::Basics::Recipe10.3 \
Moose::Cookbook::Basics::Recipe11.3 \
Moose::Cookbook::Basics::Recipe2.3 \
Moose::Cookbook::Basics::Recipe3.3 \
Moose::Cookbook::Basics::Recipe4.3 \
Moose::Cookbook::Basics::Recipe5.3 \
Moose::Cookbook::Basics::Recipe6.3 \
Moose::Cookbook::Basics::Recipe7.3 \
Moose::Cookbook::Basics::Recipe8.3 \
Moose::Cookbook::Basics::Recipe9.3 \
Moose::Cookbook::Extending::Recipe1.3 \
Moose::Cookbook::Extending::Recipe2.3 \
Moose::Cookbook::Extending::Recipe3.3 \
Moose::Cookbook::Extending::Recipe4.3 \
Moose::Cookbook::Meta::Recipe1.3 \
Moose::Cookbook::Meta::Recipe2.3 \
Moose::Cookbook::Meta::Recipe3.3 \
Moose::Cookbook::Meta::Recipe4.3 \
Moose::Cookbook::Meta::Recipe5.3 \
Moose::Cookbook::Meta::Recipe6.3 \
Moose::Cookbook::Meta::Recipe7.3 \
Moose::Cookbook::Roles::Recipe1.3 \
Moose::Cookbook::Roles::Recipe2.3 \
Moose::Cookbook::Roles::Recipe3.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-install:
@${CAT} ${PKGDIR}/pkg-message
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 501001
TEST_DEPENDS+= p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple
.endif
.include <bsd.port.post.mk>