mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-20 08:27:15 +00:00
Add p5-FormValidator-Simple 0.10, validation with simple chains of
constraints. PR: ports/89358 Submitted by: Lars Balker Rasmussen <lars@balker.dk>
This commit is contained in:
parent
3f25523678
commit
bcf3ed8ed5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=148962
@ -290,6 +290,7 @@
|
||||
SUBDIR += p5-Data-FormValidator
|
||||
SUBDIR += p5-DelimMatch
|
||||
SUBDIR += p5-Filter-Simple
|
||||
SUBDIR += p5-FormValidator-Simple
|
||||
SUBDIR += p5-FreeBSD-Ports
|
||||
SUBDIR += p5-HTML-Entities-Numbered
|
||||
SUBDIR += p5-HTML-Format
|
||||
|
42
textproc/p5-FormValidator-Simple/Makefile
Normal file
42
textproc/p5-FormValidator-Simple/Makefile
Normal file
@ -0,0 +1,42 @@
|
||||
# New ports collection makefile for: FormValidator::Simple
|
||||
# Date created: 21 Nov 2005
|
||||
# Whom: Lars Balker Rasmussen <lars@balker.dk>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= FormValidator-Simple
|
||||
PORTVERSION= 0.10
|
||||
CATEGORIES= textproc perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||
MASTER_SITE_SUBDIR= ../by-authors/id/L/LY/LYOKATO
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= lars@balker.dk
|
||||
COMMENT= Validation with simple chains of constraints
|
||||
|
||||
BUILD_DEPENDS= p5-Class-Accessor>=0.22:${PORTSDIR}/devel/p5-Class-Accessor \
|
||||
p5-Class-Data-Inheritable>=0.04:${PORTSDIR}/devel/p5-Class-Data-Inheritable \
|
||||
p5-Class-Inspector>=1.13:${PORTSDIR}/devel/p5-Class-Inspector \
|
||||
p5-Date-Calc>=5.4:${PORTSDIR}/devel/p5-Date-Calc \
|
||||
p5-Email-Valid>=0.15:${PORTSDIR}/mail/p5-Email-Valid \
|
||||
p5-Email-Valid-Loose>=0.04:${PORTSDIR}/mail/p5-Email-Valid-Loose \
|
||||
p5-List-MoreUtils>=0.16:${PORTSDIR}/lang/p5-List-MoreUtils \
|
||||
p5-Mail-Tools>=0:${PORTSDIR}/mail/p5-Mail-Tools \
|
||||
p5-Tie-IxHash>=1.21:${PORTSDIR}/devel/p5-Tie-IxHash \
|
||||
p5-UNIVERSAL-require>=0.10:${PORTSDIR}/devel/p5-UNIVERSAL-require \
|
||||
p5-YAML>=0.39:${PORTSDIR}/textproc/p5-YAML
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
|
||||
MAN3= FormValidator::Simple.3 \
|
||||
FormValidator::Simple::Results.3
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PERL_LEVEL} < 500800
|
||||
IGNORE= requires perl 5.8 or later. Install lang/perl5.8 then try again
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
3
textproc/p5-FormValidator-Simple/distinfo
Normal file
3
textproc/p5-FormValidator-Simple/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (FormValidator-Simple-0.10.tar.gz) = 0920d4b1a3539de1df809c01318b5b65
|
||||
SHA256 (FormValidator-Simple-0.10.tar.gz) = 2f2282b0bab088b2fedc0c8e6a85d3d53f503808a212e1f088f60734c74668b1
|
||||
SIZE (FormValidator-Simple-0.10.tar.gz) = 16000
|
14
textproc/p5-FormValidator-Simple/pkg-descr
Normal file
14
textproc/p5-FormValidator-Simple/pkg-descr
Normal file
@ -0,0 +1,14 @@
|
||||
This module provides you a sweet way of form data validation with
|
||||
simple constraints chains.
|
||||
|
||||
You can write constraints on single line for each input data.
|
||||
|
||||
This idea is based on Sledge::Plugin::Validator, and most of
|
||||
validation code is borrowed from this plugin.
|
||||
|
||||
(Sledge is a MVC web application framework: http://sl.edge.jp [Japanese] )
|
||||
|
||||
The result object this module returns behaves like
|
||||
Data::FormValidator::Results.
|
||||
|
||||
WWW: http://search.cpan.org/dist/FormValidator-Simple/
|
18
textproc/p5-FormValidator-Simple/pkg-plist
Normal file
18
textproc/p5-FormValidator-Simple/pkg-plist
Normal file
@ -0,0 +1,18 @@
|
||||
%%SITE_PERL%%/FormValidator/Simple/Exception.pm
|
||||
%%SITE_PERL%%/FormValidator/Simple/Constraints.pm
|
||||
%%SITE_PERL%%/FormValidator/Simple/Iterator.pm
|
||||
%%SITE_PERL%%/FormValidator/Simple/Result.pm
|
||||
%%SITE_PERL%%/FormValidator/Simple/Results.pm
|
||||
%%SITE_PERL%%/FormValidator/Simple/Messages.pm
|
||||
%%SITE_PERL%%/FormValidator/Simple/Constraint.pm
|
||||
%%SITE_PERL%%/FormValidator/Simple/ArrayList.pm
|
||||
%%SITE_PERL%%/FormValidator/Simple/Validator.pm
|
||||
%%SITE_PERL%%/FormValidator/Simple/Constants.pm
|
||||
%%SITE_PERL%%/FormValidator/Simple/Profile.pm
|
||||
%%SITE_PERL%%/FormValidator/Simple/Data.pm
|
||||
%%SITE_PERL%%/FormValidator/Simple.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/FormValidator/Simple/.packlist
|
||||
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/FormValidator/Simple 2>/dev/null || true
|
||||
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/FormValidator 2>/dev/null || true
|
||||
@unexec rmdir %D/%%SITE_PERL%%/FormValidator/Simple 2>/dev/null || true
|
||||
@unexec rmdir %D/%%SITE_PERL%%/FormValidator 2>/dev/null || true
|
Loading…
Reference in New Issue
Block a user