Install a desktop entry.
PR: 155423 Submitted by: bsam
This commit is contained in:
parent
badfec8f5e
commit
bde0c9fd08
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=270601
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= xterm
|
||||
PORTVERSION= 269
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= x11
|
||||
MASTER_SITES= ftp://invisible-island.net/xterm/ \
|
||||
CRITICAL
|
||||
@ -19,6 +19,7 @@ COMMENT= Terminal emulator for the X Window System
|
||||
BUILD_DEPENDS= luit:${PORTSDIR}/x11/luit
|
||||
|
||||
USE_XORG= xaw xft
|
||||
USE_GNOME= desktopfileutils
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LIBS="-L${LOCALBASE}/lib"
|
||||
@ -54,6 +55,9 @@ post-install:
|
||||
.for f in koi8rxterm resize uxterm xterm
|
||||
@${CHMOD} ${BINMODE} ${PREFIX}/bin/${f}
|
||||
.endfor
|
||||
@${MKDIR} ${PREFIX}/share/applications/
|
||||
@${INSTALL_DATA} ${WRKSRC}/xterm.desktop ${PREFIX}/share/applications/
|
||||
@-update-desktop-database
|
||||
|
||||
.if defined(WITH_WIDE_CHARS)
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
@ -8,7 +8,11 @@ lib/X11/app-defaults/UXTerm
|
||||
lib/X11/app-defaults/UXTerm-color
|
||||
lib/X11/app-defaults/XTerm
|
||||
lib/X11/app-defaults/XTerm-color
|
||||
share/applications/xterm.desktop
|
||||
share/pixmaps/xterm-color_32x32.xpm
|
||||
share/pixmaps/xterm-color_48x48.xpm
|
||||
share/pixmaps/xterm_32x32.xpm
|
||||
share/pixmaps/xterm_48x48.xpm
|
||||
@dirrmtry share/applications
|
||||
@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
|
||||
@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
|
||||
|
Loading…
Reference in New Issue
Block a user