2021-05-24 21:49:01 +02:00
|
|
|
# $NetBSD: Makefile,v 1.30 2021/05/24 19:55:31 wiz Exp $
|
2010-01-26 16:43:38 +01:00
|
|
|
|
2019-01-04 09:33:47 +01:00
|
|
|
DISTNAME= HTML-FormFu-2.07
|
2010-01-26 16:43:38 +01:00
|
|
|
PKGNAME= p5-${DISTNAME}
|
2021-05-24 21:49:01 +02:00
|
|
|
PKGREVISION= 3
|
2010-01-26 16:43:38 +01:00
|
|
|
CATEGORIES= www perl5
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=HTML/}
|
|
|
|
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2019-06-30 22:14:13 +02:00
|
|
|
HOMEPAGE= https://metacpan.org/release/HTML-FormFu
|
2010-01-26 16:43:38 +01:00
|
|
|
COMMENT= HTML Form Creation, Rendering and Validation Framework
|
|
|
|
LICENSE= ${PERL5_LICENSE}
|
|
|
|
|
2010-09-24 00:32:50 +02:00
|
|
|
DEPENDS+= p5-Captcha-reCAPTCHA>=0.93:../../www/p5-Captcha-reCAPTCHA
|
2010-01-26 16:43:38 +01:00
|
|
|
DEPENDS+= p5-Class-Accessor-Chained-[0-9]*:../../devel/p5-Class-Accessor-Chained
|
2010-09-15 08:40:32 +02:00
|
|
|
DEPENDS+= p5-Clone>=0.31:../../devel/p5-Clone
|
|
|
|
DEPENDS+= p5-Config-Any>=0.18:../../devel/p5-Config-Any
|
2010-01-26 16:43:38 +01:00
|
|
|
DEPENDS+= p5-Crypt-CBC-[0-9]*:../../security/p5-Crypt-CBC
|
|
|
|
DEPENDS+= p5-Crypt-DES-[0-9]*:../../security/p5-Crypt-DES
|
2010-09-15 08:40:32 +02:00
|
|
|
DEPENDS+= p5-Data-Visitor>=0.26:../../devel/p5-Data-Visitor
|
2010-01-26 16:43:38 +01:00
|
|
|
DEPENDS+= p5-Date-Calc-[0-9]*:../../devel/p5-Date-Calc
|
2013-10-27 14:31:04 +01:00
|
|
|
DEPENDS+= p5-DateTime>=0.54:../../time/p5-DateTime
|
2010-01-26 16:43:38 +01:00
|
|
|
DEPENDS+= p5-DateTime-Format-Builder>=0.7901:../../time/p5-DateTime-Format-Builder
|
|
|
|
DEPENDS+= p5-DateTime-Format-Natural-[0-9]*:../../time/p5-DateTime-Format-Natural
|
2010-09-15 08:40:32 +02:00
|
|
|
DEPENDS+= p5-DateTime-Format-Strptime>=1.2000:../../time/p5-DateTime-Format-Strptime
|
|
|
|
DEPENDS+= p5-DateTime-Locale>=0.45:../../time/p5-DateTime-Locale
|
2010-01-26 16:43:38 +01:00
|
|
|
DEPENDS+= p5-Email-Valid-[0-9]*:../../mail/p5-Email-Valid
|
|
|
|
DEPENDS+= p5-File-ShareDir-[0-9]*:../../devel/p5-File-ShareDir
|
2014-02-24 04:09:51 +01:00
|
|
|
DEPENDS+= p5-File-ShareDir-Install-[0-9]*:../../devel/p5-File-ShareDir-Install
|
2010-01-26 16:43:38 +01:00
|
|
|
DEPENDS+= p5-HTML-Scrubber-[0-9]*:../../www/p5-HTML-Scrubber
|
|
|
|
DEPENDS+= p5-HTML-TokeParser-Simple>=3.14:../../www/p5-HTML-TokeParser-Simple
|
|
|
|
DEPENDS+= p5-Hash-Flatten-[0-9]*:../../devel/p5-Hash-Flatten
|
|
|
|
DEPENDS+= p5-List-MoreUtils-[0-9]*:../../devel/p5-List-MoreUtils
|
2015-07-12 20:56:06 +02:00
|
|
|
#DEPENDS+= {perl>=5.10.0,p5-Scalar-List-Utils-[0-9]*}:../../devel/p5-Scalar-List-Utils
|
|
|
|
#DEPENDS+= {perl>=5.7.3,p5-Locale-Maketext-[0-9]*}:../../misc/p5-Locale-Maketext
|
2014-05-31 14:56:54 +02:00
|
|
|
DEPENDS+= p5-Module-Pluggable-[0-9]*:../../devel/p5-Module-Pluggable
|
2013-10-27 14:31:04 +01:00
|
|
|
DEPENDS+= p5-Moose>=1.00:../../devel/p5-Moose
|
|
|
|
DEPENDS+= p5-MooseX-Attribute-Chained>=1.0.1:../../devel/p5-MooseX-Attribute-Chained
|
2011-11-18 14:21:41 +01:00
|
|
|
DEPENDS+= p5-MooseX-Aliases-[0-9]*:../../devel/p5-MooseX-Aliases
|
|
|
|
DEPENDS+= p5-MooseX-SetOnce-[0-9]*:../../devel/p5-MooseX-SetOnce
|
2010-01-26 16:43:38 +01:00
|
|
|
DEPENDS+= p5-Number-Format-[0-9]*:../../textproc/p5-Number-Format
|
|
|
|
DEPENDS+= p5-Path-Class-[0-9]*:../../devel/p5-Path-Class
|
Update to 1.00
Add missing DEPENDS
Upstream changes:
1.00 2013-12-16
- TT template files changed - update them if you use a local copy.
Template file 'label_tag' renamed to 'label_element' - old file can
be deleted. 'field' file changed. New 'errors' file.
- TT no longer listed as a prerequisite. If you use the TT files,
you must add 'Template' to your own app's prereqs.
- Element::reCAPTCHA and Constraint::reCAPTCHA moved out to separate
distribution.
- HTML::FormFu::MultiForm moved out to separate distribution.
- auto_container_class(), auto_label_class(), auto_comment_class(),
auto_container_error_class(), auto_container_per_error_class(),
auto_error_class() no longer have default values.
See "RESTORING LEGACY HTML CLASSES" in HTML::FormFu docs to restore
previous behaviour.
- auto_label_class() no longer adds class to container.
auto_label_class() now adds class to label tag.
new auto_container_label_class() adds class to container.
See "RESTORING LEGACY HTML CLASSES" in HTML::FormFu docs to restore
previous behaviour.
- auto_comment_class() no longer adds class to both container and comment.
auto_comment_class() now only adds class to comment tag.
new auto_container_comment_class() adds class to container.
See "RESTORING LEGACY HTML CLASSES" in HTML::FormFu docs to restore
previous behaviour.
- Bug fix: param_value() form method now matches documented behaviour -
returns undef when field has errors. (Reported by Hailin Hu).
- New Element::Email and Element::URL HTML5 input fields.
- Role::Element::Input has new datalist_options(), datalist_values(),
datalist_id() and auto_datalist_id() methods to support HTML5 datalists.
auto_datalist_id() is an inherited accessor which can be set on the
Form, MultiForm, or Block.
- Form and Elements has new title() attribute short-cut.
- Constraint::Regex has new anchored() accessor.
- New Input attribute accessors: placeholder(), pattern(), autocomplete().
- New Input boolean attribute accessors: autofocus(), multiple(), required().
- New Field inherited accessors: auto_container_per_error_class(),
auto_error_container_class(), auto_error_container_per_error_class(),
error_tag(), error_container_tag
- Constraints have new experimental method fetch_error_message().
- All field elements have new method error_filename().
- default_args() now supports 'Block', 'Field', 'Input' pseudo-elements,
'|' alternatives, and '+' and '-' ancestor modifiers.
- New Czech (cs) I18N translation by Jan Grmela.
- mk_inherited_accessors() now also creates a *_no_inherit() method.
- Experimental new roles() form method.
- form methods start(), end() now respect render_method - no longer
force use of tt templates.
- Bug fix: del_attribute() on empty attribute no longer sets the attribute.
- All attribute accessors generated with mk_attrs() now have *_loc variants.
- form methods start(), end() now respect render_method - no longer
force use of tt templates.
- Tests now always require Test::Aggregate::Nested.
Re-enable aggregate tests on Win32.
Don't run all tests twice under both aggregate and t/ (doh!)
2014-02-23 12:32:16 +01:00
|
|
|
DEPENDS+= p5-Readonly>=0:../../devel/p5-Readonly
|
2010-01-26 16:43:38 +01:00
|
|
|
DEPENDS+= p5-Regexp-Common-[0-9]*:../../textproc/p5-Regexp-Common
|
2010-09-15 08:40:32 +02:00
|
|
|
#DEPENDS+= p5-Regexp-Copy-[0-9]*:../../textproc/p5-Regexp-Copy
|
2010-01-26 16:43:38 +01:00
|
|
|
DEPENDS+= p5-Task-Weaken-[0-9]*:../../devel/p5-Task-Weaken
|
|
|
|
DEPENDS+= p5-Template-Toolkit>=2:../../www/p5-Template-Toolkit
|
|
|
|
DEPENDS+= p5-YAML-LibYAML>=0.32:../../textproc/p5-YAML-LibYAML
|
|
|
|
DEPENDS+= p5-libwww>=5:../../www/p5-libwww
|
|
|
|
|
2015-07-12 20:56:06 +02:00
|
|
|
#BUILD_DEPENDS+= {perl>=5.10.1,p5-Test-Simple>=0.92}:../../devel/p5-Test-Simple
|
2019-11-04 23:09:50 +01:00
|
|
|
BUILD_DEPENDS+= p5-Test-NoWarnings-[0-9]*:../../devel/p5-Test-NoWarnings
|
2010-01-26 16:43:38 +01:00
|
|
|
|
|
|
|
USE_LANGUAGES= c
|
|
|
|
|
|
|
|
PERL5_PACKLIST= auto/HTML/FormFu/.packlist
|
2010-09-15 08:40:32 +02:00
|
|
|
PERL5_MODULE_TYPE= Module::Install::Bundled
|
2010-01-26 16:43:38 +01:00
|
|
|
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|