Date: Sun, 3 Oct 2021 02:59:53 GMT From: Eric Turgeon <ericbsd@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 1e90dc825195 - main - devel/sublime-merge: new ports Message-ID: <202110030259.1932xrSs019197@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by ericbsd: URL: https://cgit.FreeBSD.org/ports/commit/?id=1e90dc8251955ca3bbf2bbe8af0924d53d9206d8 commit 1e90dc8251955ca3bbf2bbe8af0924d53d9206d8 Author: Eric Turgeon <ericbsd@FreeBSD.org> AuthorDate: 2021-10-03 02:59:25 +0000 Commit: Eric Turgeon <ericbsd@FreeBSD.org> CommitDate: 2021-10-03 02:59:25 +0000 devel/sublime-merge: new ports Sublime Merge is a Graphical Git Client from the creators of Sublime Text. It is powered by the same performant cross-platform GUI toolkit and syntax highlighting engine used in Sublime Text. Sublime Merge wraps around the core Git functionality, so when you're using Sublime Merge, you're using Git. This commit is pushed with Sublime Merge --- devel/Makefile | 1 + devel/sublime-merge/Makefile | 44 ++++++++++++++ devel/sublime-merge/distinfo | 6 ++ devel/sublime-merge/files/LICENSE.txt | 21 +++++++ .../files/patch-sublime_merge.desktop | 19 ++++++ devel/sublime-merge/files/sublime-merge.in | 2 + devel/sublime-merge/pkg-descr | 6 ++ devel/sublime-merge/pkg-plist | 71 ++++++++++++++++++++++ 8 files changed, 170 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 92edb0753658..6671bc68ec53 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -6990,6 +6990,7 @@ SUBDIR += stuffbin SUBDIR += stxxl SUBDIR += stylua + SUBDIR += sublime-merge SUBDIR += subversion SUBDIR += subversion-book SUBDIR += subversion-lts diff --git a/devel/sublime-merge/Makefile b/devel/sublime-merge/Makefile new file mode 100644 index 000000000000..c6777d467dfb --- /dev/null +++ b/devel/sublime-merge/Makefile @@ -0,0 +1,44 @@ +PORTNAME= sublime-merge +PORTVERSION= 2059 +CATEGORIES= devel linux +MASTER_SITES= https://download.sublimetext.com/ + +MAINTAINER= ericbsd@FreeBSD.org +COMMENT= Cross-platform Git client, done the Sublime Text way + +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= aarch64 amd64 +ONLY_FOR_ARCHS_REASON= Upstream only supports amd64 and arm64 + +USES= desktop-file-utils gnome linux tar:xz +INSTALLS_ICONS= yes +USE_LINUX= gtk3 + +NO_BUILD= yes +SUB_FILES= sublime-merge + +WRKSRC= ${WRKDIR}/sublime_merge + +DISTNAME_amd64= sublime_merge_build_${PORTVERSION}_x64 +DISTNAME_aarch64= sublime_merge_build_${PORTVERSION}_arm64 + +do-install: + @${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/16x16/apps/ + @${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/32x32/apps/ + @${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps/ + @${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/128x128/apps/ + @${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/256x256/apps/ + ${INSTALL_DATA} ${WRKSRC}/Icon/16x16/sublime-merge.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/16x16/apps/ + ${INSTALL_DATA} ${WRKSRC}/Icon/32x32/sublime-merge.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/32x32/apps/ + ${INSTALL_DATA} ${WRKSRC}/Icon/48x48/sublime-merge.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps/ + ${INSTALL_DATA} ${WRKSRC}/Icon/128x128/sublime-merge.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/128x128/apps/ + ${INSTALL_DATA} ${WRKSRC}/Icon/256x256/sublime-merge.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/256x256/apps/ + ${INSTALL_DATA} ${WRKSRC}/sublime_merge.desktop ${STAGEDIR}${PREFIX}/share/applications/ + cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} + ${INSTALL_SCRIPT} ${WRKDIR}/sublime-merge ${STAGEDIR}${PREFIX}/bin/sublime_merge + +.include <bsd.port.mk> diff --git a/devel/sublime-merge/distinfo b/devel/sublime-merge/distinfo new file mode 100644 index 000000000000..fcd02a11384a --- /dev/null +++ b/devel/sublime-merge/distinfo @@ -0,0 +1,6 @@ +TIMESTAMP = 1633225655 +SHA256 (sublime_merge_build_2059_x64.tar.xz) = eef0cd29290371d06afa400335d37fb6a6f30b1888fb53a017b248c4b43e6e83 +SIZE (sublime_merge_build_2059_x64.tar.xz) = 4734420 +TIMESTAMP = 1633228428 +SHA256 (sublime_merge_build_2059_arm64.tar.xz) = 8b9e70daa4a4023ac2853a9f49b205de63bc8763cff559487a3db272df681eb1 +SIZE (sublime_merge_build_2059_arm64.tar.xz) = 4703732 diff --git a/devel/sublime-merge/files/LICENSE.txt b/devel/sublime-merge/files/LICENSE.txt new file mode 100644 index 000000000000..24bd2025212f --- /dev/null +++ b/devel/sublime-merge/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/devel/sublime-merge/files/patch-sublime_merge.desktop b/devel/sublime-merge/files/patch-sublime_merge.desktop new file mode 100644 index 000000000000..d3a9cd1143ec --- /dev/null +++ b/devel/sublime-merge/files/patch-sublime_merge.desktop @@ -0,0 +1,19 @@ +--- sublime_merge.desktop.orig 2021-05-17 02:56:17 UTC ++++ sublime_merge.desktop +@@ -4,15 +4,10 @@ + Name=Sublime Merge + GenericName=Git Client + Comment=Sublime Merge is a Git client, from the makers of Sublime Text +-Exec=/opt/sublime_merge/sublime_merge %F ++Exec=sublime_merge %F + Terminal=false + MimeType=text/plain; + Icon=sublime-merge + Categories=Development; + StartupNotify=true +-Actions=new-window; + +-[Desktop Action new-window] +-Name=New Window +-Exec=/opt/sublime_merge/sublime_merge --launch-or-new-window +-OnlyShowIn=Unity; diff --git a/devel/sublime-merge/files/sublime-merge.in b/devel/sublime-merge/files/sublime-merge.in new file mode 100644 index 000000000000..ee973bcc21c2 --- /dev/null +++ b/devel/sublime-merge/files/sublime-merge.in @@ -0,0 +1,2 @@ +#! /bin/sh +exec %%DATADIR%%/sublime_merge "$@" diff --git a/devel/sublime-merge/pkg-descr b/devel/sublime-merge/pkg-descr new file mode 100644 index 000000000000..398fbe2228df --- /dev/null +++ b/devel/sublime-merge/pkg-descr @@ -0,0 +1,6 @@ +Sublime Merge is a Graphical Git Client from the creators of Sublime Text. +It is powered by the same performant cross-platform GUI toolkit and syntax +highlighting engine used in Sublime Text. Sublime Merge wraps around the +core Git functionality, so when you're using Sublime Merge, you're using Git. + +WWW: https://www.sublimemerge.com/ diff --git a/devel/sublime-merge/pkg-plist b/devel/sublime-merge/pkg-plist new file mode 100644 index 000000000000..68a348f229aa --- /dev/null +++ b/devel/sublime-merge/pkg-plist @@ -0,0 +1,71 @@ +bin/sublime_merge +share/applications/sublime_merge.desktop +share/icons/hicolor/128x128/apps/sublime-merge.png +share/icons/hicolor/16x16/apps/sublime-merge.png +share/icons/hicolor/256x256/apps/sublime-merge.png +share/icons/hicolor/32x32/apps/sublime-merge.png +share/icons/hicolor/48x48/apps/sublime-merge.png +%%DATADIR%%/Icon/128x128/sublime-merge.png +%%DATADIR%%/Icon/16x16/sublime-merge.png +%%DATADIR%%/Icon/256x256/sublime-merge.png +%%DATADIR%%/Icon/32x32/sublime-merge.png +%%DATADIR%%/Icon/48x48/sublime-merge.png +%%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 - Merge.sublime-package +%%DATADIR%%/Packages/Default.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/Theme - Merge.sublime-package +%%DATADIR%%/Packages/XML.sublime-package +%%DATADIR%%/Packages/YAML.sublime-package +%%DATADIR%%/changelog.txt +%%DATADIR%%/crash_reporter +%%DATADIR%%/git-credential-sublime +%%DATADIR%%/ssh-askpass-sublime +@(,,555) %%DATADIR%%/sublime_merge +%%DATADIR%%/sublime_merge.desktop +%%DATADIR%%/sublime_merge.desktop.orig
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202110030259.1932xrSs019197>