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:
parent
c70a919f85
commit
e88f6cd4d2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=133515
@ -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
34
misc/kde-xdg-env/Makefile
Normal 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>
|
15
misc/kde-xdg-env/files/xdg-env.sh.in
Normal file
15
misc/kde-xdg-env/files/xdg-env.sh.in
Normal 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
|
3
misc/kde-xdg-env/pkg-descr
Normal file
3
misc/kde-xdg-env/pkg-descr
Normal 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.
|
34
misc/kde4-xdg-env/Makefile
Normal file
34
misc/kde4-xdg-env/Makefile
Normal 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>
|
15
misc/kde4-xdg-env/files/xdg-env.sh.in
Normal file
15
misc/kde4-xdg-env/files/xdg-env.sh.in
Normal 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
|
3
misc/kde4-xdg-env/pkg-descr
Normal file
3
misc/kde4-xdg-env/pkg-descr
Normal 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.
|
Loading…
Reference in New Issue
Block a user