Batch replace for livecheck.type and svn.revision

David Evans devans at macports.org
Mon Aug 31 08:20:17 PDT 2009


Jeremy Lavergne wrote:
>> I don't  think that helps as they still have to upgrade/install a new
>> MacPorts version to eliminate the errors.
>
> If they're not updating on that branch even then it's not our problem
> to cater to them.
>
>> Is there a way to determine the MacPorts version within the portfile?
>>
>> If so then you could do something like (pseudo code only)
>>
>> if  {macports_version  < 1.8.0} {
>>   livecheck.check  regex
>> } else {
>>   livecheck.type regex
>> }
>
> Putting that in every single portfile seems very excessive.
>
Probably.   So I'm back to make the change and promote everyone to update to
1.8.0 ASAP.



More information about the macports-dev mailing list