diff options
author | Michael Nottebrock <lofi@FreeBSD.org> | 2005-04-17 11:32:36 +0000 |
---|---|---|
committer | Michael Nottebrock <lofi@FreeBSD.org> | 2005-04-17 11:32:36 +0000 |
commit | e88f6cd4d202139a54bfae2cc11ad7dd02aee25d (patch) | |
tree | d5100496528506f524df6c4dd606453a58718ff1 /misc/kde-xdg-env | |
parent | c70a919f851506795134c2f0a7cb96377e902216 (diff) | |
download | ports-e88f6cd4d202139a54bfae2cc11ad7dd02aee25d.tar.gz ports-e88f6cd4d202139a54bfae2cc11ad7dd02aee25d.zip |
Notes
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 000000000000..4d1b56901273 --- /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 000000000000..f0373906ed35 --- /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 000000000000..9df54024f1ff --- /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. |