diff options
author | lofi <lofi@FreeBSD.org> | 2006-06-21 11:34:00 +0800 |
---|---|---|
committer | lofi <lofi@FreeBSD.org> | 2006-06-21 11:34:00 +0800 |
commit | 86f10c9a3dd1a6c075aa76502654229162489344 (patch) | |
tree | b9a2372b35502209fe3607c917b736900cfd53eb /misc | |
parent | 7ee254559b21f0736478460097c1d232f09cb8cb (diff) | |
download | freebsd-ports-gnome-86f10c9a3dd1a6c075aa76502654229162489344.tar.gz freebsd-ports-gnome-86f10c9a3dd1a6c075aa76502654229162489344.tar.zst freebsd-ports-gnome-86f10c9a3dd1a6c075aa76502654229162489344.zip |
Add KDE_PREFIXed paths to the XDG_*_DIRS environment variables.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/kde-xdg-env/Makefile | 4 | ||||
-rw-r--r-- | misc/kde-xdg-env/files/xdg-env.sh.in | 4 | ||||
-rw-r--r-- | misc/kde4-xdg-env/Makefile | 4 | ||||
-rw-r--r-- | misc/kde4-xdg-env/files/xdg-env.sh.in | 4 |
4 files changed, 12 insertions, 4 deletions
diff --git a/misc/kde-xdg-env/Makefile b/misc/kde-xdg-env/Makefile index b1632afb23f7..d8f33ee0df7c 100644 --- a/misc/kde-xdg-env/Makefile +++ b/misc/kde-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/kde-xdg-env/files/xdg-env.sh.in b/misc/kde-xdg-env/files/xdg-env.sh.in index f0373906ed35..8d48d5ff3def 100644 --- a/misc/kde-xdg-env/files/xdg-env.sh.in +++ b/misc/kde-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 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 |