From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Aug 25 23:30:31 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A874016A4CE for ; Wed, 25 Aug 2004 23:30:31 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8826743D5A for ; Wed, 25 Aug 2004 23:30:31 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i7PNUVbp042735 for ; Wed, 25 Aug 2004 23:30:31 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i7PNUVDC042727; Wed, 25 Aug 2004 23:30:31 GMT (envelope-from gnats) Date: Wed, 25 Aug 2004 23:30:31 GMT Message-Id: <200408252330.i7PNUVDC042727@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: =?ISO-8859-1?Q?Ant=F4nio_Carlos_Ven=E2ncio_J=FAnior?= Subject: Re: ports/70945: New port: devel/pear-Validate Validation class X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: =?ISO-8859-1?Q?Ant=F4nio_Carlos_Ven=E2ncio_J=FAnior?= List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Aug 2004 23:30:31 -0000 The following reply was made to PR ports/70945; it has been noted by GNATS. From: =?ISO-8859-1?Q?Ant=F4nio_Carlos_Ven=E2ncio_J=FAnior?= To: Thierry Thomas Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: ports/70945: New port: devel/pear-Validate Validation class Date: Wed, 25 Aug 2004 20:21:28 -0300 This is a multi-part message in MIME format. --------------090203050304000601030902 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Thierry, Thierry Thomas wrote: > Hello, > > Le Mer 25 aoû 04 à 17:01:53 +0200, Antônio Carlos Venâncio Júnior > écrivait : > >>>Number: 70945 >>>Category: ports >>>Synopsis: New port: devel/pear-Validate Validation class > > > The files Validate/AT.php and Validate/CH.php contain a string > @DATADIR@, to be replaced by data_dir; then, the files AT_postcodes.txt > and CH_postcodes.txt should be installed in this data directory. here is the full shar file (with @DATADIR@). ;) > data does not exist in pear-PEAR/Makefile.common: I think it should be > defined, like you have proposed for sql in PR ports/70915. Could you add > it, please? > > Regards, -- Cya Antônio echo antonio php net | sed 's/ /@/;s/ /./g' FreeBSD/OpenBSD | PHP/MySQL/Python | PGP Key ID 0x5BBEB073 "Can't buy what I want because its FREE!" - Pearl Jam --------------090203050304000601030902 Content-Type: text/plain; name="pear-Validate.shar" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="pear-Validate.shar" # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # pear-Validate # pear-Validate/Makefile # pear-Validate/distinfo # pear-Validate/pkg-descr # echo c - pear-Validate mkdir -p pear-Validate > /dev/null 2>&1 echo x - pear-Validate/Makefile sed 's/^X//' >pear-Validate/Makefile << 'END-of-pear-Validate/Makefile' X# Ports collection makefile for: pear-Validate X# Date created: 25 August 2004 X# Whom: Antonio Carlos Venancio Junior () X# X# $FreeBSD$ X# X XPORTNAME= Validate XPORTVERSION= 0.4.1 XCATEGORIES= devel www pear X XMAINTAINER= antonio@php.net XCOMMENT= Validation class X XBUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR XRUN_DEPENDS= ${BUILD_DEPENDS} X XFILES= Validate.php Validate/Finance.php \ X Validate/Finance/IBAN.php Validate/AT.php Validate/CH.php \ X Validate/DE.php Validate/ES.php Validate/FR.php \ X Validate/NL.php Validate/PL.php Validate/ptBR.php \ X Validate/UK.php Validate/US.php X XTESTS= number.php date.php credit_card.php validate_AT.php \ X validate_CH.php validate_DE.php validate_NL.php \ X validate_UK.php validate_Finance.php X XDOCS= sample_multiple.php X XDATA= AT_postcodes.txt CH_postcodes.txt XDATAFILES= Validate/AT.php Validate/CH.php X X.include X.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common" X XSED_SCRIPT= -i "" 's|@DATADIR@|${LOCALBASE}/${LDATADIR:H}|g' X Xpost-extract: X. for f in ${DATAFILES} X @${SED} ${SED_SCRIPT} ${WRKSRC}/${f} X. endfor X X.include END-of-pear-Validate/Makefile echo x - pear-Validate/distinfo sed 's/^X//' >pear-Validate/distinfo << 'END-of-pear-Validate/distinfo' XMD5 (PEAR/Validate-0.4.1.tgz) = 6203c4285dc8ff0736b823fa6e991de4 XSIZE (PEAR/Validate-0.4.1.tgz) = 37615 END-of-pear-Validate/distinfo echo x - pear-Validate/pkg-descr sed 's/^X//' >pear-Validate/pkg-descr << 'END-of-pear-Validate/pkg-descr' XPackage to validate various datas. It includes: X* numbers (min/max, decimal or not) X* email (syntax, domain check) X* string (predifined type alpha upper and/or lowercase, numeric,...) X* date (min, max) X* Credit cards X* uri (RFC2396) X* possibility valid multiple data with a single method call (::multiple) X* Locale validation for AT, CH, DE, ES, FR, NL, PL, ptBR, UK, US X* Finance (e.g. IBAN) X XWWW: http://pear.php.net/package/Validate END-of-pear-Validate/pkg-descr exit --------------090203050304000601030902--