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
_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to