diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2008-08-09 16:52:28 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2008-08-09 16:52:28 +0000 |
commit | 568f8e877fb50618d4813b943d712e3bc08fd147 (patch) | |
tree | 16eef3a555a802ca06d05606c7f2a75ccbc6a431 /misc/kde4-xdg-env | |
parent | bdcf355d6dedb8678255a8053a2b423f9cc7cc6c (diff) |
Notes
Diffstat (limited to 'misc/kde4-xdg-env')
-rw-r--r-- | misc/kde4-xdg-env/Makefile | 19 | ||||
-rw-r--r-- | misc/kde4-xdg-env/files/xdg-env.sh.in | 10 |
2 files changed, 12 insertions, 17 deletions
diff --git a/misc/kde4-xdg-env/Makefile b/misc/kde4-xdg-env/Makefile index 44afb4e880c1..85510a8532f4 100644 --- a/misc/kde4-xdg-env/Makefile +++ b/misc/kde4-xdg-env/Makefile @@ -1,17 +1,15 @@ -# New ports collection makefile for: kde-xdg-env -# Date created: April 03 2005 -# Whom: Michael Nottebrock <lofi@FreeBSD.org> +# New ports collection makefile for: kde4-xdg-env +# Date created: 2008-06-30 +# Whom: Max Brazhnikov <makc@issp.ac.ru> # # $FreeBSD$ # PORTNAME= xdg PORTVERSION= 1.0 -PORTREVISION= 3 -PORTEPOCH= 1 CATEGORIES= misc kde MASTER_SITES= # none -PKGNAMEPREFIX= kde- +PKGNAMEPREFIX= kde4- PKGNAMESUFFIX= -env DISTNAME= # none EXTRACT_SUFX= # none @@ -19,12 +17,9 @@ EXTRACT_SUFX= # none MAINTAINER= kde@FreeBSD.org COMMENT= Script which hooks into startkde and helps KDE pick up XDG apps/menus -.if defined(KDE_PREFIX) -PREFIX= ${KDE_PREFIX} -SUB_LIST+= KDE_PREFIX=${KDE_PREFIX} -.else -SUB_LIST+= KDE_PREFIX=${LOCALBASE} -.endif +USE_KDE4= kdeprefix + +SUB_LIST+= KDE4_PREFIX=${KDE4_PREFIX} NO_BUILD= yes diff --git a/misc/kde4-xdg-env/files/xdg-env.sh.in b/misc/kde4-xdg-env/files/xdg-env.sh.in index 31771ed9e6b9..09a1c63e398f 100644 --- a/misc/kde4-xdg-env/files/xdg-env.sh.in +++ b/misc/kde4-xdg-env/files/xdg-env.sh.in @@ -7,8 +7,8 @@ XDG_CONFIG_DIRS=\ ${XDG_CONFIG_DIRS}:/etc/xdg:%%LOCALBASE%%/etc/xdg:%%LOCALBASE%%/etc/xdg/xfce4 -if [ %%KDE_PREFIX%% != %%LOCALBASE%% ]; then - XDG_CONFIG_DIRS=${XDG_CONFIG_DIRS}:%%KDE_PREFIX%%/etc/xdg +if [ %%KDE4_PREFIX%% != %%LOCALBASE%% ]; then + XDG_CONFIG_DIRS=%%KDE4_PREFIX%%/etc/xdg:${XDG_CONFIG_DIRS} fi export XDG_CONFIG_DIRS @@ -16,10 +16,10 @@ export XDG_CONFIG_DIRS XDG_DATA_DIRS=\ ${XDG_DATA_DIRS}:/usr/share:%%LOCALBASE%%/share:%%LOCALBASE%%/share/gnome -if [ %%KDE_PREFIX%% != %%LOCALBASE%% ]; then - XDG_DATA_DIRS=${XDG_DATA_DIRS}:%%KDE_PREFIX%%/share +if [ %%KDE4_PREFIX%% != %%LOCALBASE%% ]; then + XDG_DATA_DIRS=%%KDE4_PREFIX%%/share:${XDG_DATA_DIRS} fi export XDG_DATA_DIRS -kbuildsycoca +kbuildsycoca4 |