diff options
Diffstat (limited to 'misc/kde4-xdg-env')
-rw-r--r-- | misc/kde4-xdg-env/Makefile | 4 | ||||
-rw-r--r-- | misc/kde4-xdg-env/files/xdg-env.sh.in | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/misc/kde4-xdg-env/Makefile b/misc/kde4-xdg-env/Makefile index b1632afb23f7..d8f33ee0df7c 100644 --- a/misc/kde4-xdg-env/Makefile +++ b/misc/kde4-xdg-env/Makefile @@ -7,6 +7,7 @@ PORTNAME= xdg PORTVERSION= 1.0 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= misc kde MASTER_SITES= # none @@ -20,6 +21,9 @@ COMMENT= Script which hooks into startkde and helps KDE pick up XDG apps/menus .if defined(KDE_PREFIX) PREFIX= ${KDE_PREFIX} +SUB_LIST+= KDE_PREFIX=${KDE_PREFIX} +.else +SUB_LIST+= KDE_PREFIX=${LOCALBASE} .endif NO_BUILD= yes diff --git a/misc/kde4-xdg-env/files/xdg-env.sh.in b/misc/kde4-xdg-env/files/xdg-env.sh.in index f0373906ed35..8d48d5ff3def 100644 --- a/misc/kde4-xdg-env/files/xdg-env.sh.in +++ b/misc/kde4-xdg-env/files/xdg-env.sh.in @@ -6,10 +6,10 @@ export XDG_CONFIG_DIRS=\ ${XDG_CONFIG_DIRS}:/etc/xdg:%%LOCALBASE%%/etc/xdg:%%X11BASE%%/etc/xdg:\ -%%LOCALBASE%%/etc/xdg/xfce4 +%%LOCALBASE%%/etc/xdg/xfce4:%%KDE_PREFIX%%/etc/xdg export XDG_DATA_DIRS=\ ${XDG_DATA_DIRS}:/usr/share:%%LOCALBASE%%/share:\ -%%X11BASE%%/share:%%X11BASE%%/share/gnome +%%X11BASE%%/share:%%X11BASE%%/share/gnome:%%KDE_PREFIX%%/share kbuildsycoca |