pkgsrc/textproc/p5-Data-FormValidator/Makefile
wen 5ced506c3c Update to 4.80
Upstream changes:
4.80 Nov 1st, 2012

    [NEW FEATURES]
    - New built-in constraint_methods to test the number of values submitted for a
      particular field:

        FV_num_values(1),
        FV_num_values_between(1,2),  # inclusive

      One way that garbage can get through a Data::FormValidator profile is
      when two values are submitted when only one is intended. In this
      case, this application could end up with a values like this:

          ARRAY(0x841214c)

     Using these new constraints, you can precisely control how many values
     are allowed for each field.

    [INTERNAL]
    - Source control hosting has been moved to http://hub.darcs.net
      You can now browse, pull and fork the darcs repo through this website.


4.71 Oct 2nd, 2012

    [BUG FIXES]
    - Custom messages for built-in constraints work again. It appears that this
      was broken in 4.70, which triggered a sleeper bug.

      (Thanks to Lee Carmichael, Mark Stosberg, RT##73235)

4.70 11/11/11

    [NEW FEATURES]
    - Built-in constraints in Constraints.pm can now be renamed:

        constraint_methods => {
            first_names =>  {
                constraint_method => FV_max_length(3),
                name => 'custom_length',
            }
        },

     (Thanks to heinst@arqs.com.br for the suggestion, RT#49477)

    [INTERNALS]
    - modernize Constraints.pm and Results.pm a bit.
    - Module::Build added to configure_requires in Build.PL

4.67 11/11/11

    [INTERNALS]
    - modernize FormValidator.pm internals a bit
    - Update META.yml to exclude an internal package from getting indexed.
2012-12-01 13:57:18 +00:00

29 lines
1,016 B
Makefile

# $NetBSD: Makefile,v 1.20 2012/12/01 13:57:18 wen Exp $
DISTNAME= Data-FormValidator-4.80
PKGNAME= p5-${DISTNAME}
CATEGORIES= perl5 textproc
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Data/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/Data-FormValidator/
COMMENT= Validates user input based on input profile
LICENSE= ${PERL5_LICENSE}
DEPENDS+= p5-Date-Calc>=5.0:../../devel/p5-Date-Calc
DEPENDS+= p5-Email-Valid-[0-9]*:../../mail/p5-Email-Valid
DEPENDS+= p5-File-MMagic>=1.17:../../misc/p5-File-MMagic
DEPENDS+= p5-Image-Size-[0-9]*:../../graphics/p5-Image-Size
DEPENDS+= p5-MIME-Types>=1.005:../../mail/p5-MIME-Types
DEPENDS+= p5-Perl6-Junction-[0-9]*:../../devel/p5-Perl6-Junction
DEPENDS+= p5-Regexp-Common-[0-9]*:../../textproc/p5-Regexp-Common
BUILD_DEPENDS+= {perl>=5.11.1,p5-CGI>=3.48}:../../www/p5-CGI
PERL5_REQD+= 5.8.0
PERL5_PACKLIST= auto/Data/FormValidator/.packlist
PERL5_MODULE_TYPE= Module::Build
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"