aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorEric Turgeon <ericbsd@FreeBSD.org>2021-10-03 03:11:08 +0000
committerEric Turgeon <ericbsd@FreeBSD.org>2021-10-03 03:12:03 +0000
commit8162a8f301c110a870a1fc5792136ac62e929432 (patch)
treea1fe44134ba9888e61b3de6d739fcb6b99f03091 /editors
parent3b497278eb0ff0227038a928d46c6ef24de424b1 (diff)
downloadports-8162a8f301c110a870a1fc5792136ac62e929432.tar.gz
ports-8162a8f301c110a870a1fc5792136ac62e929432.zip
editors/sublime-text4: fixed sublime_text.desktop
Diffstat (limited to 'editors')
-rw-r--r--editors/sublime-text4/Makefile5
-rw-r--r--editors/sublime-text4/files/patch-sublime_text.desktop6
-rw-r--r--editors/sublime-text4/pkg-plist8
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