diff --git a/devel/p5-MooseX-Traits/Makefile b/devel/p5-MooseX-Traits/Makefile new file mode 100644 index 00000000000..6f9d01227f3 --- /dev/null +++ b/devel/p5-MooseX-Traits/Makefile @@ -0,0 +1,20 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2010/01/12 09:43:05 jasper Exp $ + +COMMENT= automatically apply roles at object creation time + +DISTNAME= MooseX-Traits-0.07 + +CATEGORIES= devel + +# perl +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MODULES= cpan + +RUN_DEPENDS= ::devel/p5-Moose \ + ::devel/p5-Sub-Exporter \ + ::devel/p5-namespace-autoclean +.include diff --git a/devel/p5-MooseX-Traits/distinfo b/devel/p5-MooseX-Traits/distinfo new file mode 100644 index 00000000000..06a4f47c713 --- /dev/null +++ b/devel/p5-MooseX-Traits/distinfo @@ -0,0 +1,5 @@ +MD5 (MooseX-Traits-0.07.tar.gz) = gtjMzMlAD9f61VTliFyQ7g== +RMD160 (MooseX-Traits-0.07.tar.gz) = Xl9OeIYt1XUQ1/3YQeiCwCUV2EU= +SHA1 (MooseX-Traits-0.07.tar.gz) = r9iVyMD0kIhmVuWofu/WG5M6CbQ= +SHA256 (MooseX-Traits-0.07.tar.gz) = QGTxjX7VoOf/WPiyMRjwb0kAvfq3ODN5uVf3O5eLCXI= +SIZE (MooseX-Traits-0.07.tar.gz) = 18587 diff --git a/devel/p5-MooseX-Traits/pkg/DESCR b/devel/p5-MooseX-Traits/pkg/DESCR new file mode 100644 index 00000000000..14f1b4b31e9 --- /dev/null +++ b/devel/p5-MooseX-Traits/pkg/DESCR @@ -0,0 +1,6 @@ +Often you want to create components that can be added to a class +arbitrarily. This module makes it easy for the end user to use these +components. Instead of requiring the user to create a named class with +the desired roles applied, or applying roles to the instance one-by-one, +he can just pass a traits parameter to the class's new_with_traits +constructor. diff --git a/devel/p5-MooseX-Traits/pkg/PLIST b/devel/p5-MooseX-Traits/pkg/PLIST new file mode 100644 index 00000000000..6cb34833def --- /dev/null +++ b/devel/p5-MooseX-Traits/pkg/PLIST @@ -0,0 +1,6 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2010/01/12 09:43:05 jasper Exp $ +${P5SITE}/MooseX/ +${P5SITE}/MooseX/Traits/ +${P5SITE}/MooseX/Traits.pm +${P5SITE}/MooseX/Traits/Util.pm +@man man/man3p/MooseX::Traits.3p