cvs commit: ports/devel/pear-HTML_Table Makefile distinfo

Kris Kennaway kris at FreeBSD.org
Thu Sep 13 11:19:43 PDT 2007


Stanislav Sedov wrote:
> On Mon, 10 Sep 2007 19:01:25 +0000 (UTC)
> Martin Wilke <miwi at FreeBSD.org> mentioned:
> 
>> |  PORTNAME=	HTML_Table
>> | -PORTVERSION=	1.8.0
>> | +PORTVERSION=	1.8.1
>> |  CATEGORIES=	devel www pear
>> |  
>> |  MAINTAINER=	gerrit.beine at 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



More information about the cvs-ports mailing list