diff --git a/editors/Makefile b/editors/Makefile index e4515c8dd82b..1a010f0e7737 100644 --- a/editors/Makefile +++ b/editors/Makefile @@ -1,273 +1,274 @@ COMMENT = Editors SUBDIR += 2bsd-vi SUBDIR += abiword SUBDIR += abiword-docs SUBDIR += aee SUBDIR += aewan SUBDIR += apel SUBDIR += asedit SUBDIR += beav SUBDIR += biew SUBDIR += bitedit SUBDIR += boiling-egg SUBDIR += bpatch SUBDIR += bvi SUBDIR += calligra SUBDIR += calligraplan SUBDIR += chexedit SUBDIR += codelite SUBDIR += cooledit SUBDIR += cpeditor SUBDIR += cream SUBDIR += cudatext SUBDIR += deforaos-editor SUBDIR += dhex SUBDIR += diakonos SUBDIR += dkns SUBDIR += drjava SUBDIR += dte SUBDIR += e3 SUBDIR += e93 SUBDIR += ecce SUBDIR += ecrire SUBDIR += edith SUBDIR += editorconfig-core-c SUBDIR += elementary-code SUBDIR += emacs SUBDIR += emacs-devel SUBDIR += encryptpad SUBDIR += featherpad SUBDIR += fileobj SUBDIR += flim SUBDIR += focuswriter SUBDIR += fpc-ide SUBDIR += fte SUBDIR += fxite SUBDIR += gedit SUBDIR += gedit-plugins SUBDIR += ghex SUBDIR += ghostwriter SUBDIR += gmanedit SUBDIR += gnome-latex SUBDIR += gobby SUBDIR += gomate SUBDIR += gummi SUBDIR += heme SUBDIR += hexcurse SUBDIR += hexedit SUBDIR += hexer SUBDIR += hexpert SUBDIR += hnb SUBDIR += hte SUBDIR += imhex SUBDIR += impress SUBDIR += jed SUBDIR += jedit SUBDIR += joe SUBDIR += jove SUBDIR += jucipp SUBDIR += jupp SUBDIR += kak-lsp SUBDIR += kakoune SUBDIR += kate SUBDIR += kibi SUBDIR += kile SUBDIR += komodo-edit SUBDIR += lazarus SUBDIR += lazarus-qt5 SUBDIR += le SUBDIR += leafpad SUBDIR += led SUBDIR += libreoffice SUBDIR += libreoffice-af SUBDIR += libreoffice-am SUBDIR += libreoffice-as SUBDIR += libreoffice-ast SUBDIR += libreoffice-be SUBDIR += libreoffice-bg SUBDIR += libreoffice-bn SUBDIR += libreoffice-bn_IN SUBDIR += libreoffice-bo SUBDIR += libreoffice-br SUBDIR += libreoffice-brx SUBDIR += libreoffice-bs SUBDIR += libreoffice-ca SUBDIR += libreoffice-ca_valencia SUBDIR += libreoffice-ckb SUBDIR += libreoffice-cs SUBDIR += libreoffice-cy SUBDIR += libreoffice-da SUBDIR += libreoffice-dgo SUBDIR += libreoffice-dsb SUBDIR += libreoffice-dz SUBDIR += libreoffice-el SUBDIR += libreoffice-en_GB SUBDIR += libreoffice-en_ZA SUBDIR += libreoffice-eo SUBDIR += libreoffice-es SUBDIR += libreoffice-et SUBDIR += libreoffice-eu SUBDIR += libreoffice-fa SUBDIR += libreoffice-fi SUBDIR += libreoffice-fur SUBDIR += libreoffice-fy SUBDIR += libreoffice-ga SUBDIR += libreoffice-gd SUBDIR += libreoffice-gl SUBDIR += libreoffice-gu SUBDIR += libreoffice-gug SUBDIR += libreoffice-hi SUBDIR += libreoffice-hr SUBDIR += libreoffice-hsb SUBDIR += libreoffice-i18n SUBDIR += libreoffice-id SUBDIR += libreoffice-is SUBDIR += libreoffice-it SUBDIR += libreoffice-ka SUBDIR += libreoffice-kab SUBDIR += libreoffice-kk SUBDIR += libreoffice-km SUBDIR += libreoffice-kmr_Latn SUBDIR += libreoffice-kn SUBDIR += libreoffice-kok SUBDIR += libreoffice-ks SUBDIR += libreoffice-lb SUBDIR += libreoffice-lo SUBDIR += libreoffice-lt SUBDIR += libreoffice-lv SUBDIR += libreoffice-mai SUBDIR += libreoffice-mk SUBDIR += libreoffice-ml SUBDIR += libreoffice-mn SUBDIR += libreoffice-mni SUBDIR += libreoffice-mr SUBDIR += libreoffice-my SUBDIR += libreoffice-nb SUBDIR += libreoffice-ne SUBDIR += libreoffice-nl SUBDIR += libreoffice-nn SUBDIR += libreoffice-nr SUBDIR += libreoffice-nso SUBDIR += libreoffice-oc SUBDIR += libreoffice-om SUBDIR += libreoffice-or SUBDIR += libreoffice-pa_IN SUBDIR += libreoffice-ro SUBDIR += libreoffice-rw SUBDIR += libreoffice-sa_IN SUBDIR += libreoffice-sat SUBDIR += libreoffice-sd SUBDIR += libreoffice-si SUBDIR += libreoffice-sid SUBDIR += libreoffice-sk SUBDIR += libreoffice-sl SUBDIR += libreoffice-sq SUBDIR += libreoffice-sr SUBDIR += libreoffice-sr_Latn SUBDIR += libreoffice-ss SUBDIR += libreoffice-st SUBDIR += libreoffice-sv SUBDIR += libreoffice-sw_TZ SUBDIR += libreoffice-szl SUBDIR += libreoffice-ta SUBDIR += libreoffice-te SUBDIR += libreoffice-tg SUBDIR += libreoffice-th SUBDIR += libreoffice-tn SUBDIR += libreoffice-tr SUBDIR += libreoffice-ts SUBDIR += libreoffice-tt SUBDIR += libreoffice-ug SUBDIR += libreoffice-uz SUBDIR += libreoffice-ve SUBDIR += libreoffice-vec SUBDIR += libreoffice-xh SUBDIR += libreoffice-zu SUBDIR += libreoffice6 SUBDIR += linux-sublime SUBDIR += linux-sublime3 SUBDIR += madedit SUBDIR += marker SUBDIR += mg SUBDIR += micro SUBDIR += mined SUBDIR += mle SUBDIR += morla SUBDIR += mousepad SUBDIR += mp SUBDIR += nano SUBDIR += ne SUBDIR += nedit SUBDIR += neovim SUBDIR += neovim-qt SUBDIR += nvi-m17n SUBDIR += nvi2 SUBDIR += o SUBDIR += openoffice-4 SUBDIR += openoffice-devel SUBDIR += p5-Proc-InvokeEditor SUBDIR += p5-Vimana SUBDIR += paredit-mode.el SUBDIR += parinfer-rust SUBDIR += pdfedit SUBDIR += pico-alpine SUBDIR += picpas SUBDIR += pluma SUBDIR += poedit SUBDIR += poke SUBDIR += psgml SUBDIR += puff SUBDIR += py-babi SUBDIR += py-editorconfig SUBDIR += py-pynvim SUBDIR += quilter SUBDIR += rehex SUBDIR += rubygem-neovim SUBDIR += scite SUBDIR += se SUBDIR += semi SUBDIR += setzer SUBDIR += shed SUBDIR += slime SUBDIR += sly SUBDIR += sly-asdf SUBDIR += sly-named-readtables SUBDIR += sly-quicklisp SUBDIR += ssed SUBDIR += sted + SUBDIR += sublime-text4 SUBDIR += tamago SUBDIR += tea SUBDIR += teco SUBDIR += ted SUBDIR += tetradraw SUBDIR += texmacs SUBDIR += texmaker SUBDIR += texstudio SUBDIR += textadept SUBDIR += texworks SUBDIR += the SUBDIR += treeform SUBDIR += tweak SUBDIR += uemacs SUBDIR += uzap SUBDIR += vigor SUBDIR += vile SUBDIR += vim SUBDIR += vim-console SUBDIR += vim-tiny SUBDIR += vscode SUBDIR += web-mode SUBDIR += with-editor SUBDIR += wordgrinder SUBDIR += wxhexeditor SUBDIR += xcoral SUBDIR += xed SUBDIR += xi-core SUBDIR += xi-term SUBDIR += xmlcopyeditor SUBDIR += xvile SUBDIR += yudit SUBDIR += zile .include diff --git a/editors/sublime-test4/Makefile b/editors/sublime-test4/Makefile new file mode 100644 index 000000000000..b9b9aabfb436 --- /dev/null +++ b/editors/sublime-test4/Makefile @@ -0,0 +1,50 @@ +# Created by: Eric TUrgeon + +PORTNAME= sublime +PORTVERSION= 4107 +CATEGORIES= editors linux +MASTER_SITES= http://download.sublimetext.com/ +PKGNAMESUFFIX= -text4 + +MAINTAINER= ericbsd@FreeBSD.org +COMMENT= Sophisticated text editor for code, markup and prose + +LICENSE= SUBLIMEHQ +LICENSE_NAME= End User License Agreement +LICENSE_FILE= ${FILESDIR}/LICENSE.txt +LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept + +ONLY_FOR_ARCHS= amd64 arm64 +ONLY_FOR_ARCHS_REASON= Upstream only supports amd64 and i386 + +USES= desktop-file-utils gnome linux tar:xz +INSTALLS_ICONS= yes +USE_LINUX= gtk3 + +CONFLICTS_INSTALL= linux-sublime[0-9]* + +NO_BUILD= yes +SUB_FILES= sublime-text + +WRKSRC= ${WRKDIR}/sublime_text + +DISTNAME_amd64= sublime_text_build_4107_x64 +DISTNAME_arm64= sublime_text_build_4107_arm64 + +do-install: + @${MKDIR} ${STAGEDIR}${DATADIR} +.for res in 16 32 48 128 256 + @${MKDIR} \ + ${STAGEDIR}${PREFIX}/share/icons/hicolor/${res}x${res}/apps/ + ${INSTALL_DATA} ${WRKSRC}/Icon/${res}x${res}/sublime-text.png \ + ${STAGEDIR}${PREFIX}/share/icons/hicolor/${res}x${res}/apps/ +.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 diff --git a/editors/sublime-test4/distinfo b/editors/sublime-test4/distinfo new file mode 100644 index 000000000000..b40b28bfac72 --- /dev/null +++ b/editors/sublime-test4/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1623364000 +SHA256 (sublime_text_build_4107_x64.tar.xz) = c7d9e7520ea91c2db6c026d1f48e9067457d55158393be042100a1161a3e5915 +SIZE (sublime_text_build_4107_x64.tar.xz) = 17096632 diff --git a/editors/sublime-test4/files/LICENSE.txt b/editors/sublime-test4/files/LICENSE.txt new file mode 100644 index 000000000000..24bd2025212f --- /dev/null +++ b/editors/sublime-test4/files/LICENSE.txt @@ -0,0 +1,21 @@ + The SOFTWARE PRODUCT (SUBLIME TEXT and SUBLIME MERGE) is protected by copyright laws and international copyright treaties, as well as other intellectual property laws and treaties. The SOFTWARE PRODUCT is licensed, not sold. + + LICENSES + The SOFTWARE PRODUCT is licensed as follows: + Installation and Usage. + Licenses are per user and valid for use on all supported operating systems. License keys may be used on multiple computers and operating systems, provided the license key holder is the primary user. Businesses must purchase at least as many licenses as the number of people using the SOFTWARE PRODUCT. + Backup Copies. + You may make copies of the license key and or the SOFTWARE PRODUCT for backup and archival purposes. + DESCRIPTION OF OTHER RIGHTS AND LIMITATIONS + Maintenance of Copyright Notices. + You must not remove or alter any copyright notices on any copy of the SOFTWARE PRODUCT. + Distribution. + You may not distribute or sell license keys or the SOFTWARE PRODUCT to third parties. Licenses will be revoked if distributed or sold to third parties. + Rental. + You may not rent, lease, or lend the license key or the SOFTWARE PRODUCT. + COPYRIGHT + All title, including but not limited to copyrights, in and to the SOFTWARE PRODUCT and any copies thereof are owned by SUBLIME HQ PTY LTD. + NO WARRANTIES + SUBLIME HQ PTY LTD expressly disclaims any warranty for the SOFTWARE PRODUCT, which is provided 'as is' without any express or implied warranty of any kind, including but not limited to any warranties of merchantability, non-infringement, or fitness of a particular purpose. + LIMITATION OF LIABILITY + In no event shall SUBLIME HQ PTY LTD be liable for any damages due to use of the SOFTWARE PRODUCT, to the maximum extent permitted by law. This includes without limitation, lost profits, business interruption, or lost information. In no event will SUBLIME HQ PTY LTD be liable for loss of data or for indirect, special, incidental, consequential (including lost profit), or other damages. SUBLIME HQ PTY LTD shall have no liability with respect to the content of the SOFTWARE PRODUCT or any part thereof, including but not limited to errors or omissions contained therein, libel, trademark rights, business interruption, loss of privacy or the disclosure of confidential information. diff --git a/editors/sublime-test4/files/patch-sublime_text.desktop b/editors/sublime-test4/files/patch-sublime_text.desktop new file mode 100644 index 000000000000..1ccb121ea289 --- /dev/null +++ b/editors/sublime-test4/files/patch-sublime_text.desktop @@ -0,0 +1,24 @@ +--- 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 @@ + Name=Sublime Text + GenericName=Text Editor + Comment=Sophisticated text editor for code, markup and prose +-Exec=/opt/sublime_text/sublime_text %F ++Exec=sublime-text %F + Terminal=false + MimeType=text/plain; + Icon=sublime-text + Categories=TextEditor;Development; + StartupNotify=true +-Actions=new-window;new-file; +- +-[Desktop Action new-window] +-Name=New Window +-Exec=/opt/sublime_text/sublime_text --launch-or-new-window +-OnlyShowIn=Unity; +- +-[Desktop Action new-file] +-Name=New File +-Exec=/opt/sublime_text/sublime_text --command new_file +-OnlyShowIn=Unity; diff --git a/editors/sublime-test4/files/sublime-text.in b/editors/sublime-test4/files/sublime-text.in new file mode 100644 index 000000000000..f665b21deb76 --- /dev/null +++ b/editors/sublime-test4/files/sublime-text.in @@ -0,0 +1,2 @@ +#! /bin/sh +exec %%DATADIR%%/sublime_text "$@" diff --git a/editors/sublime-test4/pkg-descr b/editors/sublime-test4/pkg-descr new file mode 100644 index 000000000000..b4d307909ed4 --- /dev/null +++ b/editors/sublime-test4/pkg-descr @@ -0,0 +1,3 @@ +Sublime Text is a sophisticated text editor for code, markup and prose. + +WWW: http://www.sublimetext.com diff --git a/editors/sublime-test4/pkg-plist b/editors/sublime-test4/pkg-plist new file mode 100644 index 000000000000..85d783292062 --- /dev/null +++ b/editors/sublime-test4/pkg-plist @@ -0,0 +1,84 @@ +bin/sublime-text +share/applications/sublime_text.desktop +share/icons/hicolor/128x128/apps/sublime-text.png +share/icons/hicolor/16x16/apps/sublime-text.png +share/icons/hicolor/256x256/apps/sublime-text.png +share/icons/hicolor/32x32/apps/sublime-text.png +share/icons/hicolor/48x48/apps/sublime-text.png +%%DATADIR%%/Icon/128x128/sublime-text.png +%%DATADIR%%/Icon/16x16/sublime-text.png +%%DATADIR%%/Icon/256x256/sublime-text.png +%%DATADIR%%/Icon/32x32/sublime-text.png +%%DATADIR%%/Icon/48x48/sublime-text.png +%%DATADIR%%/Lib/python3.3.zip +%%DATADIR%%/Lib/python3.8.zip +%%DATADIR%%/Lib/python3/certifi/LICENSE +%%DATADIR%%/Lib/python3/certifi/__init__.py +%%DATADIR%%/Lib/python3/certifi/__main__.py +%%DATADIR%%/Lib/python3/certifi/__pycache__/__init__.cpython-38.opt-1.pyc +%%DATADIR%%/Lib/python3/certifi/__pycache__/core.cpython-38.opt-1.pyc +%%DATADIR%%/Lib/python3/certifi/cacert.pem +%%DATADIR%%/Lib/python3/certifi/core.py +%%DATADIR%%/Lib/python33/sublime.py +%%DATADIR%%/Lib/python33/sublime_plugin.py +%%DATADIR%%/Lib/python38/sublime.py +%%DATADIR%%/Lib/python38/sublime_plugin.py +%%DATADIR%%/Packages/ASP.sublime-package +%%DATADIR%%/Packages/ActionScript.sublime-package +%%DATADIR%%/Packages/AppleScript.sublime-package +%%DATADIR%%/Packages/Batch File.sublime-package +%%DATADIR%%/Packages/C#.sublime-package +%%DATADIR%%/Packages/C++.sublime-package +%%DATADIR%%/Packages/CSS.sublime-package +%%DATADIR%%/Packages/Clojure.sublime-package +%%DATADIR%%/Packages/Color Scheme - Default.sublime-package +%%DATADIR%%/Packages/Color Scheme - Legacy.sublime-package +%%DATADIR%%/Packages/D.sublime-package +%%DATADIR%%/Packages/Default.sublime-package +%%DATADIR%%/Packages/Diff.sublime-package +%%DATADIR%%/Packages/Erlang.sublime-package +%%DATADIR%%/Packages/Git Formats.sublime-package +%%DATADIR%%/Packages/Go.sublime-package +%%DATADIR%%/Packages/Graphviz.sublime-package +%%DATADIR%%/Packages/Groovy.sublime-package +%%DATADIR%%/Packages/HTML.sublime-package +%%DATADIR%%/Packages/Haskell.sublime-package +%%DATADIR%%/Packages/JSON.sublime-package +%%DATADIR%%/Packages/Java.sublime-package +%%DATADIR%%/Packages/JavaScript.sublime-package +%%DATADIR%%/Packages/LaTeX.sublime-package +%%DATADIR%%/Packages/Language - English.sublime-package +%%DATADIR%%/Packages/Lisp.sublime-package +%%DATADIR%%/Packages/Lua.sublime-package +%%DATADIR%%/Packages/Makefile.sublime-package +%%DATADIR%%/Packages/Markdown.sublime-package +%%DATADIR%%/Packages/Matlab.sublime-package +%%DATADIR%%/Packages/OCaml.sublime-package +%%DATADIR%%/Packages/Objective-C.sublime-package +%%DATADIR%%/Packages/PHP.sublime-package +%%DATADIR%%/Packages/Pascal.sublime-package +%%DATADIR%%/Packages/Perl.sublime-package +%%DATADIR%%/Packages/Python.sublime-package +%%DATADIR%%/Packages/R.sublime-package +%%DATADIR%%/Packages/Rails.sublime-package +%%DATADIR%%/Packages/Regular Expressions.sublime-package +%%DATADIR%%/Packages/RestructuredText.sublime-package +%%DATADIR%%/Packages/Ruby.sublime-package +%%DATADIR%%/Packages/Rust.sublime-package +%%DATADIR%%/Packages/SQL.sublime-package +%%DATADIR%%/Packages/Scala.sublime-package +%%DATADIR%%/Packages/ShellScript.sublime-package +%%DATADIR%%/Packages/TCL.sublime-package +%%DATADIR%%/Packages/Text.sublime-package +%%DATADIR%%/Packages/Textile.sublime-package +%%DATADIR%%/Packages/Theme - Default.sublime-package +%%DATADIR%%/Packages/Vintage.sublime-package +%%DATADIR%%/Packages/XML.sublime-package +%%DATADIR%%/Packages/YAML.sublime-package +%%DATADIR%%/changelog.txt +%%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