mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
Update to 3.1.26 and add 64-bit support.
PR: 213399 Submitted by: miguelmclara@gmail.com (maintainer)
This commit is contained in:
parent
e14e6e72bb
commit
7788860ff2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=428118
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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 "$@"
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user