aboutsummaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-01-19 18:21:17 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-01-19 18:21:17 +0000
commit8c7e4d0a0644334ebd8d35ab1c0c463b7b41bdde (patch)
tree2b8fa1fe7c95195af969a3404e841995cda4aa33 /x11
parenta61562ce82a3afb9edf4de63360a98099ca44246 (diff)
downloadports-8c7e4d0a0644334ebd8d35ab1c0c463b7b41bdde.tar.gz
ports-8c7e4d0a0644334ebd8d35ab1c0c463b7b41bdde.zip
Notes
Diffstat (limited to 'x11')
-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