port livecheck does not find new mandoc
Joshua Root
jmr at macports.org
Thu Mar 30 18:23:45 UTC 2017
On 2017-3-31 05:10 , Jan Stary wrote:
> On Mar 30 18:41:26, hans at stare.cz wrote:
>> This is 2.4.99 running on 10.6.8
>>
>> port -d livecheck mandoc does not find
>> http://mdocml.bsd.lv/snapshots/mdocml-1.14.1.tar.gz
>> because it looks for "mandoc-(\d+(?:\.\d+)*)"
>> i.e. the tarball differs from the port name.
>> What is the right place to specify the right regex?
>
> I mean, Portfile says
>
> distname mdocml-${version}
>
> so why does livecheck look "mandoc-(\d+(?:\.\d+)*)" ?
Because the code doesn't attempt to split the version off of $distname
to derive the default livecheck.distname (that would be hard to get
right in the general case), it just uses $name.
- Josh
P.S. Please consider updating your list addresses to use macports.org
instead of macosforge.org.
More information about the macports-dev
mailing list