1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Add kde-xdg-env, a script which hooks into startkde and helps KDE pick up

XDG apps/menus
This commit is contained in:
Michael Nottebrock 2005-04-17 11:32:36 +00:00
parent c70a919f85
commit e88f6cd4d2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=133515
7 changed files with 105 additions and 0 deletions

View File

@ -161,6 +161,7 @@
SUBDIR += kaddressbook-plugins
SUBDIR += katalog
SUBDIR += kcd
SUBDIR += kde-xdg-env
SUBDIR += kde3-i18n
SUBDIR += kde3-i18n-af
SUBDIR += kde3-i18n-az

34
misc/kde-xdg-env/Makefile Normal file
View File

@ -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>

View File

@ -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

View File

@ -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.

View File

@ -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>

View File

@ -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

View File

@ -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.