git: d3decd719ed3 - main - editors/linux-sublime: Mark DEPRECATED

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 16 Dec 2023 19:16:04 UTC
The branch main has been updated by bofh:

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

commit d3decd719ed31b974046eec5396b9abbea71a7f4
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-12-16 14:19:35 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-12-16 19:15:39 +0000

    editors/linux-sublime: Mark DEPRECATED
    
    - This is the legacy version which is unmaintained by upstream
    - Use linux-sublime-text4 or linux-sublime3
    - Set EXPIRATION_DATE 2024-03-31
    - Pet portclippy
---
 editors/linux-sublime/Makefile | 24 ++++++++++++++----------
 1 file changed, 14 insertions(+), 10 deletions(-)

diff --git a/editors/linux-sublime/Makefile b/editors/linux-sublime/Makefile
index 149ce1cb37f6..82aa29b02ef6 100644
--- a/editors/linux-sublime/Makefile
+++ b/editors/linux-sublime/Makefile
@@ -3,21 +3,25 @@ PORTVERSION=	2.0.2
 PORTREVISION=	6
 CATEGORIES=	editors linux
 MASTER_SITES=	https://download.sublimetext.com/
-DISTNAME=	Sublime%20Text%202.0.2
 PKGNAMEPREFIX=	linux-
+DISTNAME=	Sublime%20Text%202.0.2
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Sophisticated text editor for code, markup and prose
 WWW=		https://www.sublimetext.com
 
+DEPRECATED=	This is the legacy version Use linux-sublime-text4
+EXPIRATION_DATE=	2024-03-31
+
 USES=		desktop-file-utils gnome linux tar:bzip2
 USE_LINUX=	xorglibs gtk2
-WRKSRC=		${WRKDIR}/"Sublime Text 2"
+
+CONFLICTS_INSTALL=	linux-sublime3
 
 NO_BUILD=
 SUB_FILES=	sublime
 
-CONFLICTS_INSTALL=	linux-sublime3
+WRKSRC=		${WRKDIR}/"Sublime Text 2"
 
 do-install:
 	@${MKDIR} ${STAGEDIR}${DATADIR}
@@ -27,15 +31,15 @@ do-install:
 	@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/128x128/apps/
 	@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/256x256/apps/
 	@${MKDIR} ${STAGEDIR}${PREFIX}/share/applications
-	@${INSTALL_DATA} ${FILESDIR}/sublime_text.desktop ${STAGEDIR}${PREFIX}/share/applications
-	@${INSTALL_DATA} ${WRKSRC}/Icon/16x16/sublime_text.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/16x16/apps/
-	@${INSTALL_DATA} ${WRKSRC}/Icon/32x32/sublime_text.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/32x32/apps/
-	@${INSTALL_DATA} ${WRKSRC}/Icon/48x48/sublime_text.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps/
-	@${INSTALL_DATA} ${WRKSRC}/Icon/128x128/sublime_text.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/128x128/apps/
-	@${INSTALL_DATA} ${WRKSRC}/Icon/256x256/sublime_text.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/256x256/apps/
+	${INSTALL_DATA} ${FILESDIR}/sublime_text.desktop ${STAGEDIR}${PREFIX}/share/applications
+	${INSTALL_DATA} ${WRKSRC}/Icon/16x16/sublime_text.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/16x16/apps/
+	${INSTALL_DATA} ${WRKSRC}/Icon/32x32/sublime_text.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/32x32/apps/
+	${INSTALL_DATA} ${WRKSRC}/Icon/48x48/sublime_text.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps/
+	${INSTALL_DATA} ${WRKSRC}/Icon/128x128/sublime_text.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/128x128/apps/
+	${INSTALL_DATA} ${WRKSRC}/Icon/256x256/sublime_text.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/256x256/apps/
 	@${RM} -r ${WRKSRC}/Icon/
 	@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
 	@${CHMOD} +x ${STAGEDIR}${DATADIR}/sublime_text
-	@${INSTALL_SCRIPT} ${WRKDIR}/sublime ${STAGEDIR}${PREFIX}/bin/sublime
+	${INSTALL_SCRIPT} ${WRKDIR}/sublime ${STAGEDIR}${PREFIX}/bin/sublime
 
 .include <bsd.port.mk>