svn commit: r432224 - in head/devel/fossil: . files

Guido Falsi madpilot at FreeBSD.org
Mon Jan 23 19:25:09 UTC 2017


On 01/23/17 18:24, Mathieu Arnold wrote:
> Le 23/01/2017 à 15:19, Guido Falsi a écrit :
>> -WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
>> +WRKSRC=		${WRKDIR}/${PORTNAME:C/^(.).*/\1/:tu}${PORTNAME:C/^.(.*)/\1/}_2017-01-16_205854_1669115ab9
>
>
> Took me a while to understand what this was doing, and that it seems it
> now takes 51 chars to write "Fossil" :-)
>

I wanted to base it on PORTNAME and could not find an easier way to 
explain it to make.

Maybe just hardcoding "Fossil" was more reasonable.

-- 
Guido Falsi <madpilot at FreeBSD.org>


More information about the svn-ports-all mailing list