summaryrefslogtreecommitdiff
path: root/www/p5-CGI-FormBuilder
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2003-12-04 15:32:27 +0000
committergrant <grant@pkgsrc.org>2003-12-04 15:32:27 +0000
commit74af1d22d3560a8900d21799c7d50e8cd4eec143 (patch)
treeeac7c2fce4ad834575e46d788af1371610667261 /www/p5-CGI-FormBuilder
parent96102dbf9dac1fc543de8faa318674b7d4a3b1ff (diff)
downloadpkgsrc-74af1d22d3560a8900d21799c7d50e8cd4eec143.tar.gz
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 (limited to 'www/p5-CGI-FormBuilder')
-rw-r--r--www/p5-CGI-FormBuilder/DESCR25
-rw-r--r--www/p5-CGI-FormBuilder/Makefile17
-rw-r--r--www/p5-CGI-FormBuilder/PLIST1
-rw-r--r--www/p5-CGI-FormBuilder/distinfo4
4 files changed, 47 insertions, 0 deletions
diff --git a/www/p5-CGI-FormBuilder/DESCR b/www/p5-CGI-FormBuilder/DESCR
new file mode 100644
index 00000000000..0bc876ecf7e
--- /dev/null
+++ b/www/p5-CGI-FormBuilder/DESCR
@@ -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 --git a/www/p5-CGI-FormBuilder/Makefile b/www/p5-CGI-FormBuilder/Makefile
new file mode 100644
index 00000000000..a3a2aac1784
--- /dev/null
+++ b/www/p5-CGI-FormBuilder/Makefile
@@ -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
+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 --git a/www/p5-CGI-FormBuilder/PLIST b/www/p5-CGI-FormBuilder/PLIST
new file mode 100644
index 00000000000..a6111268792
--- /dev/null
+++ b/www/p5-CGI-FormBuilder/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/12/04 15:32:27 grant Exp $
diff --git a/www/p5-CGI-FormBuilder/distinfo b/www/p5-CGI-FormBuilder/distinfo
new file mode 100644
index 00000000000..ca6d4fa675a
--- /dev/null
+++ b/www/p5-CGI-FormBuilder/distinfo
@@ -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