mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
editors/linux-sublime: Add missing desktop file
Adapted from the one in editors/linux-sublime3 PR: 226442 Reported by: sblachmann@gmail.com Submitted by: w.schwarzenfeld@utanet.at
This commit is contained in:
parent
87404b30d6
commit
ed6e588edd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=463863
3 changed files with 17 additions and 3 deletions
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= sublime
|
||||
PORTVERSION= 2.0.2
|
||||
PORTREVISION= 5
|
||||
PORTREVISION= 6
|
||||
CATEGORIES= editors linux
|
||||
MASTER_SITES= http://c758482.r82.cf2.rackcdn.com/
|
||||
DISTNAME= Sublime%20Text%202.0.2
|
||||
|
@ -13,7 +13,7 @@ MAINTAINER= ports@FreeBSD.org
|
|||
COMMENT= Sublime Text is a sophisticated text editor for code, markup and prose
|
||||
|
||||
INSTALLS_ICONS= yes
|
||||
USES= linux tar:bzip2
|
||||
USES= desktop-file-utils linux tar:bzip2
|
||||
USE_LINUX= xorglibs gtk2
|
||||
WRKSRC= ${WRKDIR}/"Sublime Text 2"
|
||||
|
||||
|
@ -29,7 +29,8 @@ do-install:
|
|||
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps/
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/128x128/apps/
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/256x256/apps/
|
||||
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/share/applications
|
||||
@${INSTALL_DATA} ${FILESDIR}/sublime_text.desktop ${STAGEDIR}${PREFIX}/share/applications
|
||||
@${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/
|
||||
|
|
12
editors/linux-sublime/files/sublime_text.desktop
Normal file
12
editors/linux-sublime/files/sublime_text.desktop
Normal file
|
@ -0,0 +1,12 @@
|
|||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Type=Application
|
||||
Name=Sublime Text
|
||||
GenericName=Text Editor
|
||||
Comment=Sophisticated text editor for code, markup and prose
|
||||
Exec=sublime %F
|
||||
Terminal=false
|
||||
MimeType=text/plain;
|
||||
Icon=sublime_text
|
||||
Categories=TextEditor;Development;
|
||||
StartupNotify=true
|
|
@ -1,4 +1,5 @@
|
|||
bin/sublime
|
||||
share/applications/sublime_text.desktop
|
||||
share/icons/hicolor/128x128/apps/sublime_text.png
|
||||
share/icons/hicolor/16x16/apps/sublime_text.png
|
||||
share/icons/hicolor/256x256/apps/sublime_text.png
|
||||
|
|
Loading…
Add table
Reference in a new issue