aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2006-11-09 17:27:22 +0800
committerrafan <rafan@FreeBSD.org>2006-11-09 17:27:22 +0800
commitf8a7596c16fdea0acfda1bd08dcb89d3e9875c04 (patch)
tree4a338bd701f1f3d6231c421db49b747ee0ef2ed0 /devel
parent4f66e5e068758e56031a16ad384fb255f3ec9401 (diff)
downloadfreebsd-ports-gnome-f8a7596c16fdea0acfda1bd08dcb89d3e9875c04.tar.gz
freebsd-ports-gnome-f8a7596c16fdea0acfda1bd08dcb89d3e9875c04.tar.zst
freebsd-ports-gnome-f8a7596c16fdea0acfda1bd08dcb89d3e9875c04.zip
- Update to 0.6.5
- Pass maintainership to submitter PR: ports/105300 Submitted by: Anish Mistry
Diffstat (limited to 'devel')
-rw-r--r--devel/pear-Validate/Makefile30
-rw-r--r--devel/pear-Validate/distinfo6
-rw-r--r--devel/pear-Validate/pkg-descr7
3 files changed, 12 insertions, 31 deletions
diff --git a/devel/pear-Validate/Makefile b/devel/pear-Validate/Makefile
index 89c4dcea753c..e4fc8ceef739 100644
--- a/devel/pear-Validate/Makefile
+++ b/devel/pear-Validate/Makefile
@@ -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>
diff --git a/devel/pear-Validate/distinfo b/devel/pear-Validate/distinfo
index b0dc99febd3c..c3d2f38e5f12 100644
--- a/devel/pear-Validate/distinfo
+++ b/devel/pear-Validate/distinfo
@@ -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
diff --git a/devel/pear-Validate/pkg-descr b/devel/pear-Validate/pkg-descr
index 6ef18391d1cb..806c0f905c9a 100644
--- a/devel/pear-Validate/pkg-descr
+++ b/devel/pear-Validate/pkg-descr
@@ -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