freebsd-ports/devel/p5-Form-Sensible/Makefile
Sunpoet Po-Chuan Hsieh 354b511980 - Add p5-Form-Sensible 0.20023
Form::Sensible is a different kind of form library. Form::Sensible is not just
another HTML form creator, or a form validator, though it can do both.
Form::Sensible, instead, focuses on what forms are: a method to relay
information to and from a user interface.

Form::Sensible forms are primarily tied to the data they represent.
Form::Sensible is not tied to HTML in any way. You could render Form::Sensible
forms using any presentation system you like, whether that's HTML, console
prompts, WxPerl or voice prompts. (* currently only an HTML renderer is provided
with Form::Sensible, but work is already under way to produce others.)

Features:
- Easy form validation
- Ability to easily save created forms for future use
- Define form once, render any number of ways
- Flexible built-in form validator
- Easily extended to produce new renderers, field types and validation
- HTML renderer produces sane html that can be easily styled via CSS
- HTML renderer allows for custom templates to control all aspects of form
  rendering.
- HTML output not tied to any javascript library.

WWW: http://search.cpan.org/dist/Form-Sensible/
2012-02-13 09:45:24 +00:00

58 lines
1.8 KiB
Makefile

# New ports collection makefile for: p5-Form-Sensible
# Date created: 2012-02-13
# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Form-Sensible
PORTVERSION= 0.20.023
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
DISTNAME= ${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= A sensible way to handle form based user interface
BUILD_DEPENDS= p5-DateTime>=0:${PORTSDIR}/devel/p5-DateTime \
p5-DateTime-Format-Natural>=0:${PORTSDIR}/devel/p5-DateTime-Format-Natural \
p5-DateTime-Set>=0:${PORTSDIR}/devel/p5-DateTime-Set \
p5-File-ShareDir>=0:${PORTSDIR}/devel/p5-File-ShareDir \
p5-Moose>=2:${PORTSDIR}/devel/p5-Moose \
p5-Template-Toolkit>=0:${PORTSDIR}/www/p5-Template-Toolkit \
p5-namespace-autoclean>=0:${PORTSDIR}/devel/p5-namespace-autoclean
RUN_DEPENDS:= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN3= Form::Sensible.3 \
Form::Sensible::DelegateConnection.3 \
Form::Sensible::Delegation.3 \
Form::Sensible::FAQ.3 \
Form::Sensible::Field.3 \
Form::Sensible::Field::DateTime.3 \
Form::Sensible::Field::FileSelector.3 \
Form::Sensible::Field::LongText.3 \
Form::Sensible::Field::Number.3 \
Form::Sensible::Field::Select.3 \
Form::Sensible::Field::SubForm.3 \
Form::Sensible::Field::Text.3 \
Form::Sensible::Field::Toggle.3 \
Form::Sensible::Field::Trigger.3 \
Form::Sensible::Form.3 \
Form::Sensible::Overview.3 \
Form::Sensible::Reflector.3 \
Form::Sensible::Renderer.3 \
Form::Sensible::Renderer::HTML.3 \
Form::Sensible::Renderer::HTML::RenderedForm.3 \
Form::Sensible::Validator.3 \
Form::Sensible::Validator::Result.3
post-extract:
@${RM} ${WRKSRC}/lib/Form/Sensible/Renderer/HTML/RenderedForm.pm.orig
#post-patch:
# @${REINPLACE_CMD} -e 's|Form-Sensible|Form::Sensible|' ${WRKSRC}/Makefile.PL
.include <bsd.port.mk>