aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--misc/kde4-xdg-env/Makefile3
-rw-r--r--misc/kde4-xdg-env/files/xdg-env.sh.in8
2 files changed, 1 insertions, 10 deletions
diff --git a/misc/kde4-xdg-env/Makefile b/misc/kde4-xdg-env/Makefile
index 4f1b1776ca24..f24d66e7172c 100644
--- a/misc/kde4-xdg-env/Makefile
+++ b/misc/kde4-xdg-env/Makefile
@@ -2,6 +2,7 @@
PORTNAME= xdg
PORTVERSION= 1.1
+PORTREVISION= 1
CATEGORIES= misc kde
PKGNAMEPREFIX= kde4-
PKGNAMESUFFIX= -env
@@ -10,8 +11,6 @@ DISTFILES= # none
MAINTAINER= kde@FreeBSD.org
COMMENT= Script which hooks into startkde and helps KDE pick up XDG apps/menus
-SUB_LIST+= KDE4_PREFIX=${KDE4_PREFIX}
-
NO_BUILD= yes
SUB_FILES= xdg-env.sh
diff --git a/misc/kde4-xdg-env/files/xdg-env.sh.in b/misc/kde4-xdg-env/files/xdg-env.sh.in
index b634522b4e32..16d86325ab4e 100644
--- a/misc/kde4-xdg-env/files/xdg-env.sh.in
+++ b/misc/kde4-xdg-env/files/xdg-env.sh.in
@@ -7,17 +7,9 @@
XDG_CONFIG_DIRS=\
${XDG_CONFIG_DIRS}:/etc/xdg:%%LOCALBASE%%/etc/xdg:%%LOCALBASE%%/etc/xdg/xfce4
-if [ %%KDE4_PREFIX%% != %%LOCALBASE%% ]; then
- XDG_CONFIG_DIRS=%%KDE4_PREFIX%%/etc/xdg:${XDG_CONFIG_DIRS}
-fi
-
export XDG_CONFIG_DIRS
XDG_DATA_DIRS=\
${XDG_DATA_DIRS}:/usr/share:%%LOCALBASE%%/share:%%LOCALBASE%%/share/gnome
-if [ %%KDE4_PREFIX%% != %%LOCALBASE%% ]; then
- XDG_DATA_DIRS=%%KDE4_PREFIX%%/share:${XDG_DATA_DIRS}
-fi
-
export XDG_DATA_DIRS