diff options
author | Michael Nottebrock <lofi@FreeBSD.org> | 2006-06-21 03:34:00 +0000 |
---|---|---|
committer | Michael Nottebrock <lofi@FreeBSD.org> | 2006-06-21 03:34:00 +0000 |
commit | 7b2b493822d66bd2aaf025771a0a1a8c68a534bb (patch) | |
tree | e8c24d2ce8c3bc8416c220762609fb73d0e31825 /misc/kde4-xdg-env | |
parent | 4bc9d7a0d979593ba1e5d237317bd5be37f3e959 (diff) | |
download | ports-7b2b493822d66bd2aaf025771a0a1a8c68a534bb.tar.gz ports-7b2b493822d66bd2aaf025771a0a1a8c68a534bb.zip |
Notes
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 |