git: 5b285657ab49 - main - editors/led: Remove expired port

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Wed, 17 Jan 2024 17:25:01 UTC
The branch main has been updated by bofh:

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

commit 5b285657ab493130458835cf5801abfcceed34ff
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-17 17:17:40 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-17 17:24:45 +0000

    editors/led: Remove expired port
    
    2024-01-16 editors/led: Last upstream release was in 2002 reconsider using editors/nano
---
 MOVED                                              |  1 +
 editors/Makefile                                   |  1 -
 editors/led/Makefile                               | 37 ----------------------
 editors/led/distinfo                               |  2 --
 .../led/files/patch-src-modules-perlapi-Makefile   | 11 -------
 editors/led/files/patch-src__file.c                | 11 -------
 .../files/patch-src__modules__perlapi__perlapi.c   | 26 ---------------
 editors/led/files/patch-src_color.c                | 10 ------
 editors/led/files/patch-src_complete.c             | 10 ------
 editors/led/files/pkg-message.in                   |  9 ------
 editors/led/pkg-descr                              |  3 --
 editors/led/pkg-plist                              | 15 ---------
 12 files changed, 1 insertion(+), 135 deletions(-)

diff --git a/MOVED b/MOVED
index e1df73ff0b09..8e82f6d0d89c 100644
--- a/MOVED
+++ b/MOVED
@@ -2948,3 +2948,4 @@ multimedia/acidrip||2024-01-17|Has expired: Last upstream release was in 2004
 editors/edith||2024-01-17|Has expired: Upstream last release was in 2000
 x11-toolkits/p5-Gtk2-GladeXML||2024-01-17|Has expired: Upstream marked this module as Deprecated
 x11-toolkits/p5-Gtk2-TrayIcon||2024-01-17|Has expired: Upstream marked this module as Deprecated
+editors/led||2024-01-17|Has expired: Last upstream release was in 2002 reconsider using editors/nano
diff --git a/editors/Makefile b/editors/Makefile
index 9d7078514d3c..313503f327a3 100644
--- a/editors/Makefile
+++ b/editors/Makefile
@@ -89,7 +89,6 @@
     SUBDIR += lazarus-qt6-devel
     SUBDIR += le
     SUBDIR += leafpad
-    SUBDIR += led
     SUBDIR += libreoffice
     SUBDIR += libreoffice-af
     SUBDIR += libreoffice-am
