On 2023/05/04 09:52, Laurent Cheylus wrote:
> Hi,
> 
> proposal to import sysutils/lsd (version 0.23.1)

Looks reasonable

post-install:
        sed -i '1,8d' ${WRKSRC}/doc/lsd.md
        lowdown -s -tman -m section=1 -mtitle=lsd -mvolume='' \
                ${WRKSRC}/doc/lsd.md > ${PREFIX}/man/man1/lsd.1

I suggest not doing that sed inplace, but write to a different file
instead. That way, if post-install is interrupted for any reason,
it won't chop off extra lines.

Reply via email to