Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: [NEW] devel/superhtml
To:
Volker Schlecht <openbsd-ports@schlecht.dev>
Cc:
ports <ports@openbsd.org>
Date:
Mon, 13 Apr 2026 18:24:54 +0100

Download raw body.

Thread
On 2026/04/13 18:43, Volker Schlecht wrote:
> SuperHTML offers validation and autoformatting features for HTML files.
> It can be used either directly or through its LSP client implementation.
> 
> WWW: https://github.com/kristoff-it/superhtml
> 
> Remark:
> 
> It's a zig-based port with external dependencies which introduces significant
> awkwardness - happy to take suggestions about how to reduce that.
> 
> Once built, it works perfectly however.

only slightly better, but we can mv rather than cp, a little faster:

post-extract:
        mkdir -p ${ZIG_CACHE}/p
        mv ${WRKDIR}/tracy-* ${ZIG_CACHE}/p/${HASH_TRACY}
        mv ${WRKDIR}/scripty-* ${ZIG_CACHE}/p/${HASH_SCRIPTY}
        mv ${WRKDIR}/known-folders-* ${ZIG_CACHE}/p/${HASH_KNOWN_FOLDERS}
        mv ${WRKDIR}/lsp-kit-* ${ZIG_CACHE}/p/${HASH_LSP_KIT}

not CATEGORIES=www? would seem more intuitive than devel.

clues in a comment about how to generate the hashes would be handy.