mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
editors/linux-sublime3: Add missing LICENSE file
While here, pet portclippy and portfmt. PR: 256104
This commit is contained in:
parent
8dbf0b540e
commit
83539d8247
@ -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
|
||||
|
||||
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/
|
||||
WRKSRC= ${WRKDIR}/sublime_text_3
|
||||
|
||||
${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/
|
||||
DISTNAME_amd64= sublime_text_3_build_3211_x64
|
||||
DISTNAME_i386= sublime_text_3_build_3211_x32
|
||||
|
||||
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}
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/sublime ${STAGEDIR}${PREFIX}/bin/sublime
|
||||
|
21
editors/linux-sublime3/files/LICENSE.txt
Normal file
21
editors/linux-sublime3/files/LICENSE.txt
Normal file
@ -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.
|
Loading…
Reference in New Issue
Block a user