diff options
author | lofi <lofi@FreeBSD.org> | 2005-04-17 19:32:36 +0800 |
---|---|---|
committer | lofi <lofi@FreeBSD.org> | 2005-04-17 19:32:36 +0800 |
commit | 39e9bd9e5272b284cecb3addef6c9e1f55f9953a (patch) | |
tree | 0c67926defc479d0cf8a9412a9851a681993ee9e /misc/kde-xdg-env | |
parent | c153b868de978700697f74eff32dc3d6c9df182a (diff) | |
download | freebsd-ports-graphics-39e9bd9e5272b284cecb3addef6c9e1f55f9953a.tar.gz freebsd-ports-graphics-39e9bd9e5272b284cecb3addef6c9e1f55f9953a.tar.zst freebsd-ports-graphics-39e9bd9e5272b284cecb3addef6c9e1f55f9953a.zip |
Add kde-xdg-env, a script which hooks into startkde and helps KDE pick up
XDG apps/menus
Diffstat (limited to 'misc/kde-xdg-env')
-rw-r--r-- | misc/kde-xdg-env/Makefile | 34 | ||||
-rw-r--r-- | misc/kde-xdg-env/files/xdg-env.sh.in | 15 | ||||
-rw-r--r-- | misc/kde-xdg-env/pkg-descr | 3 |
3 files changed, 52 insertions, 0 deletions
diff --git a/misc/kde-xdg-env/Makefile b/misc/kde-xdg-env/Makefile new file mode 100644 index 00000000000..4d1b5690127 --- /dev/null +++ b/misc/kde-xdg-env/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: kde-xdg-env +# Date created: April 03 2005 +# Whom: Michael Nottebrock <lofi@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= xdg +PORTVERSION= ${KDE_VERSION} +CATEGORIES= misc kde +MASTER_SITES= # none +PKGNAMEPREFIX= kde- +PKGNAMESUFFIX= -env +DISTNAME= # none +EXTRACT_SUFX= # none + +MAINTAINER= kde@FreeBSD.org +COMMENT= Script which hooks into startkde and helps KDE pick up XDG apps/menus + +USE_KDEBASE_VER=3 +PREFIX= ${KDE_PREFIX} + +NO_BUILD= yes + +SUB_FILES= xdg-env.sh + +PLIST_FILES= env/xdg-env.sh +PLIST_DIRS= env + +do-install: + ${MKDIR} ${PREFIX}/env + ${INSTALL_SCRIPT} ${WRKDIR}/xdg-env.sh ${PREFIX}/env + +.include <bsd.port.mk> diff --git a/misc/kde-xdg-env/files/xdg-env.sh.in b/misc/kde-xdg-env/files/xdg-env.sh.in new file mode 100644 index 00000000000..f0373906ed3 --- /dev/null +++ b/misc/kde-xdg-env/files/xdg-env.sh.in @@ -0,0 +1,15 @@ +#!/bin/sh + +# $FreeBSD$ +# +# Submit missing XDG-file locations to kde@freebsd.org! + +export XDG_CONFIG_DIRS=\ +${XDG_CONFIG_DIRS}:/etc/xdg:%%LOCALBASE%%/etc/xdg:%%X11BASE%%/etc/xdg:\ +%%LOCALBASE%%/etc/xdg/xfce4 + +export XDG_DATA_DIRS=\ +${XDG_DATA_DIRS}:/usr/share:%%LOCALBASE%%/share:\ +%%X11BASE%%/share:%%X11BASE%%/share/gnome + +kbuildsycoca diff --git a/misc/kde-xdg-env/pkg-descr b/misc/kde-xdg-env/pkg-descr new file mode 100644 index 00000000000..9df54024f1f --- /dev/null +++ b/misc/kde-xdg-env/pkg-descr @@ -0,0 +1,3 @@ +This is a tiny script that gets executed by startkde and sets the XDG_DATA_DIRS +and XDG_CONFIG_DIRS variables so KDE can pick up GNOME and XFCE-4 applications +and menus. |