diff --git a/editors/led/Makefile b/editors/led/Makefile
deleted file mode 100644
index aaac78af564c..000000000000
--- a/editors/led/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-PORTNAME=	led
-PORTVERSION=	2.0
-PORTREVISION=	1
-CATEGORIES=	editors
-MASTER_SITES=	SF/${PORTNAME}-editor/${PORTNAME}/${PORTVERSION}
-
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Tiny text editor, with a number of useful programming features
-WWW=		https://led-editor.sourceforge.net/
-
-LICENSE=	BSD3CLAUSE
-LICENSE_FILE=	${WRKSRC}/LICENSE
-
-DEPRECATED=	Last upstream release was in 2002 reconsider using editors/nano
-EXPIRATION_DATE=	2024-01-16
-
-USES=		ncurses perl5
-GNU_CONFIGURE=	yes
-MAKE_JOBS_UNSAFE=	yes
-
-SUB_FILES=	pkg-message
-
-.include <bsd.port.options.mk>
-
-.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
-CFLAGS+=	-Wno-error=incompatible-function-pointer-types
-.endif
-
-post-patch:
-	@${REINPLACE_CMD} -E 's,(bin|lib|data)dir),DESTDIR)$$(&,' \
-		${WRKSRC}/Makefile.in
-
-post-install:
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/led \
-		${STAGEDIR}${PREFIX}/lib/led/modules/perlapi.so
-
-.include <bsd.port.mk>
diff --git a/editors/led/distinfo b/editors/led/distinfo
deleted file mode 100644
index 96fe787bd3b9..000000000000
--- a/editors/led/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (led-2.0.tar.gz) = 421950f696da72f3a488166ace5157d9fef0751b2ec4a843a5dc2242feb23618
-SIZE (led-2.0.tar.gz) = 153686
diff --git a/editors/led/files/patch-src-modules-perlapi-Makefile b/editors/led/files/patch-src-modules-perlapi-Makefile
deleted file mode 100644
index 445690b7d46f..000000000000
--- a/editors/led/files/patch-src-modules-perlapi-Makefile
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/modules/perlapi/Makefile.orig	2002-01-26 18:17:41 UTC
-+++ src/modules/perlapi/Makefile
-@@ -8,7 +8,7 @@ include ../Makefile.module
- 
- include ../Makefile.module
- 
--CFLAGS+=	`perl -MExtUtils::Embed -e ccopts`
-+CFLAGS+=	`perl -MExtUtils::Embed -e ccopts` -fPIC
- XSUBPPDIR=	`perl -MConfig -e 'print $$Config{privlib}'`/ExtUtils
- XSUBPP=		$(XSUBPPDIR)/xsubpp
- 
diff --git a/editors/led/files/patch-src__file.c b/editors/led/files/patch-src__file.c
deleted file mode 100644
index e0fbb0dd6e5e..000000000000
--- a/editors/led/files/patch-src__file.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/file.c.orig	2002-02-16 16:41:11 UTC
-+++ src/file.c
-@@ -192,6 +192,8 @@ forcenl:
- 			putc('\r', fp);
- 		putc('\n', fp);
- 	}
-+	fflush(fp);
-+	fsync(fileno(fp));
- 
- 	return 0;
- }
diff --git a/editors/led/files/patch-src__modules__perlapi__perlapi.c b/editors/led/files/patch-src__modules__perlapi__perlapi.c
deleted file mode 100644
index 368973ffb58b..000000000000
--- a/editors/led/files/patch-src__modules__perlapi__perlapi.c
+++ /dev/null
@@ -1,26 +0,0 @@
---- src/modules/perlapi/perlapi.c.orig	2002-02-14 21:07:31 UTC
-+++ src/modules/perlapi/perlapi.c
-@@ -36,6 +36,7 @@ static void xs_init() {
- /* extension module support */
- static void xs_init() {
- 	char *file = __FILE__;
-+	dTHX;
- 
- 	newXS("DynaLoader::boot_DynaLoader", boot_DynaLoader, file);
- 	newXS("Led::bootstrap", boot_Led, file);
-@@ -66,6 +67,7 @@ int perlapi_init() {
- 	char *args[] = { "", "-e", "" };
- 	char *bootargs[] = { "Led", 0 };
- 	u_char *expath;
-+	dTHX;
- 
- 	/* add perl commands to the editor */
- 	command_addf("perl_eval", input_allocsyms(1), perlapi_doeval);
-@@ -124,6 +126,7 @@ void perlapi_eval(u_char *string) {
- /* evaluate some perl */
- void perlapi_eval(u_char *string) {
- 	SV *sv;
-+	dTHX;
- 
- 	sv = newSVpv(string, 0);
- 	perl_eval_sv(sv, G_DISCARD | G_NOARGS);
diff --git a/editors/led/files/patch-src_color.c b/editors/led/files/patch-src_color.c
deleted file mode 100644
index 11ee201b01a6..000000000000
--- a/editors/led/files/patch-src_color.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/color.c.orig	2002-03-02 05:19:00 UTC
-+++ src/color.c
-@@ -206,6 +206,7 @@ out:
- 		}
- 	}
- out:
-+	;
- }
- 
- /* read in color configuration file */
diff --git a/editors/led/files/patch-src_complete.c b/editors/led/files/patch-src_complete.c
deleted file mode 100644
index 0a1861d343b7..000000000000
--- a/editors/led/files/patch-src_complete.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/complete.c.orig	2002-02-16 16:41:11 UTC
-+++ src/complete.c
-@@ -183,6 +183,7 @@ next:
- 				sizeof(u_char *));
- 		}
- next:
-+	;
- 	}
- 	comps[i] = NULL;
- 
diff --git a/editors/led/files/pkg-message.in b/editors/led/files/pkg-message.in
deleted file mode 100644
index f4e16a7ad5d3..000000000000
--- a/editors/led/files/pkg-message.in
+++ /dev/null
@@ -1,9 +0,0 @@
-[
-{ type: install
-  message: <<EOM
-An example configuration file is located in
-%%DOCSDIR%%/sample.ledrc; to use it,
-copy it to ~/.ledrc and edit it to your liking.
-EOM
-}
-]
diff --git a/editors/led/pkg-descr b/editors/led/pkg-descr
deleted file mode 100644
index 836be157346b..000000000000
--- a/editors/led/pkg-descr
+++ /dev/null
@@ -1,3 +0,0 @@
-Led is a small text editor, providing a number of the useful
-programming features found in larger editors, but hopefully
-with less bloat.
diff --git a/editors/led/pkg-plist b/editors/led/pkg-plist
deleted file mode 100644
index a0427cad7c6c..000000000000
--- a/editors/led/pkg-plist
+++ /dev/null
@@ -1,15 +0,0 @@
-bin/led
-lib/led/modules/perlapi.so
-%%DATADIR%%/color
-%%DATADIR%%/syntax/c
-%%DATADIR%%/syntax/cc
-%%DATADIR%%/syntax/conf
-%%DATADIR%%/syntax/cs
-%%DATADIR%%/syntax/h
-%%DATADIR%%/syntax/ledrc
-%%DATADIR%%/syntax/mail
-%%DATADIR%%/syntax/perl
-%%DATADIR%%/syntax/python
-%%DATADIR%%/syntax/sh
-%%DATADIR%%/syntax/syntax
-%%DATADIR%%/syntax/tex