aboutsummaryrefslogtreecommitdiff
path: root/x11/xterm
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xterm')
-rw-r--r--x11/xterm/Makefile5
-rw-r--r--x11/xterm/pkg-plist2
2 files changed, 4 insertions, 3 deletions
diff --git a/x11/xterm/Makefile b/x11/xterm/Makefile
index f665ac4dd8c5..8cb82f288e4c 100644
--- a/x11/xterm/Makefile
+++ b/x11/xterm/Makefile
@@ -15,8 +15,8 @@ COMMENT= Terminal emulator for the X Window System
CONFLICTS= x11iraf-[0-9]*
+USES= desktop-file-utils
USE_XORG= xaw xft
-WANT_GNOME= desktopfileutils
GNU_CONFIGURE= yes
CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib"
@@ -26,7 +26,7 @@ CPPFLAGS+= -I${LOCALBASE}/include
ICONVERSION= 1
-OPTIONS_DEFINE= WCHAR LUIT DECTERM PCRE GNOME DABBREV 256COLOR SIXEL
+OPTIONS_DEFINE= WCHAR LUIT DECTERM PCRE DABBREV 256COLOR SIXEL
DABBREV_DESC= Enable support for dabbrev-expand
DECTERM_DESC= Enable DECterm Locator support
@@ -46,7 +46,6 @@ PCRE_CONFIGURE_WITH= pcre
PCRE_LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre
DABBREV_CONFIGURE_ENABLE= dabbrev
SIXEL_CONFIGURE_ENABLE= sixel-graphics
-GNOME_USES= desktop-file-utils
.include <bsd.port.options.mk>
diff --git a/x11/xterm/pkg-plist b/x11/xterm/pkg-plist
index acfc56f1375d..ff3f902a084c 100644
--- a/x11/xterm/pkg-plist
+++ b/x11/xterm/pkg-plist
@@ -21,3 +21,5 @@ share/pixmaps/xterm-color_32x32.xpm
share/pixmaps/xterm-color_48x48.xpm
share/pixmaps/xterm_32x32.xpm
share/pixmaps/xterm_48x48.xpm
+%%GNOME%%@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
+%%GNOME%%@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true