View | Details | Raw Unified | Return to bug 209802
Collapse All | Expand All

(-)misc/kde4-xdg-env/Makefile (-2 / +1 lines)
Lines 2-7 Link Here
2
2
3
PORTNAME=	xdg
3
PORTNAME=	xdg
4
PORTVERSION=	1.1
4
PORTVERSION=	1.1
5
PORTREVISION=	1
5
CATEGORIES=	misc kde
6
CATEGORIES=	misc kde
6
PKGNAMEPREFIX=	kde4-
7
PKGNAMEPREFIX=	kde4-
7
PKGNAMESUFFIX=	-env
8
PKGNAMESUFFIX=	-env
Lines 10-17 Link Here
10
MAINTAINER=	kde@FreeBSD.org
11
MAINTAINER=	kde@FreeBSD.org
11
COMMENT=	Script which hooks into startkde and helps KDE pick up XDG apps/menus
12
COMMENT=	Script which hooks into startkde and helps KDE pick up XDG apps/menus
12
13
13
SUB_LIST+=	KDE4_PREFIX=${KDE4_PREFIX}
14
15
NO_BUILD=	yes
14
NO_BUILD=	yes
16
15
17
SUB_FILES=	xdg-env.sh
16
SUB_FILES=	xdg-env.sh
(-)misc/kde4-xdg-env/files/xdg-env.sh.in (-8 lines)
Lines 7-23 Link Here
7
XDG_CONFIG_DIRS=\
7
XDG_CONFIG_DIRS=\
8
${XDG_CONFIG_DIRS}:/etc/xdg:%%LOCALBASE%%/etc/xdg:%%LOCALBASE%%/etc/xdg/xfce4
8
${XDG_CONFIG_DIRS}:/etc/xdg:%%LOCALBASE%%/etc/xdg:%%LOCALBASE%%/etc/xdg/xfce4
9
9
10
if [ %%KDE4_PREFIX%% != %%LOCALBASE%% ]; then
11
    XDG_CONFIG_DIRS=%%KDE4_PREFIX%%/etc/xdg:${XDG_CONFIG_DIRS}
12
fi
13
14
export XDG_CONFIG_DIRS
10
export XDG_CONFIG_DIRS
15
11
16
XDG_DATA_DIRS=\
12
XDG_DATA_DIRS=\
17
${XDG_DATA_DIRS}:/usr/share:%%LOCALBASE%%/share:%%LOCALBASE%%/share/gnome
13
${XDG_DATA_DIRS}:/usr/share:%%LOCALBASE%%/share:%%LOCALBASE%%/share/gnome
18
14
19
if [ %%KDE4_PREFIX%% != %%LOCALBASE%% ]; then
20
    XDG_DATA_DIRS=%%KDE4_PREFIX%%/share:${XDG_DATA_DIRS}
21
fi
22
23
export XDG_DATA_DIRS
15
export XDG_DATA_DIRS

Return to bug 209802