aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-MooseX-Role-Parameterized
diff options
context:
space:
mode:
authorskv <skv@FreeBSD.org>2009-11-02 21:28:00 +0800
committerskv <skv@FreeBSD.org>2009-11-02 21:28:00 +0800
commit84c620d9ad1407451ed52764bb48bd2da17fd5ae (patch)
tree16aa7a5b18e395430f1384ad2c20e30070f82f5f /devel/p5-MooseX-Role-Parameterized
parentf29c9883f3c5b4fc4cda7d0066ba992ce7f5a9b7 (diff)
downloadfreebsd-ports-gnome-84c620d9ad1407451ed52764bb48bd2da17fd5ae.tar.gz
freebsd-ports-gnome-84c620d9ad1407451ed52764bb48bd2da17fd5ae.tar.zst
freebsd-ports-gnome-84c620d9ad1407451ed52764bb48bd2da17fd5ae.zip
Add p5-MooseX-Role-Parameterized 0.13, roles with composition
parameters.
Diffstat (limited to 'devel/p5-MooseX-Role-Parameterized')
-rw-r--r--devel/p5-MooseX-Role-Parameterized/Makefile29
-rw-r--r--devel/p5-MooseX-Role-Parameterized/distinfo3
-rw-r--r--devel/p5-MooseX-Role-Parameterized/pkg-descr21
-rw-r--r--devel/p5-MooseX-Role-Parameterized/pkg-plist15
4 files changed, 68 insertions, 0 deletions
diff --git a/devel/p5-MooseX-Role-Parameterized/Makefile b/devel/p5-MooseX-Role-Parameterized/Makefile
new file mode 100644
index 000000000000..66e8496c8ca7
--- /dev/null
+++ b/devel/p5-MooseX-Role-Parameterized/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: MooseX-Role-Parameterized
+# Date created: 18 Aug 2009
+# Whom: Sergey Skvortsov <skv@protey.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= MooseX-Role-Parameterized
+PORTVERSION= 0.13
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= skv@FreeBSD.org
+COMMENT= Roles with composition parameters
+
+BUILD_DEPENDS= p5-Moose>=0.78:${PORTSDIR}/devel/p5-Moose
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= MooseX::Role::Parameterized.3 \
+ MooseX::Role::Parameterized::Meta::Parameter.3 \
+ MooseX::Role::Parameterized::Meta::Role::Parameterizable.3 \
+ MooseX::Role::Parameterized::Meta::Role::Parameterized.3 \
+ MooseX::Role::Parameterized::Parameters.3 \
+ MooseX::Role::Parameterized::Tutorial.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-MooseX-Role-Parameterized/distinfo b/devel/p5-MooseX-Role-Parameterized/distinfo
new file mode 100644
index 000000000000..139a31e3e721
--- /dev/null
+++ b/devel/p5-MooseX-Role-Parameterized/distinfo
@@ -0,0 +1,3 @@
+MD5 (MooseX-Role-Parameterized-0.13.tar.gz) = e07137e63c19835e22bfed88dfff2091
+SHA256 (MooseX-Role-Parameterized-0.13.tar.gz) = 2fe3c834ca2760309395a142fe0bc105096c9914243c1ecb1803ee285d8fc1dd
+SIZE (MooseX-Role-Parameterized-0.13.tar.gz) = 26290
diff --git a/devel/p5-MooseX-Role-Parameterized/pkg-descr b/devel/p5-MooseX-Role-Parameterized/pkg-descr
new file mode 100644
index 000000000000..a4aed7f37a20
--- /dev/null
+++ b/devel/p5-MooseX-Role-Parameterized/pkg-descr
@@ -0,0 +1,21 @@
+Roles are composable units of behavior. They are useful for factoring
+out functionality common to many classes from any part of your class
+hierarchy. See Moose::Cookbook::Roles::Recipe1 for an introduction to
+Moose::Role.
+
+While combining roles affords you a great deal of flexibility,
+individual roles have very little in the way of configurability. Core
+Moose provides alias for renaming methods and excludes for ignoring
+methods. These options are primarily (perhaps solely) for
+disambiguating role conflicts. See Moose::Cookbook::Roles::Recipe2 for
+more about alias and excludes.
+
+Because roles serve many different masters, they usually provide only
+the least common denominator of functionality. To empower roles
+further, more configurability than alias and excludes is required.
+Perhaps your role needs to know which method to call when it is done.
+Or what default value to use for its url attribute.
+
+Parameterized roles offer exactly this solution.
+
+WWW: http://search.cpan.org/dist/MooseX-Role-Parameterized/
diff --git a/devel/p5-MooseX-Role-Parameterized/pkg-plist b/devel/p5-MooseX-Role-Parameterized/pkg-plist
new file mode 100644
index 000000000000..7819ccb937a3
--- /dev/null
+++ b/devel/p5-MooseX-Role-Parameterized/pkg-plist
@@ -0,0 +1,15 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX/Role/Parameterized/.packlist
+%%SITE_PERL%%/MooseX/Role/Parameterized.pm
+%%SITE_PERL%%/MooseX/Role/Parameterized/Parameters.pm
+%%SITE_PERL%%/MooseX/Role/Parameterized/Tutorial.pod
+%%SITE_PERL%%/MooseX/Role/Parameterized/Meta/Parameter.pm
+%%SITE_PERL%%/MooseX/Role/Parameterized/Meta/Role/Parameterizable.pm
+%%SITE_PERL%%/MooseX/Role/Parameterized/Meta/Role/Parameterized.pm
+@dirrm %%SITE_PERL%%/MooseX/Role/Parameterized/Meta/Role
+@dirrm %%SITE_PERL%%/MooseX/Role/Parameterized/Meta
+@dirrm %%SITE_PERL%%/MooseX/Role/Parameterized
+@dirrmtry %%SITE_PERL%%/MooseX/Role
+@dirrmtry %%SITE_PERL%%/MooseX
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX/Role/Parameterized
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX/Role
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX