Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 May 2021 20:43:39 GMT
From:      Lewis Cook <lcook@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 83539d8247cb - main - editors/linux-sublime3: Add missing LICENSE file
Message-ID:  <202105232043.14NKhdT6009551@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by lcook:

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

commit 83539d8247cbd8cff831f374acb59331a1123f48
Author:     Matías Pizarro <matias@pizarro.net>
AuthorDate: 2021-05-23 20:39:38 +0000
Commit:     Lewis Cook <lcook@FreeBSD.org>
CommitDate: 2021-05-23 20:41:05 +0000

    editors/linux-sublime3: Add missing LICENSE file
    
    While here, pet portclippy and portfmt.
    
    PR:     256104
---
 editors/linux-sublime3/Makefile          | 33 ++++++++++++++------------------
 editors/linux-sublime3/files/LICENSE.txt | 21 ++++++++++++++++++++
 2 files changed, 35 insertions(+), 19 deletions(-)

diff --git a/editors/linux-sublime3/Makefile b/editors/linux-sublime3/Makefile
index 2851333e20ee..506e278957d6 100644
--- a/editors/linux-sublime3/Makefile
+++ b/editors/linux-sublime3/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	sublime
 PORTVERSION=	3.2.2
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	editors linux
 MASTER_SITES=	http://download.sublimetext.com/
 PKGNAMEPREFIX=	linux-
@@ -20,32 +20,27 @@ ONLY_FOR_ARCHS=	amd64 i386
 ONLY_FOR_ARCHS_REASON=	Upstream only supports amd64 and i386
 
 USES=		desktop-file-utils gnome linux tar:bzip2
-USE_LINUX=	gtk3
-
-DISTNAME_amd64=	sublime_text_3_build_3211_x64
-DISTNAME_i386=	sublime_text_3_build_3211_x32
-
 INSTALLS_ICONS=	yes
-WRKSRC=		${WRKDIR}/sublime_text_3
+USE_LINUX=	gtk3
 
 CONFLICTS_INSTALL=	linux-sublime[0-9]*
 
 NO_BUILD=	yes
 SUB_FILES=	sublime
 
+WRKSRC=		${WRKDIR}/sublime_text_3
+
+DISTNAME_amd64=	sublime_text_3_build_3211_x64
+DISTNAME_i386=	sublime_text_3_build_3211_x32
+
 do-install:
-	@${MKDIR} ${STAGEDIR}${DATADIR} \
-		${STAGEDIR}${PREFIX}/share/icons/hicolor/16x16/apps/ \
-		${STAGEDIR}${PREFIX}/share/icons/hicolor/32x32/apps/ \
-		${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps/ \
-		${STAGEDIR}${PREFIX}/share/icons/hicolor/128x128/apps/ \
-		${STAGEDIR}${PREFIX}/share/icons/hicolor/256x256/apps/
-
-	${INSTALL_DATA} ${WRKSRC}/Icon/16x16/sublime-text.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/16x16/apps/
-	${INSTALL_DATA} ${WRKSRC}/Icon/32x32/sublime-text.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/32x32/apps/
-	${INSTALL_DATA} ${WRKSRC}/Icon/48x48/sublime-text.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps/
-	${INSTALL_DATA} ${WRKSRC}/Icon/128x128/sublime-text.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/128x128/apps/
-	${INSTALL_DATA} ${WRKSRC}/Icon/256x256/sublime-text.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/256x256/apps/
+	@${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}
 	${INSTALL_SCRIPT} ${WRKDIR}/sublime ${STAGEDIR}${PREFIX}/bin/sublime
diff --git a/editors/linux-sublime3/files/LICENSE.txt b/editors/linux-sublime3/files/LICENSE.txt
new file mode 100644
index 000000000000..24bd2025212f
--- /dev/null
+++ b/editors/linux-sublime3/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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105232043.14NKhdT6009551>