1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

Add p5-CGI-FormBuilder 3.0401, formBuilder for CGI.

PR:		ports/103267
Submitted by:	Fernan Aguero
This commit is contained in:
Lars Balker Rasmussen 2006-09-17 12:50:33 +00:00
parent 08ba99b02f
commit 1a3c0981a4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=173236
5 changed files with 145 additions and 0 deletions

View File

@ -504,6 +504,7 @@
SUBDIR += p5-CGI-Cache
SUBDIR += p5-CGI-Ex
SUBDIR += p5-CGI-FastTemplate
SUBDIR += p5-CGI-FormBuilder
SUBDIR += p5-CGI-Framework
SUBDIR += p5-CGI-Kwiki
SUBDIR += p5-CGI-Minimal

View File

@ -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>

View File

@ -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

View File

@ -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

View File

@ -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%%