aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-07-29 01:14:16 +0800
committermiwi <miwi@FreeBSD.org>2009-07-29 01:14:16 +0800
commit29050446054daf6317a9b583d2f998b5b6fec8e3 (patch)
tree102c0a2e756acdd5a8c71371726bebf219b15957 /www
parent93a341376c3d4106bbfdae63a550e1c7d0440608 (diff)
downloadfreebsd-ports-gnome-29050446054daf6317a9b583d2f998b5b6fec8e3.tar.gz
freebsd-ports-gnome-29050446054daf6317a9b583d2f998b5b6fec8e3.tar.zst
freebsd-ports-gnome-29050446054daf6317a9b583d2f998b5b6fec8e3.zip
Adds a Catalyst::Component "COMPONENT" method to your Catalyst component base
class. This method reads the optional traits parameter from app and component config and instantiates the component subclass with those traits using "new_with_traits" in MooseX::Traits from MooseX::Traits::Pluggable. WWW: http://search.cpan.org/dist/CatalystX-Component-Traits/ PR: ports/137142 Submitted by: Bill Brinzer <bill.brinzer at gmail.com>
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/p5-CatalystX-Component-Traits/Makefile35
-rw-r--r--www/p5-CatalystX-Component-Traits/distinfo3
-rw-r--r--www/p5-CatalystX-Component-Traits/pkg-descr6
-rw-r--r--www/p5-CatalystX-Component-Traits/pkg-plist7
5 files changed, 52 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index d772144a3588..6e88766370b2 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -820,6 +820,7 @@
SUBDIR += p5-Catalyst-View-TT-ControllerLocal
SUBDIR += p5-Catalyst-View-Templated
SUBDIR += p5-Catalyst-View-XSLT
+ SUBDIR += p5-CatalystX-Component-Traits
SUBDIR += p5-Class-DBI-FromForm
SUBDIR += p5-ClearSilver
SUBDIR += p5-Compress-LeadingBlankSpaces
diff --git a/www/p5-CatalystX-Component-Traits/Makefile b/www/p5-CatalystX-Component-Traits/Makefile
new file mode 100644
index 000000000000..34afbe28060c
--- /dev/null
+++ b/www/p5-CatalystX-Component-Traits/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: www/p5-CatalystX-Component-Traits
+# Date created: 25 July 2009
+# Whom: Bill Brinzer <bill.brinzer@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= CatalystX-Component-Traits
+PORTVERSION= 0.06
+CATEGORIES= www perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= ../../authors/id/R/RK/RKITOVER/
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= bill.brinzer@gmail.com
+COMMENT= Automatic Trait Loading and Resolution for Catalyst Components
+
+BUILD_DEPENDS= \
+ p5-Catalyst-Runtime>=5.80005:${PORTSDIR}/www/p5-Catalyst-Runtime \
+ p5-List-MoreUtils>=0:${PORTSDIR}/lang/p5-List-MoreUtils \
+ p5-Moose-Autobox>=0:${PORTSDIR}/devel/p5-Moose-Autobox \
+ p5-MooseX-Traits-Pluggable>=0.06:${PORTSDIR}/devel/p5-MooseX-Traits-Pluggable \
+ p5-namespace-autoclean>=0:${PORTSDIR}/devel/p5-namespace-autoclean
+RUN_DEPENDS= \
+ p5-Catalyst-Runtime>=5.80005:${PORTSDIR}/www/p5-Catalyst-Runtime \
+ p5-List-MoreUtils>=0:${PORTSDIR}/lang/p5-List-MoreUtils \
+ p5-Moose-Autobox>=0:${PORTSDIR}/devel/p5-Moose-Autobox \
+ p5-MooseX-Traits-Pluggable>=0.06:${PORTSDIR}/devel/p5-MooseX-Traits-Pluggable \
+ p5-namespace-autoclean>=0:${PORTSDIR}/devel/p5-namespace-autoclean
+
+PERL_CONFIGURE= 5.8.1+
+
+MAN3= CatalystX::Component::Traits.3
+
+.include <bsd.port.mk>
diff --git a/www/p5-CatalystX-Component-Traits/distinfo b/www/p5-CatalystX-Component-Traits/distinfo
new file mode 100644
index 000000000000..4fb2de5f59c7
--- /dev/null
+++ b/www/p5-CatalystX-Component-Traits/distinfo
@@ -0,0 +1,3 @@
+MD5 (CatalystX-Component-Traits-0.06.tar.gz) = 4fca3636bf6a7e18ac55f23b2c890596
+SHA256 (CatalystX-Component-Traits-0.06.tar.gz) = 348911fcb915f8fb273a38035e6cb87f0429b391979bfbedb00247bd01ecb665
+SIZE (CatalystX-Component-Traits-0.06.tar.gz) = 25276
diff --git a/www/p5-CatalystX-Component-Traits/pkg-descr b/www/p5-CatalystX-Component-Traits/pkg-descr
new file mode 100644
index 000000000000..7aa749cc982c
--- /dev/null
+++ b/www/p5-CatalystX-Component-Traits/pkg-descr
@@ -0,0 +1,6 @@
+Adds a Catalyst::Component "COMPONENT" method to your Catalyst component base
+class. This method reads the optional traits parameter from app and component
+config and instantiates the component subclass with those traits using
+"new_with_traits" in MooseX::Traits from MooseX::Traits::Pluggable.
+
+WWW: http://search.cpan.org/dist/CatalystX-Component-Traits/
diff --git a/www/p5-CatalystX-Component-Traits/pkg-plist b/www/p5-CatalystX-Component-Traits/pkg-plist
new file mode 100644
index 000000000000..d37e68df98ff
--- /dev/null
+++ b/www/p5-CatalystX-Component-Traits/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/CatalystX/Component/Traits.pm
+%%SITE_PERL%%/mach/auto/CatalystX/Component/Traits/.packlist
+@dirrmtry %%SITE_PERL%%/mach/auto/CatalystX/Component/Traits
+@dirrmtry %%SITE_PERL%%/mach/auto/CatalystX/Component
+@dirrmtry %%SITE_PERL%%/mach/auto/CatalystX
+@dirrmtry %%SITE_PERL%%/CatalystX/Component
+@dirrmtry %%SITE_PERL%%/CatalystX