git: 5233c4fb1e89 - main - editors/fte: Remove expired port

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

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

commit 5233c4fb1e8949100bb8cddacc3b2ae7f8572085
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-17 17:06:16 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-17 17:24:40 +0000

    editors/fte: Remove expired port
    
    2024-01-16 editors/fte: Upstream last release was in 2001
---
 MOVED                                       |   1 +
 editors/Makefile                            |   1 -
 editors/fte/Makefile                        |  50 ------------
 editors/fte/distinfo                        |   4 -
 editors/fte/files/patch-src__fte-unix.mak   |  88 ---------------------
 editors/fte/files/patch-src__stl_string.cpp |  16 ----
 editors/fte/files/patch-src__sysdep.h       |  10 ---
 editors/fte/pkg-descr                       |   6 --
 editors/fte/pkg-install                     |   8 --
 editors/fte/pkg-plist                       | 117 ----------------------------
 10 files changed, 1 insertion(+), 300 deletions(-)

diff --git a/MOVED b/MOVED
index 6c9569e925ad..deadb0a7ab45 100644
--- a/MOVED
+++ b/MOVED
@@ -2940,3 +2940,4 @@ science/libtensorflow1||2024-01-15|Has expired: Broken for more than a year
 devel/appstream-compose||2024-01-15|Became a subpackage of devel/appstream
 devel/appstream-qt|devel/appstream-qt5|2024-01-15|The Qt6 flavor became a subpackage of devel/appstream
 japanese/jed||2024-01-17|Has expired: Upstream site vaporized and returns NXDOMAIN consider using editors/jed
+editors/fte||2024-01-17|Has expired: Upstream last release was in 2001
diff --git a/editors/Makefile b/editors/Makefile
index d51752c74c85..fed9e43af935 100644
--- a/editors/Makefile
+++ b/editors/Makefile
@@ -46,7 +46,6 @@
     SUBDIR += fileobj
     SUBDIR += flim
     SUBDIR += focuswriter
-    SUBDIR += fte
     SUBDIR += fxite
     SUBDIR += gedit
     SUBDIR += gedit-plugins
