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

From: Älven <alven_at_FreeBSD.org>
Date: Fri, 05 Sep 2025 08:13:50 UTC
The branch main has been updated by alven:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3fd2b74c0be2763dcab89b30400fc70519c2bd25

commit 3fd2b74c0be2763dcab89b30400fc70519c2bd25
Author:     Älven <alven@FreeBSD.org>
AuthorDate: 2025-09-04 21:07:36 +0000
Commit:     Älven <alven@FreeBSD.org>
CommitDate: 2025-09-05 08:13:19 +0000

    textproc/cgrep: Move to textproc/hs-cgrep
    
    Per the convention for Haskell ports
    
    PR:             285719
    Approved by:    lwhsu@ (maintainer, timeout > 5 months)
    Approved by:    yuri@ (Mentor)
---
 MOVED                                                               | 1 +
 textproc/Makefile                                                   | 2 +-
 textproc/{cgrep => hs-cgrep}/Makefile                               | 6 +++---
 textproc/{cgrep => hs-cgrep}/distinfo                               | 0
 .../files/patch-__cabal__deps_rawfilepath-1.1.0_cbits_runProcess.c  | 0
 textproc/{cgrep => hs-cgrep}/pkg-descr                              | 0
 6 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/MOVED b/MOVED
index afcb60a20fce..20e1fdaa12b4 100644
--- a/MOVED
+++ b/MOVED
@@ -4765,3 +4765,4 @@ net-mgmt/nagcon||2025-09-02|Has expired: Obsolete, only supports legacy versions
 www/yarn-node18||2025-09-02|Has expired: Depeneds on expired www/node18. Node.js 18.* has reached its EoL on 2025-04-30
 www/npm-node18||2025-09-03|Has expired: Depeneds on expired www/node18. Node.js 18.* has reached its EoL on 2025-04-30
 www/node18||2025-09-03|Has expired: Node.js 18.* has reached its EoL on 2025-04-30. Use Node.js 22.* (www/node22) instead
+textproc/cgrep|textproc/hs-cgrep|2025-09-04|Per the convention for Haskell ports
diff --git a/textproc/Makefile b/textproc/Makefile
index cc5bbaff286a..be157932bb3d 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -92,7 +92,6 @@
     SUBDIR += castxml
     SUBDIR += catdoc
     SUBDIR += cg3
-    SUBDIR += cgrep
     SUBDIR += chkascii
     SUBDIR += choose
     SUBDIR += chpp
@@ -273,6 +272,7 @@
     SUBDIR += highlight
     SUBDIR += hil-aspell
     SUBDIR += hr-aspell
+    SUBDIR += hs-cgrep
     SUBDIR += hs-lhs2tex
     SUBDIR += hs-pandoc
     SUBDIR += hs-pandoc-crossref
diff --git a/textproc/cgrep/Makefile b/textproc/hs-cgrep/Makefile
similarity index 96%
rename from textproc/cgrep/Makefile
rename to textproc/hs-cgrep/Makefile
index 0ddaa3b0b9a9..507372d7649a 100644
--- a/textproc/cgrep/Makefile
+++ b/textproc/hs-cgrep/Makefile
@@ -1,6 +1,6 @@
-PORTNAME=	cgrep
-PORTVERSION=	8.1.0
-CATEGORIES=	textproc
+PORTNAME=	hs-cgrep
+DISTVERSION=	8.1.0
+CATEGORIES=	textproc haskell
 
 MAINTAINER=	lwhsu@FreeBSD.org
 COMMENT=	Context-aware grep for source codes
diff --git a/textproc/cgrep/distinfo b/textproc/hs-cgrep/distinfo
similarity index 100%
rename from textproc/cgrep/distinfo
rename to textproc/hs-cgrep/distinfo
diff --git a/textproc/cgrep/files/patch-__cabal__deps_rawfilepath-1.1.0_cbits_runProcess.c b/textproc/hs-cgrep/files/patch-__cabal__deps_rawfilepath-1.1.0_cbits_runProcess.c
similarity index 100%
rename from textproc/cgrep/files/patch-__cabal__deps_rawfilepath-1.1.0_cbits_runProcess.c
rename to textproc/hs-cgrep/files/patch-__cabal__deps_rawfilepath-1.1.0_cbits_runProcess.c
diff --git a/textproc/cgrep/pkg-descr b/textproc/hs-cgrep/pkg-descr
similarity index 100%
rename from textproc/cgrep/pkg-descr
rename to textproc/hs-cgrep/pkg-descr