From 568f8e877fb50618d4813b943d712e3bc08fd147 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Sat, 9 Aug 2008 16:52:28 +0000 Subject: The KDE FreeBSD team is proud to announce the release of KDE 4.1.0 for FreeBSD. The official KDE 4.1.0 release notes can be found at http://www.kde.org/announcements/4.1/. Some note: * Prefix KDE4 will be install into a custom prefixes namely ${LOCALBASE}/kde4. KDE4 and KDE3 can co-exist * Sound For sound to work, it is necessary to have dbus and hal enabled in your system. Please see the respective documentation on how to enable these. For more Informations see the HEADS UP at ports@ and kde-freebsd@ or our wiki page http://wiki.freebsd.org/KDE4/Install. Have fun! --- misc/kde4-xdg-env/Makefile | 19 +++++++------------ misc/kde4-xdg-env/files/xdg-env.sh.in | 10 +++++----- 2 files changed, 12 insertions(+), 17 deletions(-) (limited to 'misc/kde4-xdg-env') 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 +# New ports collection makefile for: kde4-xdg-env +# Date created: 2008-06-30 +# Whom: Max Brazhnikov # # $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 -- cgit v1.2.3