summaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-08-02 11:11:55 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-08-02 11:11:55 +0800
commitb04b5c9f55f7c9d8005bbaf76a03083f42b93711 (patch)
tree061b77e65506f68dcb9c56042a67d076a60ed080 /x11-wm
parent2914f491ffadebac0815580f5910d7df57b83ac2 (diff)
downloadmarcuscom-ports-b04b5c9f55f7c9d8005bbaf76a03083f42b93711.tar
marcuscom-ports-b04b5c9f55f7c9d8005bbaf76a03083f42b93711.tar.gz
marcuscom-ports-b04b5c9f55f7c9d8005bbaf76a03083f42b93711.tar.bz2
marcuscom-ports-b04b5c9f55f7c9d8005bbaf76a03083f42b93711.tar.lz
marcuscom-ports-b04b5c9f55f7c9d8005bbaf76a03083f42b93711.tar.xz
marcuscom-ports-b04b5c9f55f7c9d8005bbaf76a03083f42b93711.tar.zst
marcuscom-ports-b04b5c9f55f7c9d8005bbaf76a03083f42b93711.zip
X11BASE -> LOCALBASE, gtk engine and gdm live in LOCALBASE. Bump the
PORTREVISION. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6937 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/xfce4/Makefile69
-rw-r--r--x11-wm/xfce4/files/XFce43
-rw-r--r--x11-wm/xfce4/files/XFce4.desktop3
-rw-r--r--x11-wm/xfce4/pkg-descr6
-rw-r--r--x11-wm/xfce4/pkg-plist4
5 files changed, 85 insertions, 0 deletions
diff --git a/x11-wm/xfce4/Makefile b/x11-wm/xfce4/Makefile
new file mode 100644
index 000000000..2ed721fae
--- /dev/null
+++ b/x11-wm/xfce4/Makefile
@@ -0,0 +1,69 @@
+# New ports collection makefile for: xfce4
+# Date created: 9 June 2003
+# Whom: James Earl <jdearl@telus.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xfce
+PORTVERSION= 4.2.3.2
+PORTREVISION= 1
+CATEGORIES= x11-wm xfce
+MASTER_SITES= # empty
+DISTFILES= # empty
+EXTRACT_ONLY= # empty
+
+MAINTAINER= oliver@FreeBSD.org
+COMMENT= The "meta-port" for the XFce 4 desktop environment
+
+RUN_DEPENDS= ${X11BASE}/lib/xfce4/mcs-plugins/ui_plugin.so:${PORTSDIR}/sysutils/xfce4-mcs-plugins \
+ xfwm4:${PORTSDIR}/x11-wm/xfce4-wm \
+ xfce4-appfinder:${PORTSDIR}/misc/xfce4-appfinder \
+ xfce4-session:${PORTSDIR}/x11-wm/xfce4-session \
+ xfce4-panel:${PORTSDIR}/x11-wm/xfce4-panel \
+ ${X11BASE}/lib/xfce4/panel-plugins/libtriggerlauncher.so:${PORTSDIR}/x11/xfce4-trigger-launcher \
+ xfdesktop:${PORTSDIR}/x11-wm/xfce4-desktop \
+ startxfce4:${PORTSDIR}/sysutils/xfce4-utils \
+ xffm:${PORTSDIR}/x11-fm/xfce4-fm \
+ xfprint4:${PORTSDIR}/print/xfce4-print \
+ xfce4-iconbox:${PORTSDIR}/misc/xfce4-iconbox \
+ ${LOCALBASE}/lib/gtk-2.0/2.4.0/engines/libxfce.so:${PORTSDIR}/x11-themes/gtk-xfce-engine
+
+.if exists(${LOCALBASE}/sbin/gdm)
+WITH_GDM= yes
+.endif
+
+.if defined(WITH_GDM)
+RUN_DEPENDS+= ${LOCALBASE}/sbin/gdm:${PORTSDIR}/x11/gdm
+PLIST_SUB+= GDM=""
+.else
+PLIST_SUB+= GDM="@comment "
+.endif
+
+.if !defined(WITHOUT_EXTRAS)
+.if !defined(WITHOUT_THEMES)
+RUN_DEPENDS+= ${X11BASE}/share/xfce4/mime/Rodent.mime.xml:${PORTSDIR}/x11-themes/xfce4-icon-theme
+.endif
+
+.if !defined(WITHOUT_PLUGINS)
+RUN_DEPENDS+= ${X11BASE}/lib/xfce4/panel-plugins/libmixer.so:${PORTSDIR}/audio/xfce4-mixer \
+ ${X11BASE}/lib/xfce4/panel-plugins/libsystray.so:${PORTSDIR}/x11-wm/xfce4-systray \
+ xfce4-tips:${PORTSDIR}/games/xfce4-toys
+.endif
+.endif
+
+LATEST_LINK= xfce4
+NO_BUILD= yes
+USE_X_PREFIX= yes
+
+do-install: # empty
+
+post-install:
+.if defined(WITH_GDM)
+ @${TEST} -d ${LOCALBASE}/etc/gdm/Sessions || \
+ ${MKDIR} -p ${LOCALBASE}/etc/gdm/Sessions
+ @${INSTALL_SCRIPT} ${FILESDIR}/XFce4 ${LOCALBASE}/etc/gdm/Sessions
+ @${INSTALL_DATA} ${FILESDIR}/XFce4.desktop ${LOCALBASE}/etc/dm/Sessions
+.endif
+
+.include <bsd.port.mk>
diff --git a/x11-wm/xfce4/files/XFce4 b/x11-wm/xfce4/files/XFce4
new file mode 100644
index 000000000..815c3eed7
--- /dev/null
+++ b/x11-wm/xfce4/files/XFce4
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+startxfce4
diff --git a/x11-wm/xfce4/files/XFce4.desktop b/x11-wm/xfce4/files/XFce4.desktop
new file mode 100644
index 000000000..8fb3ee397
--- /dev/null
+++ b/x11-wm/xfce4/files/XFce4.desktop
@@ -0,0 +1,3 @@
+[Desktop Entry]
+Name=XFce4
+Exec=/usr/X11R6/etc/gdm/Sessions/XFce4
diff --git a/x11-wm/xfce4/pkg-descr b/x11-wm/xfce4/pkg-descr
new file mode 100644
index 000000000..e0d82837f
--- /dev/null
+++ b/x11-wm/xfce4/pkg-descr
@@ -0,0 +1,6 @@
+XFce 4 Desktop Environment
+
+This package does not contain anything by itself - it is a "meta-port" that
+depends on other XFce 4 packages.
+
+WWW: http://www.xfce.org
diff --git a/x11-wm/xfce4/pkg-plist b/x11-wm/xfce4/pkg-plist
new file mode 100644
index 000000000..0e1a7b87f
--- /dev/null
+++ b/x11-wm/xfce4/pkg-plist
@@ -0,0 +1,4 @@
+%%GDM%%@unexec rm -f %%LOCAL1BASE%%/etc/dm/Sessions/XFce4.desktop
+%%GDM%%@unexec rm -f %%LOCALBASE%%/etc/gdm/Sessions/XFce4
+%%GDM%%@unexec rmdir %%LOCALBASE%%/etc/gdm/Sessions
+%%GDM%%@unexec rmdir %%LOCALBASE%%/etc/gdm