Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Sep 2007 20:19:39 +0200
From:      Kris Kennaway <kris@FreeBSD.org>
To:        Stanislav Sedov <stas@FreeBSD.org>
Cc:        cvs-ports@FreeBSD.org, ports-committers@FreeBSD.org, cvs-all@FreeBSD.org, Martin Wilke <miwi@FreeBSD.org>
Subject:   Re: cvs commit: ports/devel/pear-HTML_Table Makefile distinfo
Message-ID:  <46E97F3B.2020806@FreeBSD.org>
In-Reply-To: <20070913021721.5435f2b3.stas@FreeBSD.org>
References:  <200709101901.l8AJ1PTY065558@repoman.freebsd.org> <20070913021721.5435f2b3.stas@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Stanislav Sedov wrote:
> On Mon, 10 Sep 2007 19:01:25 +0000 (UTC)
> Martin Wilke <miwi@FreeBSD.org> mentioned:
> 
>> |  PORTNAME=	HTML_Table
>> | -PORTVERSION=	1.8.0
>> | +PORTVERSION=	1.8.1
>> |  CATEGORIES=	devel www pear
>> |  
>> |  MAINTAINER=	gerrit.beine@gmx.de
>> | @@ -19,6 +19,14 @@ CATEGORY=	HTML
>> |  FILES=		Table.php Table/Storage.php
>> |  EXAMPLES=	Table_example1.php Table_example2.php
>> |  _EXAMPLESDIR=	docs
>> | +
>> | +TESTS=		1.phpt 2.phpt 3.phpt 4.phpt 5.phpt \
>> | +		6.phpt 7.phpt 8.phpt 9.phpt 10.phpt \
>> | +		11.phpt 12.phpt 13.phpt 14.phpt 15.phpt \
>> | +		16.phpt 17.phpt 18.phpt 19.phpt 20.phpt \
>> | +		21.phpt 22.phpt 23.phpt 24.phpt 25.phpt \
>> | +		26.phpt 27.phpt 28.phpt 29.phpt 30.phpt \
>> | +		31.phpt
>> |  
> 
> Using something like
> MYTESTS!=	/usr/bin/jot 31 1
> TESTS=		${MYTESTS:S,$,.phpt,}
> 
> will probably save a lot of chars and efforts.

!= constructs are frowned upon because they cause process execution at 
inappropriate times, i.e. every time the port makefile is parsed.

Kris




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46E97F3B.2020806>