[Midnightbsd-cvs] mports: mports/x11-wm: Finally finish adding xfce 4!
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Fri Sep 26 14:28:46 EDT 2008
Log Message:
-----------
Finally finish adding xfce 4!
Modified Files:
--------------
mports/x11-wm:
Makefile (r1.31 -> r1.32)
Added Files:
-----------
mports/x11-wm/xfce4:
Makefile (r1.1)
pkg-descr (r1.1)
pkg-plist (r1.1)
mports/x11-wm/xfce4/files:
XFce4 (r1.1)
XFce4.desktop (r1.1)
-------------- next part --------------
--- /dev/null
+++ 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/
--- /dev/null
+++ 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%%@dirrmtry %%LOCALBASE%%/etc/gdm/Sessions
+%%GDM%%@dirrmtry %%LOCALBASE%%/etc/gdm
--- /dev/null
+++ x11-wm/xfce4/Makefile
@@ -0,0 +1,71 @@
+# New ports collection makefile for: xfce4
+# Date created: 9 June 2003
+# Whom: James Earl <jdearl at telus.net>
+#
+# $MidnightBSD: mports/x11-wm/xfce4/Makefile,v 1.1 2008/09/26 18:28:43 laffer1 Exp $
+# $FreeBSD: ports/x11-wm/xfce4/Makefile,v 1.108 2008/06/06 14:17:20 edwin Exp $
+#
+
+PORTNAME= xfce
+PORTVERSION= 4.4.2
+CATEGORIES= x11-wm xfce
+MASTER_SITES= # empty
+DISTFILES= # empty
+EXTRACT_ONLY= # empty
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= The "meta-port" for the XFce 4 desktop environment
+LICENSE= agg
+
+RUN_DEPENDS= ${LOCALBASE}/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 \
+ xfdesktop:${PORTSDIR}/x11-wm/xfce4-desktop \
+ startxfce4:${PORTSDIR}/sysutils/xfce4-utils \
+ xfprint4:${PORTSDIR}/print/xfce4-print \
+ ${LOCALBASE}/lib/gtk-2.0/2.10.0/engines/libxfce.so:${PORTSDIR}/x11-themes/gtk-xfce-engine \
+ thunar:${PORTSDIR}/x11-fm/thunar \
+ orage:${PORTSDIR}/deskutils/orage \
+ mousepad:${PORTSDIR}/editors/mousepad \
+ Terminal:${PORTSDIR}/x11/Terminal
+
+NO_BUILD= yes
+LATEST_LINK= xfce4
+
+.include <bsd.port.pre.mk>
+
+.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+= ${LOCALBASE}/share/xfce4/mime/Rodent.mime.xml:${PORTSDIR}/x11-themes/xfce4-icon-theme \
+ ${LOCALBASE}/share/themes/Xfce/xfwm4/themerc:${PORTSDIR}/misc/xfce4-wm-themes
+.endif
+
+.if !defined(WITHOUT_PLUGINS)
+RUN_DEPENDS+= ${LOCALBASE}/lib/xfce4/modules/libxfce4mixer.so:${PORTSDIR}/audio/xfce4-mixer
+.endif
+.endif
+
+do-install: # empty
+
+post-install:
+.if defined(WITH_GDM)
+ @${TEST} -d ${PREFIX}/etc/gdm/Sessions || \
+ ${MKDIR} -p ${PREFIX}/etc/gdm/Sessions
+ @${INSTALL_SCRIPT} ${FILESDIR}/XFce4 ${PREFIX}/etc/gdm/Sessions
+ @${SED} -e 's|%%PREFIX%%|${PREFIX}|' ${FILESDIR}/XFce4.desktop > ${PREFIX}/etc/dm/Sessions/XFce4.desktop
+.endif
+
+.include <bsd.port.post.mk>
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/x11-wm/Makefile,v
retrieving revision 1.31
retrieving revision 1.32
diff -L x11-wm/Makefile -L x11-wm/Makefile -u -r1.31 -r1.32
--- x11-wm/Makefile
+++ x11-wm/Makefile
@@ -28,6 +28,7 @@
SUBDIR += windowmaker
SUBDIR += wmii
SUBDIR += xfce
+ SUBDIR += xfce4
SUBDIR += xfce4-desktop
SUBDIR += xfce4-panel
SUBDIR += xfce4-session
--- /dev/null
+++ x11-wm/xfce4/files/XFce4.desktop
@@ -0,0 +1,3 @@
+[Desktop Entry]
+Name=XFce4
+Exec=%%PREFIX%%/etc/gdm/Sessions/XFce4
--- /dev/null
+++ x11-wm/xfce4/files/XFce4
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+startxfce4
More information about the Midnightbsd-cvs
mailing list