Removing configure options

Joshua Root jmr at macports.org
Wed Jun 10 02:43:59 PDT 2009


On 2009-6-10 10:18, Rainer Müller wrote:
> On 2009-06-09 23:24, Scott Haneda wrote:
>> # $Id$
>>
>> PortSystem              1.0
>>
>> name			     rbldnsd
>> version		 	0.996b
>> categories	  	sysutils
>>
>> master_sites        http://www.corpit.ru/mjt/rbldnsd/
>> distfiles           ${name}_0.996b.tar.gz
> 
> distfiles           ${name}_${version}${extract.suffix}
> 
> You should not hardcode the version number at multiple places in the
> Portfile. This makes it harder to do updates.

In fact the usual approach would be:

distname		${name}_${version}

rather than setting distfiles explicitly.

- Josh


More information about the macports-dev mailing list