From db5265984d9cc750af46a6dba0bd6f112f61d345 Mon Sep 17 00:00:00 2001 From: miwi Date: Tue, 12 Feb 2008 22:45:36 +0000 Subject: 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 --- devel/pear-Validate_AU/Makefile | 29 +++++++++++++++++++++++++++++ devel/pear-Validate_AU/distinfo | 3 +++ devel/pear-Validate_AU/pkg-descr | 6 ++++++ 3 files changed, 38 insertions(+) create mode 100644 devel/pear-Validate_AU/Makefile create mode 100644 devel/pear-Validate_AU/distinfo create mode 100644 devel/pear-Validate_AU/pkg-descr (limited to 'devel/pear-Validate_AU') 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 +# +# $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 +.include "${PORTSDIR}/devel/pear/bsd.pear.mk" +.include + 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/ + -- cgit