From: Stuart Henderson Subject: Re: [NEW] devel/superhtml To: Volker Schlecht Cc: ports Date: Mon, 13 Apr 2026 19:40:25 +0100 On 2026/04/13 19:54, Volker Schlecht wrote: > On 4/13/26 7:24 PM, Stuart Henderson wrote: > > 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} > > mv ${WRKDIR}/tracy-*/* ${ZIG_CACHE}/p/${HASH_TRACY} > ^^- that is needed here It built for me like that (note I changed mkdir too) > > > not CATEGORIES=www? would seem more intuitive than devel. > > Intuition is very personal - my own intuition would lead me to look towards www/ > for web server things and web client things, and towards devel/ to look for > language servers and linters. > > But since i.e. www/tidy is in "CATEGORIES=www devel", there's definitely an > argument to be made about consistency here. You have things like site generators etc in www too. Main issue with devel is it ends up as a default for libraries when other categories don't fit so it's difficult to find anything in there unless ypu know the name. > > clues in a comment about how to generate the hashes would be handy. > > Like this or something more elaborate? > +# Look for these in ${WRKSRC}/build.zig.zon > HASH_TRACY = tracy-0.0.0-4Xw-1pwwAABTfMgoDP1unCbZDZhJEfict7XCBGF6IdIn > HASH_KNOWN_FOLDERS = known_folders-0.0.0-Fy-PJtTTAADUOhGKM0sxzG4eMkNQxRvx9e5dfHVyaeA3 > HASH_SCRIPTY = scripty-0.1.0-LKK5O7v4AADWWXuFcTJky_5sY12tmw3kRi3k2wkpfxAX that's enough I think.