git: d9d5bb5fe11e - main - editors/sublime-text4: add linux-c7-curl to RUN_DEPENDS

Eric Turgeon ericbsd at FreeBSD.org
Sun Oct 3 02:59:52 UTC 2021


The branch main has been updated by ericbsd:

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

commit d9d5bb5fe11eae793eba53ebf6ac7e79a5605a9a
Author:     Eric Turgeon <ericbsd at FreeBSD.org>
AuthorDate: 2021-10-03 02:17:03 +0000
Commit:     Eric Turgeon <ericbsd at FreeBSD.org>
CommitDate: 2021-10-03 02:17:03 +0000

    editors/sublime-text4: add linux-c7-curl to RUN_DEPENDS
---
 editors/sublime-text4/Makefile                         | 6 ++++--
 editors/sublime-text4/files/patch-sublime_text.desktop | 2 +-
 editors/sublime-text4/pkg-plist                        | 2 +-
 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 at 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


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