Add KDE_PREFIXed paths to the XDG_*_DIRS environment variables.

This commit is contained in:
Michael Nottebrock 2006-06-21 03:34:00 +00:00
parent 4bc9d7a0d9
commit 7b2b493822
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=165896
4 changed files with 12 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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