aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Turgeon <ericbsd@FreeBSD.org>2021-10-03 02:17:03 +0000
committerEric Turgeon <ericbsd@FreeBSD.org>2021-10-03 02:17:03 +0000
commitd9d5bb5fe11eae793eba53ebf6ac7e79a5605a9a (patch)
treea60b360c5958be4b57011eab3fe58d4e14db1e97
parente0a537a13d1481d2733c88af450808c83140730e (diff)
downloadports-d9d5bb5fe11eae793eba53ebf6ac7e79a5605a9a.tar.gz
ports-d9d5bb5fe11eae793eba53ebf6ac7e79a5605a9a.zip
editors/sublime-text4: add linux-c7-curl to RUN_DEPENDS
-rw-r--r--editors/sublime-text4/Makefile6
-rw-r--r--editors/sublime-text4/files/patch-sublime_text.desktop2
-rw-r--r--editors/sublime-text4/pkg-plist2
3 files changed, 6 insertions, 4 deletions
diff --git a/editors/sublime-text4/Makefile b/editors/sublime-text4/Makefile
index e9201e385d70..502c282df97b 100644
--- a/editors/sublime-text4/Makefile
+++ b/editors/sublime-text4/Makefile
@@ -1,7 +1,7 @@
-# Created by: Eric TUrgeon <ericbsd@FreeBSD.org>
PORTNAME= sublime-text4
PORTVERSION= 4116
+PORTREVISION= 1
CATEGORIES= editors linux
MASTER_SITES= http://download.sublimetext.com/
@@ -16,6 +16,8 @@ LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept
ONLY_FOR_ARCHS= aarch64 amd64
ONLY_FOR_ARCHS_REASON= Upstream only supports amd64 and aarch64
+RUN_DEPENDS= linux-c7-curl>0:ftp/linux-c7-curl
+
USES= desktop-file-utils gnome linux tar:xz
INSTALLS_ICONS= yes
USE_LINUX= gtk3
@@ -44,6 +46,6 @@ do-install:
${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
+ ${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 1ccb121ea289..efed61849d8b 100644
--- a/editors/sublime-text4/files/patch-sublime_text.desktop
+++ b/editors/sublime-text4/files/patch-sublime_text.desktop
@@ -5,7 +5,7 @@
GenericName=Text Editor
Comment=Sophisticated text editor for code, markup and prose
-Exec=/opt/sublime_text/sublime_text %F
-+Exec=sublime-text %F
++Exec=sublime_text %F
Terminal=false
MimeType=text/plain;
Icon=sublime-text
diff --git a/editors/sublime-text4/pkg-plist b/editors/sublime-text4/pkg-plist
index 9d17e35b6adf..e974a0cbd9ed 100644
--- a/editors/sublime-text4/pkg-plist
+++ b/editors/sublime-text4/pkg-plist
@@ -1,4 +1,4 @@
-bin/sublime-text
+bin/sublime_text
share/applications/sublime_text.desktop
share/icons/hicolor/128x128/apps/sublime-text.png
share/icons/hicolor/16x16/apps/sublime-text.png