Add a .desktop file

ok benoit@
This commit is contained in:
giovanni 2011-10-06 10:00:02 +00:00
parent 48e0de69ee
commit 31bcd313f4
3 changed files with 25 additions and 5 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.21 2011/07/08 20:38:00 naddy Exp $
# $OpenBSD: Makefile,v 1.22 2011/10/06 10:00:02 giovanni Exp $
COMMENT= multi-tabbed terminal emulator
DISTNAME= mrxvt-0.5.4
REVISION= 4
REVISION= 5
CATEGORIES= x11
@ -20,11 +20,12 @@ PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=materm/}
BUILD_DEPENDS= archivers/bzip2
RUN_DEPENDS= devel/desktop-file-utils
LIB_DEPENDS= graphics/jpeg \
graphics/png
WANTLIB= ICE SM X11 Xrender Xpm c fontconfig freetype util m z \
Xft Xau Xdmcp expat pthread-stubs xcb jpeg png
WANTLIB= ICE SM X11 Xrender Xpm c fontconfig util m z \
Xft jpeg png
AUTOCONF_VERSION=2.61
CONFIGURE_STYLE=autoconf
@ -44,5 +45,7 @@ FAKE_FLAGS= sysconfdir=${PREFIX}/share/examples \
post-install:
@cd ${PREFIX}/share/doc/mrxvt && \
bunzip2 *.bz2
${INSTALL_DATA_DIR} ${PREFIX}/share/applications
${INSTALL_DATA} ${FILESDIR}/mrxvt.desktop ${PREFIX}/share/applications
.include <bsd.port.mk>

View File

@ -0,0 +1,14 @@
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=Mrxvt terminal emulator
GenericName=Terminal
Comment=Command-line terminal
Categories=Utility;Terminal;
Exec=mrxvt
Icon=mrxvt
Path=
Type=Application
Terminal=false
X-KDE-StartupNotify=true
X-KDE-AuthorizeAction=shell_access

View File

@ -1,10 +1,11 @@
@comment $OpenBSD: PLIST,v 1.3 2008/12/06 19:17:28 ajacoutot Exp $
@comment $OpenBSD: PLIST,v 1.4 2011/10/06 10:00:02 giovanni Exp $
@mode g+s
@group utmp
@bin bin/mrxvt
@mode
@group
@man man/man1/mrxvt.1
share/applications/mrxvt.desktop
share/doc/mrxvt/
share/doc/mrxvt/README.greek
share/doc/mrxvt/README.menu
@ -38,3 +39,5 @@ share/pixmaps/mrxvt-root.png
share/pixmaps/mrxvt-root.xpm
share/pixmaps/mrxvt.png
share/pixmaps/mrxvt.xpm
@exec %D/bin/update-desktop-database
@unexec-delete %D/bin/update-desktop-database