Re: git: 3fd2b74c0be2 - main - textproc/cgrep: Move to textproc/hs-cgrep

From: Gleb Popov <arrowd_at_freebsd.org>
Date: Fri, 05 Sep 2025 09:06:43 UTC
On Fri, Sep 5, 2025 at 11:13 AM Älven <alven@freebsd.org> wrote:
>
> -PORTNAME=      cgrep
> -PORTVERSION=   8.1.0
> -CATEGORIES=    textproc
> +PORTNAME=      hs-cgrep

This is incorrect, the port's name is "cgrep". You should've do
PKGNAMEPREFIX=hs-, if you want the package name to has "hs-"
prepended.

Speaking of which, I now not that sure that I like hs- prefixes
prepended to all Haskell software. There is no reason to underline
what programming language the software is written in.
We've used hs- prefixes in the past while we were packaging Haskell
libraries. This was similar to what's being done for Python at the
moment. But today we do not package Haskell libraries, so I'd rather
leave hs- prefixes out as much as possible.
That being said, I think that the hs- prefix fits nicely for
devel/hs-stack, which is a too generic name for a development tool.
Maybe we should rename it to "haskell-stack" instead, but dropping all
prefixes for it feels wrong.