git: f1eaea93d47b - main - textproc/c2man: Remove expired port

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Sun, 04 May 2025 11:32:23 UTC
The branch main has been updated by rene:

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

commit f1eaea93d47b56b0ef6c3ff28b6180a5ed7c728e
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2025-05-04 11:32:19 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2025-05-04 11:32:19 +0000

    textproc/c2man: Remove expired port
    
    2025-04-30 textproc/c2man: Not recommended for use in new projects
---
 MOVED                                |  1 +
 textproc/Makefile                    |  1 -
 textproc/c2man/Makefile              | 36 ------------------------------------
 textproc/c2man/distinfo              |  3 ---
 textproc/c2man/files/patch-grammar.y | 22 ----------------------
 textproc/c2man/files/patch-lex.l     | 10 ----------
 textproc/c2man/pkg-descr             |  3 ---
 7 files changed, 1 insertion(+), 75 deletions(-)

diff --git a/MOVED b/MOVED
index 94504de851d5..1c5395f3cdda 100644
--- a/MOVED
+++ b/MOVED
@@ -4367,3 +4367,4 @@ textproc/domc||2025-05-04|Has expired: Obsolete, doesn't support HTML5, DOM Leve
 textproc/ekhtml||2025-05-04|Has expired: Abandonware and obsolete, last release in 2002
 textproc/estraier||2025-05-04|Has expired: Obsolete and abandonware, last update in 2005
 textproc/confetti||2025-05-04|Has expired: Outdated and unmaintained in tree since 2018
+textproc/c2man||2025-05-04|Has expired: Not recommended for use in new projects
diff --git a/textproc/Makefile b/textproc/Makefile
index 4ff6291baf08..591ad3cc63c4 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -91,7 +91,6 @@
     SUBDIR += bsd-spell
     SUBDIR += bsddiff
     SUBDIR += c2html
-    SUBDIR += c2man
     SUBDIR += ca-aspell
     SUBDIR += cast2gif
     SUBDIR += castxml
diff --git a/textproc/c2man/Makefile b/textproc/c2man/Makefile
deleted file mode 100644
index 34737b51ede0..000000000000
--- a/textproc/c2man/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-PORTNAME=	c2man
-PORTVERSION=	${VERSION}.${PATCHLEVEL}
-PORTREVISION=	1
-CATEGORIES=	textproc
-MASTER_SITES=	http://www.ciselant.de/${PORTNAME}/
-DISTNAME=	${PORTNAME}-${VERSION}@${PATCHLEVEL}
-
-MAINTAINER=	lantw44@gmail.com
-COMMENT=	Tool to generate documentation from C source code comments
-WWW=		https://www.ciselant.de/c2man/c2man.html
-
-LICENSE=	${PORTNAME}
-LICENSE_NAME=	${PORTNAME}
-LICENSE_FILE=	${WRKSRC}/README
-LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
-
-DEPRECATED=	Not recommended for use in new projects
-EXPIRATION_DATE=2025-04-30
-
-VERSION=	2.0
-PATCHLEVEL=	42
-
-NO_WRKSUBDIR=	yes
-NO_INSTALL=	yes
-
-PLIST_FILES=	bin/c2man share/man/man1/c2man.1.gz
-
-HAS_CONFIGURE=	yes
-CONFIGURE_SCRIPT=Configure
-CONFIGURE_ARGS=	-des -Dcc="${CC}" -Dccflags="${CFLAGS}" -Dldflags="${LDFLAGS}"
-
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
-	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1/
-
-.include <bsd.port.mk>
diff --git a/textproc/c2man/distinfo b/textproc/c2man/distinfo
deleted file mode 100644
index d92d1724bac8..000000000000
--- a/textproc/c2man/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1518289578
-SHA256 (c2man-2.0@42.tar.gz) = 0280ba17471da32216af2109e7e3b17ff2fda15f294d68efdc0108eca64cd577
-SIZE (c2man-2.0@42.tar.gz) = 188551
diff --git a/textproc/c2man/files/patch-grammar.y b/textproc/c2man/files/patch-grammar.y
deleted file mode 100644
index 24aa753d11f9..000000000000
--- a/textproc/c2man/files/patch-grammar.y
+++ /dev/null
@@ -1,22 +0,0 @@
---- grammar.y.orig	1998-09-30 01:29:13 UTC
-+++ grammar.y
-@@ -14,7 +14,7 @@
- %token T_INLINE
- 
- /* type specifiers */
--%token T_CHAR T_DOUBLE T_FLOAT T_INT T_VOID
-+%token T_CHAR T_DOUBLE T_FLOAT T_INT T_VOID T_VALIST
- %token T_LONG T_SHORT T_SIGNED T_UNSIGNED
- %token T_ENUM T_STRUCT T_UNION
- 
-@@ -374,6 +374,10 @@ type_specifier
- 	{
- 	    new_decl_spec(&$$, "void", DS_NONE);
- 	}
-+	| T_VALIST
-+	{
-+	    new_decl_spec(&$$, "va_list", DS_NONE);
-+	}
- 	| struct_or_union_specifier
- 	| enum_specifier
- 	| T_TYPEDEF_NAME
diff --git a/textproc/c2man/files/patch-lex.l b/textproc/c2man/files/patch-lex.l
deleted file mode 100644
index 0d4178f7d706..000000000000
--- a/textproc/c2man/files/patch-lex.l
+++ /dev/null
@@ -1,10 +0,0 @@
---- lex.l.orig	2000-02-25 01:41:11 UTC
-+++ lex.l
-@@ -167,6 +167,7 @@ QUOTED		({STRING}|\'(\\\'|[^'\n])*\'|\\.
- <INITIAL>float		return T_FLOAT;
- <INITIAL>int		return T_INT;
- <INITIAL>void		return T_VOID;
-+<INITIAL>__builtin_va_list return T_VALIST;
- <INITIAL>long		return T_LONG;
- <INITIAL>short		return T_SHORT;
- <INITIAL>signed		return T_SIGNED;
diff --git a/textproc/c2man/pkg-descr b/textproc/c2man/pkg-descr
deleted file mode 100644
index 8f7012a6331c..000000000000
--- a/textproc/c2man/pkg-descr
+++ /dev/null
@@ -1,3 +0,0 @@
-c2man is an obsolete and unmaintained documentation tool that extracts comments
-from C source code. Do not use this tool in new projects. The only reason for it
-to exist in FreeBSD ports is to allow building GNU FriBidi from a git snapshot.