aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-12-16 14:19:35 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-12-16 19:15:39 +0000
commitd3decd719ed31b974046eec5396b9abbea71a7f4 (patch)
tree429091f02b7421b95581ae4ea4d9567c622e8ac3
parent0d4bf3721e86195043ceb0a1f1f5241f5feefa24 (diff)
downloadports-d3decd719ed31b974046eec5396b9abbea71a7f4.tar.gz
ports-d3decd719ed31b974046eec5396b9abbea71a7f4.zip
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
-rw-r--r--editors/linux-sublime/Makefile24
1 files 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>