git: 8162a8f301c1 - main - editors/sublime-text4: fixed sublime_text.desktop

Eric Turgeon ericbsd at FreeBSD.org
Sun Oct 3 03:12:14 UTC 2021


The branch main has been updated by ericbsd:

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

commit 8162a8f301c110a870a1fc5792136ac62e929432
Author:     Eric Turgeon <ericbsd at FreeBSD.org>
AuthorDate: 2021-10-03 03:11:08 +0000
Commit:     Eric Turgeon <ericbsd at FreeBSD.org>
CommitDate: 2021-10-03 03:12:03 +0000

    editors/sublime-text4: fixed sublime_text.desktop
---
 editors/sublime-text4/Makefile                         | 5 -----
 editors/sublime-text4/files/patch-sublime_text.desktop | 6 +++---
 editors/sublime-text4/pkg-plist                        | 8 ++++----
 3 files changed, 7 insertions(+), 12 deletions(-)

diff --git a/editors/sublime-text4/Makefile b/editors/sublime-text4/Makefile
index 502c282df97b..f31804698cea 100644
--- a/editors/sublime-text4/Makefile
+++ b/editors/sublime-text4/Makefile
@@ -1,4 +1,3 @@
-
 PORTNAME=	sublime-text4
 PORTVERSION=	4116
 PORTREVISION=	1
@@ -42,10 +41,6 @@ do-install:
 .endfor
 	${INSTALL_DATA} ${WRKSRC}/sublime_text.desktop ${STAGEDIR}${PREFIX}/share/applications/
 	cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
-	${CHMOD} +x ${STAGEDIR}${DATADIR}/crash_reporter
-	${CHMOD} +x ${STAGEDIR}${DATADIR}/plugin_host-3.3
-	${CHMOD} +x ${STAGEDIR}${DATADIR}/plugin_host-3.8
-	${CHMOD} +x ${STAGEDIR}${DATADIR}/sublime_text
 	${INSTALL_SCRIPT} ${WRKDIR}/sublime-text ${STAGEDIR}${PREFIX}/bin/sublime_text
 
 .include <bsd.port.mk>
diff --git a/editors/sublime-text4/files/patch-sublime_text.desktop b/editors/sublime-text4/files/patch-sublime_text.desktop
index efed61849d8b..9ed68f75a4c3 100644
--- a/editors/sublime-text4/files/patch-sublime_text.desktop
+++ b/editors/sublime-text4/files/patch-sublime_text.desktop
@@ -1,6 +1,6 @@
---- sublime_text.desktop.orig	2021-06-10 19:48:40.157165000 -0300
-+++ sublime_text.desktop	2021-06-10 19:49:50.909919000 -0300
-@@ -4,20 +4,9 @@
+--- sublime_text.desktop.orig	2021-09-29 05:18:37 UTC
++++ sublime_text.desktop
+@@ -4,20 +4,9 @@ Type=Application
  Name=Sublime Text
  GenericName=Text Editor
  Comment=Sophisticated text editor for code, markup and prose
diff --git a/editors/sublime-text4/pkg-plist b/editors/sublime-text4/pkg-plist
index e974a0cbd9ed..b8e3c5ab7f9b 100644
--- a/editors/sublime-text4/pkg-plist
+++ b/editors/sublime-text4/pkg-plist
@@ -76,11 +76,11 @@ share/icons/hicolor/48x48/apps/sublime-text.png
 %%DATADIR%%/Packages/XML.sublime-package
 %%DATADIR%%/Packages/YAML.sublime-package
 %%DATADIR%%/changelog.txt
-%%DATADIR%%/crash_reporter
+@(,,555) %%DATADIR%%/crash_reporter
 %%DATADIR%%/libcrypto.so.1.1
 %%DATADIR%%/libssl.so.1.1
-%%DATADIR%%/plugin_host-3.3
-%%DATADIR%%/plugin_host-3.8
-%%DATADIR%%/sublime_text
+@(,,555) %%DATADIR%%/plugin_host-3.3
+@(,,555) %%DATADIR%%/plugin_host-3.8
+@(,,555) %%DATADIR%%/sublime_text
 %%DATADIR%%/sublime_text.desktop
 %%DATADIR%%/sublime_text.desktop.orig


More information about the dev-commits-ports-all mailing list