freebsd-ports/devel/pear-Validate_AU/Makefile
Martin Wilke e41a9030ce 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>
2008-02-12 22:45:36 +00:00

29 lines
840 B
Makefile

# 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>