Batch replace for livecheck.type and svn.revision

Jeremy Lavergne jeremy at lavergne.gotdns.org
Mon Aug 31 08:11:53 PDT 2009


> 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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2435 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20090831/7375db32/attachment.bin>


More information about the macports-dev mailing list