- Update to 0.6.5

- Pass maintainership to submitter

PR:		ports/105300
Submitted by:	Anish Mistry
This commit is contained in:
Rong-En Fan 2006-11-09 09:27:22 +00:00
parent a10a6ac568
commit 2d5c9e3876
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=176916
3 changed files with 12 additions and 31 deletions

View file

@ -6,38 +6,22 @@
#
PORTNAME= Validate
PORTVERSION= 0.4.1
PORTVERSION= 0.6.5
CATEGORIES= devel www pear
MAINTAINER= ports@FreeBSD.org
COMMENT= Validation class
MAINTAINER= amistry@am-productions.biz
COMMENT= PEAR Validation class
BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
RUN_DEPENDS= ${BUILD_DEPENDS}
FILES= Validate.php Validate/Finance.php \
Validate/Finance/IBAN.php Validate/AT.php Validate/CH.php \
Validate/DE.php Validate/ES.php Validate/FR.php \
Validate/NL.php Validate/PL.php Validate/ptBR.php \
Validate/UK.php Validate/US.php
FILES= Validate.php
TESTS= number.php date.php credit_card.php validate_AT.php \
validate_CH.php validate_DE.php validate_NL.php \
validate_UK.php validate_Finance.php
TESTS= number.phpt testdate.phpt email.phpt multiple.phpt \
multicard.phpt uri.phpt
DOCS= sample_multiple.php
DATA= AT_postcodes.txt CH_postcodes.txt
DATAFILES= Validate/AT.php Validate/CH.php
REINPLACE_ARGS= -i ""
DOCS= sample_multiple.php Example_Locale.php
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
post-patch:
.for f in ${DATAFILES}
@${REINPLACE_CMD} -e "s|@DATADIR@/Validate|${DATADIR}|g" ${WRKSRC}/${f}
.endfor
.include <bsd.port.post.mk>

View file

@ -1,3 +1,3 @@
MD5 (PEAR/Validate-0.4.1.tgz) = 6203c4285dc8ff0736b823fa6e991de4
SHA256 (PEAR/Validate-0.4.1.tgz) = 2dbd35c1e85dda6add7f1edbd1c846ad06777a7752f5df8b65aca83f9e6004c2
SIZE (PEAR/Validate-0.4.1.tgz) = 37615
MD5 (PEAR/Validate-0.6.5.tgz) = c1098d188519b21ec0fe7acf08bba85c
SHA256 (PEAR/Validate-0.6.5.tgz) = a637ce32fe53097b730d80f157bf79a38674f2f6f617f6c0ed2b659fdfd38e59
SIZE (PEAR/Validate-0.6.5.tgz) = 16296

View file

@ -1,12 +1,9 @@
Package to validate various datas. It includes:
Package to validate various data. It includes:
* numbers (min/max, decimal or not)
* email (syntax, domain check)
* string (predifined type alpha upper and/or lowercase, numeric,...)
* date (min, max)
* Credit cards
* date (min, max) (With the Date module installed)
* uri (RFC2396)
* possibility valid multiple data with a single method call (::multiple)
* Locale validation for AT, CH, DE, ES, FR, NL, PL, ptBR, UK, US
* Finance (e.g. IBAN)
WWW: http://pear.php.net/package/Validate