View | Details | Raw Unified | Return to bug 197381
Collapse All | Expand All

(-)Makefile (-1 / +1 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	sublime
4
PORTNAME=	sublime
5
PORTVERSION=	3.0.65
5
PORTVERSION=	3.0.65
6
PORTREVISION=	2
6
PORTREVISION=	3
7
CATEGORIES=	editors linux
7
CATEGORIES=	editors linux
8
MASTER_SITES=	http://c758482.r82.cf2.rackcdn.com/
8
MASTER_SITES=	http://c758482.r82.cf2.rackcdn.com/
9
PKGNAMEPREFIX=	linux-
9
PKGNAMEPREFIX=	linux-
(-)files/patch-sublime_text.desktop (+24 lines)
Line 0 Link Here
1
--- sublime_text.desktop.orig	2014-08-27 
2
+++ sublime_text.desktop	
3
@@ -4,20 +4,9 @@
4
 Name=Sublime Text
5
 GenericName=Text Editor
6
 Comment=Sophisticated text editor for code, markup and prose
7
-Exec=/opt/sublime_text/sublime_text %F
8
+Exec=/usr/local/bin/sublime %F
9
 Terminal=false
10
 MimeType=text/plain;
11
 Icon=sublime-text
12
 Categories=TextEditor;Development;
13
 StartupNotify=true
14
-Actions=Window;Document;
15
-
16
-[Desktop Action Window]
17
-Name=New Window
18
-Exec=/opt/sublime_text/sublime_text -n
19
-OnlyShowIn=Unity;
20
-
21
-[Desktop Action Document]
22
-Name=New File
23
-Exec=/opt/sublime_text/sublime_text --command new_file
24
-OnlyShowIn=Unity;
(-)files/sublime.in (-1 / +14 lines)
Lines 1-2 Link Here
1
#!/compat/linux/bin/sh
1
#!/compat/linux/bin/sh
2
%%DATADIR%%/sublime_text $*
2
if [ -L "/dev/shm" ];then
3
	%%DATADIR%%/sublime_text $*
4
else
5
        echo    "Some Linux applications use shared memory.
6
7
Sublime Text 3 can not function without it, you need to set up a link 
8
from /dev/shm to a suitable place, e.g. by adding the following line
9
to /etc/devfs.conf (takes effect on each boot - restart devfs to apply
10
then change now):
11
        link /tmp shm
12
"
13
        exit 1;
14
fi
15

Return to bug 197381