summaryrefslogtreecommitdiff
path: root/misc/kde4-xdg-env/files/xdg-env.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'misc/kde4-xdg-env/files/xdg-env.sh.in')
-rw-r--r--misc/kde4-xdg-env/files/xdg-env.sh.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/misc/kde4-xdg-env/files/xdg-env.sh.in b/misc/kde4-xdg-env/files/xdg-env.sh.in
new file mode 100644
index 000000000000..f0373906ed35
--- /dev/null
+++ b/misc/kde4-xdg-env/files/xdg-env.sh.in
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+# $FreeBSD$
+#
+# Submit missing XDG-file locations to kde@freebsd.org!
+
+export XDG_CONFIG_DIRS=\
+${XDG_CONFIG_DIRS}:/etc/xdg:%%LOCALBASE%%/etc/xdg:%%X11BASE%%/etc/xdg:\
+%%LOCALBASE%%/etc/xdg/xfce4
+
+export XDG_DATA_DIRS=\
+${XDG_DATA_DIRS}:/usr/share:%%LOCALBASE%%/share:\
+%%X11BASE%%/share:%%X11BASE%%/share/gnome
+
+kbuildsycoca