pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/p5-CGI-FormBuilder Initial import of CGI-FormBuild...
details: https://anonhg.NetBSD.org/pkgsrc/rev/44fe9c5b8e4a
branches: trunk
changeset: 464205:44fe9c5b8e4a
user: grant <grant%pkgsrc.org@localhost>
date: Thu Dec 04 15:32:27 2003 +0000
description:
Initial import of CGI-FormBuilder-2.12 into the NetBSD packages
collection.
The goal of CGI::FormBuilder (FormBuilder) is to provide an easy way
for you to generate and process CGI form-based applications. This
module is designed to be smart in that it figures a lot of stuff out
for you. As a result, FormBuilder gives you about a 4:1 ratio of the
code it generates versus what you have to write.
For example, if you have multiple values for a field, it sticks them
in a radio, checkbox, or select group, depending on some factors. It
will also automatically name fields for you in human-readable labels
depending on the field names, and lay everything out in a nicely
formatted table. It will even title the form based on the name of the
script itself (order_form.cgi becomes "Order Form").
Plus, FormBuilder provides you full-blown validation for your fields,
including some useful builtin patterns. It will even generate
JavaScript validation routines on the fly! And, of course, it
maintains state ("stickiness") across submissions, with hooks provided
for you to plugin your own sessionid module such as Apache::Session.
And though it's smart, it allows you to customize it as well. For
example, if you really want something to be a checkbox, you can make
it a checkbox. And, if you really want something to be output a
specific way, you can even specify the name of an HTML::Template or
Template Toolkit (Template) compatible template which will be
automatically filled in, statefully.
diffstat:
www/p5-CGI-FormBuilder/DESCR | 25 +++++++++++++++++++++++++
www/p5-CGI-FormBuilder/Makefile | 17 +++++++++++++++++
www/p5-CGI-FormBuilder/PLIST | 1 +
www/p5-CGI-FormBuilder/distinfo | 4 ++++
4 files changed, 47 insertions(+), 0 deletions(-)
diffs (63 lines):
diff -r b3e95ae1c19a -r 44fe9c5b8e4a www/p5-CGI-FormBuilder/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/p5-CGI-FormBuilder/DESCR Thu Dec 04 15:32:27 2003 +0000
@@ -0,0 +1,25 @@
+The goal of CGI::FormBuilder (FormBuilder) is to provide an easy way
+for you to generate and process CGI form-based applications. This
+module is designed to be smart in that it figures a lot of stuff out
+for you. As a result, FormBuilder gives you about a 4:1 ratio of the
+code it generates versus what you have to write.
+
+For example, if you have multiple values for a field, it sticks them
+in a radio, checkbox, or select group, depending on some factors. It
+will also automatically name fields for you in human-readable labels
+depending on the field names, and lay everything out in a nicely
+formatted table. It will even title the form based on the name of the
+script itself (order_form.cgi becomes "Order Form").
+
+Plus, FormBuilder provides you full-blown validation for your fields,
+including some useful builtin patterns. It will even generate
+JavaScript validation routines on the fly! And, of course, it
+maintains state ("stickiness") across submissions, with hooks provided
+for you to plugin your own sessionid module such as Apache::Session.
+
+And though it's smart, it allows you to customize it as well. For
+example, if you really want something to be a checkbox, you can make
+it a checkbox. And, if you really want something to be output a
+specific way, you can even specify the name of an HTML::Template or
+Template Toolkit (Template) compatible template which will be
+automatically filled in, statefully.
diff -r b3e95ae1c19a -r 44fe9c5b8e4a www/p5-CGI-FormBuilder/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/p5-CGI-FormBuilder/Makefile Thu Dec 04 15:32:27 2003 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/12/04 15:32:27 grant Exp $
+
+DISTNAME= CGI-FormBuilder-2.12
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= www perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=CGI/}
+
+MAINTAINER= tech-pkg%NetBSD.org@localhost
+COMMENT= Perl5 module for building HTML forms
+
+USE_BUILDLINK2= YES
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/CGI-FormBuilder/.packlist
+
+DEPENDS+= p5-HTML-Template>=2.6:../../www/p5-HTML-Template
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r b3e95ae1c19a -r 44fe9c5b8e4a www/p5-CGI-FormBuilder/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/p5-CGI-FormBuilder/PLIST Thu Dec 04 15:32:27 2003 +0000
@@ -0,0 +1,1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/12/04 15:32:27 grant Exp $
diff -r b3e95ae1c19a -r 44fe9c5b8e4a www/p5-CGI-FormBuilder/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/p5-CGI-FormBuilder/distinfo Thu Dec 04 15:32:27 2003 +0000
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/12/04 15:32:27 grant Exp $
+
+SHA1 (CGI-FormBuilder-2.12.tar.gz) = 3987059087ac0a4a4d3c9dd1e3efa6056f6d58d4
+Size (CGI-FormBuilder-2.12.tar.gz) = 60376 bytes
Home |
Main Index |
Thread Index |
Old Index