diff options
author | miwi <miwi@FreeBSD.org> | 2008-02-13 06:45:36 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2008-02-13 06:45:36 +0800 |
commit | db5265984d9cc750af46a6dba0bd6f112f61d345 (patch) | |
tree | 0cd78945c64256a40c4ca819c5bb5e07aabd7836 /devel/pear-Validate_AU | |
parent | a6d55d1b418ce02e37dfdf5fc04bbd4f06f191df (diff) | |
download | freebsd-ports-gnome-db5265984d9cc750af46a6dba0bd6f112f61d345.tar.gz freebsd-ports-gnome-db5265984d9cc750af46a6dba0bd6f112f61d345.tar.zst freebsd-ports-gnome-db5265984d9cc750af46a6dba0bd6f112f61d345.zip |
A PEAR data validation class for Australia. The package includes phone number,
postal code, tax file number, Australian business number, Australian company
number and Australian regional codes validation.
WWW: http://pear.php.net/package/Validate_AU/
PR: ports/120003
Submitted by: Ditesh Shashikant Gathani <ditesh at gathani.org>
Diffstat (limited to 'devel/pear-Validate_AU')
-rw-r--r-- | devel/pear-Validate_AU/Makefile | 29 | ||||
-rw-r--r-- | devel/pear-Validate_AU/distinfo | 3 | ||||
-rw-r--r-- | devel/pear-Validate_AU/pkg-descr | 6 |
3 files changed, 38 insertions, 0 deletions
diff --git a/devel/pear-Validate_AU/Makefile b/devel/pear-Validate_AU/Makefile new file mode 100644 index 000000000000..98d14f6b4070 --- /dev/null +++ b/devel/pear-Validate_AU/Makefile @@ -0,0 +1,29 @@ +# Ports collection makefile for: pear-Validate_AU +# Date created: 26 Jan 2008 +# Whom: Ditesh Shashikant Gathani <ditesh@gathani.org> +# +# $FreeBSD$ +# + +PORTNAME= Validate_AU +PORTVERSION= 0.1.0 +CATEGORIES= devel www pear + +MAINTAINER= ditesh@gathani.org +COMMENT= PEAR data validation class for Australia + +BUILD_DEPENDS= pear-Validate>=0.5.0:${PORTSDIR}/devel/pear-Validate +RUN_DEPENDS= pear-Validate>=0.5.0:${PORTSDIR}/devel/pear-Validate + +FILES= Validate/AU.php Validate/data/AU_postcodes.txt +TESTS= validate_AU.phpt + +post-extract: + ${MV} ${WRKSRC}/data ${WRKSRC}/Validate/ + ${REINPLACE_CMD} 's|Validate_AU/data|Validate/data|g' ${WRKSRC}/Validate/AU.php + ${REINPLACE_CMD} 's|\@DATADIR\@|${PEARDIR}|g' ${WRKSRC}/Validate/AU.php + +.include <bsd.port.pre.mk> +.include "${PORTSDIR}/devel/pear/bsd.pear.mk" +.include <bsd.port.post.mk> + diff --git a/devel/pear-Validate_AU/distinfo b/devel/pear-Validate_AU/distinfo new file mode 100644 index 000000000000..899babf2d768 --- /dev/null +++ b/devel/pear-Validate_AU/distinfo @@ -0,0 +1,3 @@ +MD5 (PEAR/Validate_AU-0.1.0.tgz) = a8da14b6a077cb49558f05be0506a1fd +SHA256 (PEAR/Validate_AU-0.1.0.tgz) = 229402ff57f32b9ac9f8989de56bd0a1125175cb5a79d2f6b172d72984b601d4 +SIZE (PEAR/Validate_AU-0.1.0.tgz) = 13252 diff --git a/devel/pear-Validate_AU/pkg-descr b/devel/pear-Validate_AU/pkg-descr new file mode 100644 index 000000000000..1fc725f5738f --- /dev/null +++ b/devel/pear-Validate_AU/pkg-descr @@ -0,0 +1,6 @@ +A PEAR data validation class for Australia. The package includes phone number, +postal code, tax file number, Australian business number, Australian company +number and Australian regional codes validation. + +WWW: http://pear.php.net/package/Validate_AU/ + |