aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-01-12 21:54:05 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-01-12 21:54:05 +0000
commite315b729bbc39465204700eb6028a13991236003 (patch)
tree5dd86cde7a8b66702e236e70109a50c4321e214b /www
parente316b01ad0236e571b1d9b0a21adb1419d963445 (diff)
downloadports-e315b729bbc39465204700eb6028a13991236003.tar.gz
ports-e315b729bbc39465204700eb6028a13991236003.zip
Notes
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/p5-Catalyst-Plugin-Params-Nested/Makefile34
-rw-r--r--www/p5-Catalyst-Plugin-Params-Nested/distinfo3
-rw-r--r--www/p5-Catalyst-Plugin-Params-Nested/pkg-descr23
-rw-r--r--www/p5-Catalyst-Plugin-Params-Nested/pkg-plist12
5 files changed, 73 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 1f661824a456..1cd347025602 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -574,6 +574,7 @@
SUBDIR += p5-Catalyst-Plugin-HTML-Widget
SUBDIR += p5-Catalyst-Plugin-I18N
SUBDIR += p5-Catalyst-Plugin-PageCache
+ SUBDIR += p5-Catalyst-Plugin-Params-Nested
SUBDIR += p5-Catalyst-Plugin-Pluggable
SUBDIR += p5-Catalyst-Plugin-Prototype
SUBDIR += p5-Catalyst-Plugin-Session
diff --git a/www/p5-Catalyst-Plugin-Params-Nested/Makefile b/www/p5-Catalyst-Plugin-Params-Nested/Makefile
new file mode 100644
index 000000000000..4f62447a073e
--- /dev/null
+++ b/www/p5-Catalyst-Plugin-Params-Nested/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: www/p5-Catalyst-Plugin-Params-Nested
+# Date created: 28 Dec 2006
+# Whom: Fernan Aguero <fernan@iib.unsam.edu.ar>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Catalyst-Plugin-Params-Nested
+PORTVERSION= 0.02
+CATEGORIES= www perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Catalyst
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= fernan@iib.unsam.edu.ar
+COMMENT= Nested params (ala Ruby on Rails or PHP-style param arrays)
+
+BUILD_DEPENDS= p5-CGI-Expand>=1.06:${PORTSDIR}/www/p5-CGI-Expand \
+ p5-Test-MockObject>=0:${PORTSDIR}/devel/p5-Test-MockObject
+RUN_DEPENDS= ${BUILD_DEPENDS} \
+ p5-Catalyst-Runtime>=5.7000:${PORTSDIR}/www/p5-Catalyst-Runtime
+
+PERL_CONFIGURE= yes
+
+MAN3= Catalyst::Plugin::Params::Nested.3 \
+ Catalyst::Plugin::Params::Nested::Expander.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} <= 500801
+IGNORE= requires Perl 5.8.1. Install lang/perl5.8, and try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/www/p5-Catalyst-Plugin-Params-Nested/distinfo b/www/p5-Catalyst-Plugin-Params-Nested/distinfo
new file mode 100644
index 000000000000..c09efd08bca7
--- /dev/null
+++ b/www/p5-Catalyst-Plugin-Params-Nested/distinfo
@@ -0,0 +1,3 @@
+MD5 (Catalyst-Plugin-Params-Nested-0.02.tar.gz) = 96a048308a51ca8e79789522f0a64522
+SHA256 (Catalyst-Plugin-Params-Nested-0.02.tar.gz) = 28e1a0b4d42c4ae428b7929aaf8464c3adc23d2ab08c0f1e0e7f91d035f8bd40
+SIZE (Catalyst-Plugin-Params-Nested-0.02.tar.gz) = 4043
diff --git a/www/p5-Catalyst-Plugin-Params-Nested/pkg-descr b/www/p5-Catalyst-Plugin-Params-Nested/pkg-descr
new file mode 100644
index 000000000000..dafc48ce11c3
--- /dev/null
+++ b/www/p5-Catalyst-Plugin-Params-Nested/pkg-descr
@@ -0,0 +1,23 @@
+Ruby on Rails has a nice feature to create nested parameters that help
+with the organization of data in a form - parameters can be an
+arbitrarily deep nested structure.
+
+The way this structure is denoted is that when you construct a form the
+field names have a special syntax which is parsed.
+
+This plugin supports two syntaxes:
+
+dot notation
+
+ <input name="foo.bar.gorch" />
+
+subscript notation
+
+ <input name="foo[bar][gorch]" />
+
+When reading query parameters from $c->req you can now access all the
+items starting with "foo" as one entity using $c->req->param('foo');.
+Each subitem, denoted by either the dot or the square brackets, will be
+returned as a further deeper hashref.
+
+WWW: http://search.cpan.org/dist/Catalyst-Plugin-Params-Nested
diff --git a/www/p5-Catalyst-Plugin-Params-Nested/pkg-plist b/www/p5-Catalyst-Plugin-Params-Nested/pkg-plist
new file mode 100644
index 000000000000..914b10c72e4a
--- /dev/null
+++ b/www/p5-Catalyst-Plugin-Params-Nested/pkg-plist
@@ -0,0 +1,12 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Catalyst/Plugin/Params/Nested/.packlist
+%%SITE_PERL%%/Catalyst/Plugin/Params/Nested.pm
+%%SITE_PERL%%/Catalyst/Plugin/Params/Nested/Expander.pm
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Catalyst/Plugin/Params/Nested
+@dirrmtry %%SITE_PERL%%/Catalyst/Plugin/Params/Nested
+@dirrmtry %%SITE_PERL%%/Catalyst/Plugin/Params
+@dirrmtry %%SITE_PERL%%/Catalyst/Plugin
+@dirrmtry %%SITE_PERL%%/Catalyst
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Catalyst/Plugin/Params/Nested
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Catalyst/Plugin/Params
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Catalyst/Plugin
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Catalyst