diff options
author | tijl <tijl@FreeBSD.org> | 2016-12-08 21:52:38 +0800 |
---|---|---|
committer | tijl <tijl@FreeBSD.org> | 2016-12-08 21:52:38 +0800 |
commit | c77c7e609845f3e0806993e4811921b4b09d28d8 (patch) | |
tree | c8e5bdb8b3d70dd2608b3a2c89da53b0eb80f475 /editors | |
parent | ef593dbde336354c7f31e1c4b4a4c77c6f389784 (diff) | |
download | freebsd-ports-gnome-c77c7e609845f3e0806993e4811921b4b09d28d8.tar.gz freebsd-ports-gnome-c77c7e609845f3e0806993e4811921b4b09d28d8.tar.zst freebsd-ports-gnome-c77c7e609845f3e0806993e4811921b4b09d28d8.zip |
Update to 3.1.26 and add 64-bit support.
PR: 213399
Submitted by: miguelmclara@gmail.com (maintainer)
Diffstat (limited to 'editors')
-rw-r--r-- | editors/linux-sublime3/Makefile | 18 | ||||
-rw-r--r-- | editors/linux-sublime3/distinfo | 7 | ||||
-rw-r--r-- | editors/linux-sublime3/files/sublime.in | 17 | ||||
-rw-r--r-- | editors/linux-sublime3/pkg-plist | 5 |
4 files changed, 16 insertions, 31 deletions
diff --git a/editors/linux-sublime3/Makefile b/editors/linux-sublime3/Makefile index acdca033e3fd..1b8bb6bca453 100644 --- a/editors/linux-sublime3/Makefile +++ b/editors/linux-sublime3/Makefile @@ -2,18 +2,18 @@ # $FreeBSD$ PORTNAME= sublime -PORTVERSION= 3.0.83 -PORTREVISION= 2 +PORTVERSION= 3.1.26 CATEGORIES= editors linux -MASTER_SITES= http://c758482.r82.cf2.rackcdn.com/ +MASTER_SITES= http://download.sublimetext.com/ PKGNAMEPREFIX= linux- PKGNAMESUFFIX= 3 -DISTNAME= sublime_text_3_build_3083_x32 +DISTNAME_i386= sublime_text_3_build_3126_x32 +DISTNAME_x86_64=sublime_text_3_build_3126_x64 MAINTAINER= miguelmclara@gmail.com COMMENT= Sophisticated text editor for code, markup and prose -USES= desktop-file-utils linux:c6 tar:bzip2 +USES= desktop-file-utils linux tar:bzip2 USE_LINUX= xorglibs gtk2 INSTALLS_ICONS= yes @@ -24,10 +24,6 @@ CONFLICTS_INSTALL= linux-sublime-[0-9]* NO_BUILD= SUB_FILES= sublime -post-patch: - ${BRANDELF} -t Linux ${WRKSRC}/sublime_text - ${BRANDELF} -t Linux ${WRKSRC}/plugin_host - do-install: @${MKDIR} ${STAGEDIR}${DATADIR} \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/16x16/apps/ \ @@ -43,8 +39,6 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/Icon/256x256/sublime-text.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/256x256/apps/ ${INSTALL_DATA} ${WRKSRC}/sublime_text.desktop ${STAGEDIR}${PREFIX}/share/applications/ cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} - ${CHMOD} +x ${STAGEDIR}${DATADIR}/sublime_text - ${CHMOD} +x ${STAGEDIR}${DATADIR}/plugin_host - ${INSTALL} ${WRKDIR}/sublime ${STAGEDIR}${PREFIX}/bin/sublime + ${INSTALL_SCRIPT} ${WRKDIR}/sublime ${STAGEDIR}${PREFIX}/bin/sublime .include <bsd.port.mk> diff --git a/editors/linux-sublime3/distinfo b/editors/linux-sublime3/distinfo index a2a9b93e9859..91e9a9e2ae06 100644 --- a/editors/linux-sublime3/distinfo +++ b/editors/linux-sublime3/distinfo @@ -1,2 +1,5 @@ -SHA256 (sublime_text_3_build_3083_x32.tar.bz2) = 89e8e2bafa041c263d2c5ffd1b8ea3c36d9727c95a3f7a6603bdf1f6c4cc3165 -SIZE (sublime_text_3_build_3083_x32.tar.bz2) = 7572911 +TIMESTAMP = 1481025515 +SHA256 (sublime_text_3_build_3126_x32.tar.bz2) = 92ffefa470f0777897ed0dfb7c1635426105271da9b5affbe8c1e82039718e29 +SIZE (sublime_text_3_build_3126_x32.tar.bz2) = 9258647 +SHA256 (sublime_text_3_build_3126_x64.tar.bz2) = 18db132e9a305fa3129014b608628e06f9442f48d09cfe933b3b1a84dd18727a +SIZE (sublime_text_3_build_3126_x64.tar.bz2) = 9313954 diff --git a/editors/linux-sublime3/files/sublime.in b/editors/linux-sublime3/files/sublime.in index 75390fe6ffc9..f665b21deb76 100644 --- a/editors/linux-sublime3/files/sublime.in +++ b/editors/linux-sublime3/files/sublime.in @@ -1,15 +1,2 @@ -#!/compat/linux/bin/sh -if [ -L "/dev/shm" ];then - %%DATADIR%%/sublime_text "$@" -else - echo "Some Linux applications use shared memory. - -Sublime Text 3 can not function without it, you need to set up a link -from /dev/shm to a suitable place, e.g. by adding the following line -to /etc/devfs.conf (takes effect on each boot - restart devfs to apply -then change now): - link /tmp shm -" - exit 1; -fi - +#! /bin/sh +exec %%DATADIR%%/sublime_text "$@" diff --git a/editors/linux-sublime3/pkg-plist b/editors/linux-sublime3/pkg-plist index ab75997cb0db..e5dd3e95092d 100644 --- a/editors/linux-sublime3/pkg-plist +++ b/editors/linux-sublime3/pkg-plist @@ -48,6 +48,7 @@ share/icons/hicolor/48x48/apps/sublime-text.png %%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 @@ -60,9 +61,9 @@ share/icons/hicolor/48x48/apps/sublime-text.png %%DATADIR%%/Packages/YAML.sublime-package %%DATADIR%%/changelog.txt %%DATADIR%%/crash_reporter -%%DATADIR%%/plugin_host +@(,,555) %%DATADIR%%/plugin_host %%DATADIR%%/python3.3.zip %%DATADIR%%/sublime.py %%DATADIR%%/sublime_plugin.py -%%DATADIR%%/sublime_text +@(,,555) %%DATADIR%%/sublime_text %%DATADIR%%/sublime_text.desktop |