aboutsummaryrefslogtreecommitdiff
path: root/www/p5-CGI-FormBuilder
diff options
context:
space:
mode:
authorLars Balker Rasmussen <lbr@FreeBSD.org>2006-09-17 12:50:33 +0000
committerLars Balker Rasmussen <lbr@FreeBSD.org>2006-09-17 12:50:33 +0000
commit1a3c0981a4e0dc6055a6a9279fe974526bd95cf5 (patch)
treed56e260a191b1c76c807ce66b43ef0b91c62df90 /www/p5-CGI-FormBuilder
parent08ba99b02fdc9d87d1804404a1d35ab2f7fe79cc (diff)
downloadports-1a3c0981a4e0dc6055a6a9279fe974526bd95cf5.tar.gz
ports-1a3c0981a4e0dc6055a6a9279fe974526bd95cf5.zip
Notes
Diffstat (limited to 'www/p5-CGI-FormBuilder')
-rw-r--r--www/p5-CGI-FormBuilder/Makefile62
-rw-r--r--www/p5-CGI-FormBuilder/distinfo3
-rw-r--r--www/p5-CGI-FormBuilder/pkg-descr23
-rw-r--r--www/p5-CGI-FormBuilder/pkg-plist56
4 files changed, 144 insertions, 0 deletions
diff --git a/www/p5-CGI-FormBuilder/Makefile b/www/p5-CGI-FormBuilder/Makefile
new file mode 100644
index 000000000000..ec29546defea
--- /dev/null
+++ b/www/p5-CGI-FormBuilder/Makefile
@@ -0,0 +1,62 @@
+# New ports collection makefile for: www/p5-CGI-FormBuilder
+# Date created: 14 Sep 2006
+# Whom: Fernan Aguero
+#
+# $FreeBSD$
+
+PORTNAME= CGI-FormBuilder
+PORTVERSION= 3.0401
+CATEGORIES= www perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= ../by-authors/id/N/NW/NWIGER
+PKGNAMEPREFIX= p5-
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= fernan@iib.unsam.edu.ar
+COMMENT= FormBuilder for CGI
+
+PERL_CONFIGURE= yes
+
+OPTIONS= TT "Template Toolkit support" on \
+ HTML_TEMPLATE "HTML::Template support" off \
+ TEXT_TEMPLATE "Text::Template support" off \
+ CGI_FAST_TEMPLATE "CGI::FastTemplate support" off
+
+MAN3= CGI::FormBuilder.3 \
+ CGI::FormBuilder::Template::Builtin.3 \
+ CGI::FormBuilder::Template::HTML.3 \
+ CGI::FormBuilder::Source::File.3 \
+ CGI::FormBuilder::Template.3 \
+ CGI::FormBuilder::Multi.3 \
+ CGI::FormBuilder::Template::TT2.3 \
+ CGI::FormBuilder::Test.3 \
+ CGI::FormBuilder::Util.3 \
+ CGI::FormBuilder::Template::Text.3 \
+ CGI::FormBuilder::Source.3 \
+ CGI::FormBuilder::Field.3 \
+ CGI::FormBuilder::Template::Fast.3 \
+ CGI::FormBuilder::Messages.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} <= 500503
+IGNORE= requires Perl 5.6. Install lang/perl5 or lang/perl5.8, and try again
+.endif
+
+.if !defined(WITHOUT_TT)
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Template.pm:${PORTSDIR}/www/p5-Template-Toolkit
+.endif
+
+.if defined(WITH_HTML_TEMPLATE)
+RUN_DEPENDS+= ${SITE_PERL}/HTML/Template.pm:${PORTSDIR}/www/p5-HTML-Template
+.endif
+
+.if defined(WITH_TEXT_TEMPLATE)
+RUN_DEPENDS+= ${SITE_PERL}/Text/Template.pm:${PORTSDIR}/textproc/p5-Text-Template
+.endif
+
+.if defined(WITH_CGI_FAST_TEMPLATE)
+RUN_DEPENDS+= ${SITE_PERL}/CGI/FastTemplate.pm:${PORTSDIR}/www/p5-CGI-FastTemplate
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/www/p5-CGI-FormBuilder/distinfo b/www/p5-CGI-FormBuilder/distinfo
new file mode 100644
index 000000000000..73387066a9de
--- /dev/null
+++ b/www/p5-CGI-FormBuilder/distinfo
@@ -0,0 +1,3 @@
+MD5 (CGI-FormBuilder-3.0401.tgz) = 4be7ab21c7df668f9144def961c40f55
+SHA256 (CGI-FormBuilder-3.0401.tgz) = fdd08800f6b871abfb743b22c038d66c8a5fc429121d983f4de38aa55d1c67bc
+SIZE (CGI-FormBuilder-3.0401.tgz) = 145489
diff --git a/www/p5-CGI-FormBuilder/pkg-descr b/www/p5-CGI-FormBuilder/pkg-descr
new file mode 100644
index 000000000000..07efbd9a6341
--- /dev/null
+++ b/www/p5-CGI-FormBuilder/pkg-descr
@@ -0,0 +1,23 @@
+The goal of CGI::FormBuilder (FormBuilder) is to provide an easy way
+for you to generate and process entire CGI form-based applications.
+Its main features are:
+
+* Field Abstraction
+ Viewing fields as entities (instead of just params), where the HTML
+ representation, CGI values, validation, and so on are properties of
+ each field.
+* DWIMmery
+ Lots of built-in "intelligence" (such as automatic field typing),
+ giving you about a 4:1 ratio of the code it generates versus what
+ you have to write.
+* Built-in Validation
+ Full-blown regex validation for fields, even including JavaScript
+ code generation.
+* Template Support
+ Pluggable support for external template engines, such as
+ HTML::Template, Text::Template, Template Toolkit, and
+ CGI::FastTemplate.
+
+Plus, the native HTML generated is valid XHTML 1.0 Transitional.
+
+WWW: http://www.formbuilder.org
diff --git a/www/p5-CGI-FormBuilder/pkg-plist b/www/p5-CGI-FormBuilder/pkg-plist
new file mode 100644
index 000000000000..4f9aa3ec0226
--- /dev/null
+++ b/www/p5-CGI-FormBuilder/pkg-plist
@@ -0,0 +1,56 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI/FormBuilder/.packlist
+%%SITE_PERL%%/CGI/FormBuilder.pm
+%%SITE_PERL%%/CGI/FormBuilder/Test.pm
+%%SITE_PERL%%/CGI/FormBuilder/Source.pm
+%%SITE_PERL%%/CGI/FormBuilder/Template.pm
+%%SITE_PERL%%/CGI/FormBuilder/Util.pm
+%%SITE_PERL%%/CGI/FormBuilder/Multi.pm
+%%SITE_PERL%%/CGI/FormBuilder/Field.pm
+%%SITE_PERL%%/CGI/FormBuilder/Messages.pm
+%%SITE_PERL%%/CGI/FormBuilder/Field/file.pm
+%%SITE_PERL%%/CGI/FormBuilder/Field/text.pm
+%%SITE_PERL%%/CGI/FormBuilder/Field/checkbox.pm
+%%SITE_PERL%%/CGI/FormBuilder/Field/static.pm
+%%SITE_PERL%%/CGI/FormBuilder/Field/hidden.pm
+%%SITE_PERL%%/CGI/FormBuilder/Field/button.pm
+%%SITE_PERL%%/CGI/FormBuilder/Field/password.pm
+%%SITE_PERL%%/CGI/FormBuilder/Field/image.pm
+%%SITE_PERL%%/CGI/FormBuilder/Field/radio.pm
+%%SITE_PERL%%/CGI/FormBuilder/Field/textarea.pm
+%%SITE_PERL%%/CGI/FormBuilder/Field/select.pm
+%%SITE_PERL%%/CGI/FormBuilder/Template/TT2.pm
+%%SITE_PERL%%/CGI/FormBuilder/Template/Fast.pm
+%%SITE_PERL%%/CGI/FormBuilder/Template/Text.pm
+%%SITE_PERL%%/CGI/FormBuilder/Template/HTML.pm
+%%SITE_PERL%%/CGI/FormBuilder/Template/Builtin.pm
+%%SITE_PERL%%/CGI/FormBuilder/Messages/es.pm
+%%SITE_PERL%%/CGI/FormBuilder/Messages/en.pm
+%%SITE_PERL%%/CGI/FormBuilder/Messages/da.pm
+%%SITE_PERL%%/CGI/FormBuilder/Messages/default.pm
+%%SITE_PERL%%/CGI/FormBuilder/Messages/de.pm
+%%SITE_PERL%%/CGI/FormBuilder/Messages/C.pm
+%%SITE_PERL%%/CGI/FormBuilder/Messages/_example.pm
+%%SITE_PERL%%/CGI/FormBuilder/Messages/da_DK.pm
+%%SITE_PERL%%/CGI/FormBuilder/Messages/ja.pm
+%%SITE_PERL%%/CGI/FormBuilder/Messages/no_NO.pm
+%%SITE_PERL%%/CGI/FormBuilder/Messages/es_ES.pm
+%%SITE_PERL%%/CGI/FormBuilder/Messages/fr_FR.pm
+%%SITE_PERL%%/CGI/FormBuilder/Messages/en_US.pm
+%%SITE_PERL%%/CGI/FormBuilder/Messages/de_DE.pm
+%%SITE_PERL%%/CGI/FormBuilder/Messages/ja_JP.pm
+%%SITE_PERL%%/CGI/FormBuilder/Messages/fr.pm
+%%SITE_PERL%%/CGI/FormBuilder/Messages/no.pm
+%%SITE_PERL%%/CGI/FormBuilder/Messages/tr.pm
+%%SITE_PERL%%/CGI/FormBuilder/Messages/tr_TR.pm
+%%SITE_PERL%%/CGI/FormBuilder/Source/File.pm
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI/FormBuilder
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%
+@dirrm %%SITE_PERL%%/CGI/FormBuilder/Field
+@dirrm %%SITE_PERL%%/CGI/FormBuilder/Template
+@dirrm %%SITE_PERL%%/CGI/FormBuilder/Messages
+@dirrm %%SITE_PERL%%/CGI/FormBuilder/Source
+@dirrm %%SITE_PERL%%/CGI/FormBuilder
+@dirrmtry %%SITE_PERL%%/CGI
+@dirrmtry %%SITE_PERL%%