diff --git a/editors/fte/Makefile b/editors/fte/Makefile
deleted file mode 100644
index f59525a16978..000000000000
--- a/editors/fte/Makefile
+++ /dev/null
@@ -1,50 +0,0 @@
-PORTNAME=	fte
-PORTVERSION=	20110708
-CATEGORIES=	editors
-MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
-DISTFILES=	${DISTNAME}-src${EXTRACT_SUFX} \
-		${DISTNAME}-common${EXTRACT_SUFX}
-DIST_SUBDIR=	${PORTNAME}
-
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Full-featured text editor for X11
-WWW=		https://fte.sourceforge.net/
-
-LICENSE=	ART10 GPLv2
-LICENSE_COMB=	dual
-
-DEPRECATED=	Upstream last release was in 2001
-EXPIRATION_DATE=	2024-01-16
-
-USES=		perl5 zip xorg
-USE_PERL5=	build
-USE_XORG=	x11 xpm
-
-MAKE_ENV=	INSTALL_NONROOT=1
-
-CFLAGS+=	-DHAVE_STRLCAT -DHAVE_STRLCPY
-
-WRKSRC=		${WRKDIR}/fte
-
-OPTIONS_DEFINE=	DOCS
-
-post-patch:
-	@${REINPLACE_CMD} -e \
-		's|^PREFIX=|PREFIX?=|' ${WRKSRC}/Makefile
-	@${REINPLACE_CMD} -e \
-		's|\([[:space:]]\)\($$BINDIR\)|\1$$DESTDIR\2|g ; \
-		 s|\([[:space:]]\)\($$LIBDIR\)|\1$$DESTDIR\2|g ; \
-		 s|\([[:space:]]\)\($$CONFIGDIR\)|\1$$DESTDIR\2|g ; \
-		 s|\([[:space:]]\)\($$LOCALCONFIGDIR\)|\1$$DESTDIR\2|g ; \
-		 /fterc/s|^|#|' ${WRKSRC}/install
-
-post-install:
-.for i in cfte xfte
-	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${i}
-.endfor
-
-post-install-DOCS-on:
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
-
-.include <bsd.port.mk>
diff --git a/editors/fte/distinfo b/editors/fte/distinfo
deleted file mode 100644
index 5db90270a770..000000000000
--- a/editors/fte/distinfo
+++ /dev/null
@@ -1,4 +0,0 @@
-SHA256 (fte/fte-20110708-src.zip) = d6311c542d3f0f2890a54a661c3b67228e27b894b4164e9faf29f014f254499e
-SIZE (fte/fte-20110708-src.zip) = 504199
-SHA256 (fte/fte-20110708-common.zip) = 58411578b31958765f42d2bf29b7aedd9f916955c2c19c96909a1c03e0246af7
-SIZE (fte/fte-20110708-common.zip) = 200007
diff --git a/editors/fte/files/patch-src__fte-unix.mak b/editors/fte/files/patch-src__fte-unix.mak
deleted file mode 100644
index 487e31ff972f..000000000000
--- a/editors/fte/files/patch-src__fte-unix.mak
+++ /dev/null
@@ -1,88 +0,0 @@
---- src/fte-unix.mak.orig	2010-03-16 18:03:51 UTC
-+++ src/fte-unix.mak
-@@ -5,10 +5,10 @@
- 
- #  vfte - for Linux console directly (with limitations, see con_linux.cpp)
- 
--TGT_NFTE = nfte
-+#TGT_NFTE = nfte
- #TGT_QFTE = qfte
--TGT_SFTE = sfte
--TGT_VFTE = vfte
-+#TGT_SFTE = sfte
-+#TGT_VFTE = vfte
- TGT_XFTE = xfte
- 
- TARGETS = $(TGT_XFTE) $(TGT_VFTE) $(TGT_NFTE) $(TGT_SFTE) $(TGT_QFTE)
-@@ -27,15 +27,16 @@ LD = $(CXX)
- CPPOPTIONS = -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Winline
- 
- # try this for smaller/faster code and less dependencies
--#NOEXCEPTION = -fno-rtti -fno-exceptions
-+NOEXCEPTION = -fno-rtti -fno-exceptions
- 
- 
- # choose your os here
- 
- #######################################################################
- # Linux
--UOS      = -DLINUX
--#XLIBDIR  = 
-+UOS      = -DFREEBSD
-+XINCDIR  = -I$(LOCALBASE)/include
-+XLIBDIR  = -L$(LOCALBASE)/lib
- 
- #######################################################################
- # HP/UX
-@@ -55,7 +56,7 @@ UOS      = -DLINUX
- #MINCDIR  = -I/usr/include/Motif1.2
- #MLIBDIR  = -L/usr/lib/Motif1.2
- 
--SINCDIR   = -I/usr/include/slang
-+#SINCDIR   = -I/usr/include/slang
- 
- #######################################################################
- # AIX
-@@ -111,18 +112,18 @@ SINCDIR   = -I/usr/include/slang
- 
- #######################################################################
- 
--QTDIR   = /usr/lib64/qt-3.3
-+#QTDIR   = /usr/lib64/qt-3.3
- #/users/markom/qt
--QLIBDIR  = -L$(QTDIR)/lib
-+#QLIBDIR  = -L$(QTDIR)/lib
- #QINCDIR  = -I$(QTDIR)/include
- #QINCDIR  = -I/usr/include/qt
--QINCDIR =  -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include
--MOC      = moc
-+#QINCDIR =  -I/usr/include/qt3 -I/usr/lib64/qt-3.3/include
-+#MOC      = moc
- 
- LIBDIRS   =
- INCDIRS   = $(XINCDIR) $(QINCDIR) $(MINCDIR) $(SINCDIR)
- 
--OPTIMIZE = -g # -O -g
-+#OPTIMIZE = -g # -O -g
- #OPTIMIZE = -O2
- #OPTIMIZE = -Os
- #OPTIMIZE = -O2 -s
-@@ -148,7 +149,7 @@ SRCS = $(OBJS:.o=.cpp)\
-  $(XOBJS:.o=.cpp)
- 
- XLIBS    = $(XLIBDIR) -lX11 $(SOCKETLIB) $(XPMLIB) $(XTLIB)
--VLIBS    = $(VLIBDIR) -lgpm
-+VLIBS    = $(VLIBDIR) -lncurses
- NLIBS    = $(NLIBDIR) -lncurses
- SLIBS    = $(SLIBDIR) -lslang
- #QLIBS    = $(QLIBDIR) -lqt
-@@ -223,6 +224,6 @@ clean:
- #
- # include dependency files if they exist
- #
--ifneq ($(wildcard .depend),)
--include .depend
--endif
-+#ifneq ($(wildcard .depend),)
-+#include .depend
-+#endif
diff --git a/editors/fte/files/patch-src__stl_string.cpp b/editors/fte/files/patch-src__stl_string.cpp
deleted file mode 100644
index cce66aeacd17..000000000000
--- a/editors/fte/files/patch-src__stl_string.cpp
+++ /dev/null
@@ -1,16 +0,0 @@
---- src/stl_string.cpp.orig	2010-03-05 20:40:08 UTC
-+++ src/stl_string.cpp
-@@ -10,6 +10,13 @@
- #include <stdlib.h>
- #include <string.h>
- 
-+#ifdef tolower
-+#undef tolower
-+#endif
-+#ifdef toupper
-+#undef toupper
-+#endif
-+
- FTE_BEGIN_NAMESPACE;
- 
- /*
diff --git a/editors/fte/files/patch-src__sysdep.h b/editors/fte/files/patch-src__sysdep.h
deleted file mode 100644
index 070b2eec3b94..000000000000
--- a/editors/fte/files/patch-src__sysdep.h
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/sysdep.h.orig	2011-06-29 22:32:34 UTC
-+++ src/sysdep.h
-@@ -21,6 +21,7 @@
-     !defined(IRIX) && \
-     !defined(SCO) && \
-     !defined(SUNOS) && \
-+    !defined(FREEBSD) && \
-     !defined(NCR)
- #    error Target not supported.
- #endif
diff --git a/editors/fte/pkg-descr b/editors/fte/pkg-descr
deleted file mode 100644
index a1192cbafb01..000000000000
--- a/editors/fte/pkg-descr
+++ /dev/null
@@ -1,6 +0,0 @@
-A port of an extremely powerful FTE editor that was
-originally developed for OS/2 and ported by its author,
-Marko Macek, to X11/UNIX.
-
-Among other features it supports syntax highlighting,
-compiler invocation and error parsing and folds.
diff --git a/editors/fte/pkg-install b/editors/fte/pkg-install
deleted file mode 100644
index b68a917033d8..000000000000
--- a/editors/fte/pkg-install
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-
-case $2 in
-POST-INSTALL)
-	cd $PKG_PREFIX/lib/fte/config; $PKG_PREFIX/bin/cfte main.fte $PKG_PREFIX/lib/fte/system.fterc
-	exit 0
-	;;
-esac
diff --git a/editors/fte/pkg-plist b/editors/fte/pkg-plist
deleted file mode 100644
index b48670276a7a..000000000000
--- a/editors/fte/pkg-plist
+++ /dev/null
@@ -1,117 +0,0 @@
-bin/cfte
-bin/fte
-bin/xfte
-lib/fte/config/ab_c.fte
-lib/fte/config/ab_c_os2.fte
-lib/fte/config/ab_java.fte
-lib/fte/config/ab_perl.fte
-lib/fte/config/ab_rexx.fte
-lib/fte/config/ab_sh.fte
-lib/fte/config/color.fte
-lib/fte/config/global.fte
-lib/fte/config/k_brief.fte
-lib/fte/config/kbd/k_c.fte
-lib/fte/config/kbd/k_fte.fte
-lib/fte/config/kbd/k_html.fte
-lib/fte/config/kbd/k_java.fte
-lib/fte/config/kbd/k_perl.fte
-lib/fte/config/kbd/k_rexx.fte
-lib/fte/config/kbd/k_rst.fte
-lib/fte/config/kbd/k_sgml.fte
-lib/fte/config/m_4gl.fte
-lib/fte/config/m_a51.fte
-lib/fte/config/m_ada.fte
-lib/fte/config/m_asm.fte
-lib/fte/config/m_asm370.fte
-lib/fte/config/m_bin.fte
-lib/fte/config/m_c.fte
-lib/fte/config/m_catbs.fte
-lib/fte/config/m_clario.fte
-lib/fte/config/m_diff.fte
-lib/fte/config/m_ebnf.fte
-lib/fte/config/m_fort90.fte
-lib/fte/config/m_fte.fte
-lib/fte/config/m_gawk.fte
-lib/fte/config/m_html.fte
-lib/fte/config/m_idl.fte
-lib/fte/config/m_ipf.fte
-lib/fte/config/m_java.fte
-lib/fte/config/m_ldsgml.fte
-lib/fte/config/m_make.fte
-lib/fte/config/m_merge.fte
-lib/fte/config/m_mod3.fte
-lib/fte/config/m_msg.fte
-lib/fte/config/m_mvsasm.fte
-lib/fte/config/m_pascal.fte
-lib/fte/config/m_perl.fte
-lib/fte/config/m_php.fte
-lib/fte/config/m_plain.fte
-lib/fte/config/m_py.fte
-lib/fte/config/m_resdlg.fte
-lib/fte/config/m_rexx.fte
-lib/fte/config/m_rst.fte
-lib/fte/config/m_ruby.fte
-lib/fte/config/m_sgml.fte
-lib/fte/config/m_sh.fte
-lib/fte/config/m_siod.fte
-lib/fte/config/m_sl.fte
-lib/fte/config/m_sml.fte
-lib/fte/config/m_sql.fte
-lib/fte/config/m_tcl.fte
-lib/fte/config/m_tex.fte
-lib/fte/config/m_texi.fte
-lib/fte/config/m_text.fte
-lib/fte/config/m_unrealscript.fte
-lib/fte/config/m_vi.fte
-lib/fte/config/m_xml.fte
-lib/fte/config/m_xp.fte
-lib/fte/config/m_xslt.fte
-lib/fte/config/main.fte
-lib/fte/config/menu/m_c.fte
-lib/fte/config/menu/m_html.fte
-lib/fte/config/menu/m_rexx.fte
-lib/fte/config/menu/m_rst.fte
-lib/fte/config/menu/m_sgml.fte
-lib/fte/config/mymain.fte
-lib/fte/config/pal_b_kb.fte
-lib/fte/config/pal_base.fte
-lib/fte/config/pal_blk.fte
-lib/fte/config/pal_blue.fte
-lib/fte/config/pal_bluez.fte
-lib/fte/config/pal_gray.fte
-lib/fte/config/pal_wht.fte
-lib/fte/config/rgbcolor.fte
-lib/fte/config/slang/simple.keylist
-lib/fte/config/slang/slangkbd.map
-lib/fte/config/ui_brief.fte
-lib/fte/config/ui_fte.fte
-lib/fte/config/ui_k_fte.fte
-lib/fte/config/ui_k_joe.fte
-lib/fte/config/ui_k_ne.fte
-lib/fte/config/ui_k_ws.fte
-lib/fte/config/ui_m_fte.fte
-lib/fte/config/ui_m_ne.fte
-lib/fte/config/ui_m_ws.fte
-lib/fte/config/ui_mew.fte
-lib/fte/config/ui_ne.fte
-lib/fte/config/ui_vi.fte
-lib/fte/config/ui_ws.fte
-lib/fte/config/uicstyle.fte
-lib/fte/localconfig/systemmain.fte
-@rmtry lib/fte/system.fterc
-%%PORTDOCS%%%%DOCSDIR%%/INDEX
-%%PORTDOCS%%%%DOCSDIR%%/about.html
-%%PORTDOCS%%%%DOCSDIR%%/cfgfiles.html
-%%PORTDOCS%%%%DOCSDIR%%/cmdopt.html
-%%PORTDOCS%%%%DOCSDIR%%/colorize.html
-%%PORTDOCS%%%%DOCSDIR%%/colors.html
-%%PORTDOCS%%%%DOCSDIR%%/command.html
-%%PORTDOCS%%%%DOCSDIR%%/contents.html
-%%PORTDOCS%%%%DOCSDIR%%/events.html
-%%PORTDOCS%%%%DOCSDIR%%/global.html
-%%PORTDOCS%%%%DOCSDIR%%/index.html
-%%PORTDOCS%%%%DOCSDIR%%/install.html
-%%PORTDOCS%%%%DOCSDIR%%/modes.html
-%%PORTDOCS%%%%DOCSDIR%%/perftips.html
-%%PORTDOCS%%%%DOCSDIR%%/regexp.html
-%%PORTDOCS%%%%DOCSDIR%%/status.html