From owner-svn-ports-head@FreeBSD.ORG Sat Nov 9 14:07:32 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 493C47A7; Sat, 9 Nov 2013 14:07:32 +0000 (UTC) (envelope-from olivierd@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 36CC02F05; Sat, 9 Nov 2013 14:07:32 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rA9E7WGV096262; Sat, 9 Nov 2013 14:07:32 GMT (envelope-from olivierd@svn.freebsd.org) Received: (from olivierd@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rA9E7Vf6096259; Sat, 9 Nov 2013 14:07:31 GMT (envelope-from olivierd@svn.freebsd.org) Message-Id: <201311091407.rA9E7Vf6096259@svn.freebsd.org> From: Olivier Duchateau Date: Sat, 9 Nov 2013 14:07:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r333293 - head/x11-wm/xfce4 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Nov 2013 14:07:32 -0000 Author: olivierd Date: Sat Nov 9 14:07:31 2013 New Revision: 333293 URL: http://svnweb.freebsd.org/changeset/ports/333293 Log: - Support STAGEDIR - Unset SQUEEZE option in OPTIONS_DEFAULT (development seems to stop) - Remove obsolete post-install message, because x11-wm/xfce4-desktop depends of sysutils/polkit [1] Reported by: tijl@ [1] Modified: head/x11-wm/xfce4/Makefile head/x11-wm/xfce4/pkg-descr (contents, props changed) Modified: head/x11-wm/xfce4/Makefile ============================================================================== --- head/x11-wm/xfce4/Makefile Sat Nov 9 14:05:30 2013 (r333292) +++ head/x11-wm/xfce4/Makefile Sat Nov 9 14:07:31 2013 (r333293) @@ -10,10 +10,10 @@ DISTFILES= # empty EXTRACT_ONLY= # empty MAINTAINER= xfce@FreeBSD.org -COMMENT= The "meta-port" for the Xfce 4 desktop environment +COMMENT= The "meta-port" for the Xfce Desktop Environment OPTIONS_DEFINE= ICONS ORAGE MOUSEPAD TERMINAL APPFINDER MIXER PRINT SQUEEZE GDM NOTIFY XPM -OPTIONS_DEFAULT= ICONS ORAGE MOUSEPAD TERMINAL APPFINDER SQUEEZE NOTIFY +OPTIONS_DEFAULT= ICONS ORAGE MOUSEPAD TERMINAL APPFINDER NOTIFY ORAGE_DESC= Install the Xfce calendar application MOUSEPAD_DESC= Install the Xfce text editor TERMINAL_DESC= Install the Xfce terminal application @@ -31,18 +31,14 @@ RUN_DEPENDS= xfwm4:${PORTSDIR}/x11-wm/xf NO_BUILD= yes LATEST_LINK= xfce4 -NO_STAGE= yes +NO_MTREE= yes .include -.if exists(${LOCALBASE}/sbin/gdm) -WITH_GDM= yes -.endif - .if ${PORT_OPTIONS:MGDM} RUN_DEPENDS+= ${LOCALBASE}/sbin/gdm:${PORTSDIR}/x11/gdm +REINPLACE_ARGS= -i "" PLIST_FILES= etc/gdm/Sessions/XFce4 \ etc/dm/Sessions/XFce4.desktop -PLIST_DIRS= etc/gdm/Sessions .endif .if ${PORT_OPTIONS:MICONS} @@ -66,7 +62,7 @@ RUN_DEPENDS+= xfce4-appfinder:${PORTSDIR .endif .if ${PORT_OPTIONS:MMIXER} -RUN_DEPENDS+= ${LOCALBASE}/bin/xfce4-mixer:${PORTSDIR}/audio/xfce4-mixer +RUN_DEPENDS+= xfce4-mixer:${PORTSDIR}/audio/xfce4-mixer .endif .if ${PORT_OPTIONS:MPRINT} @@ -89,30 +85,15 @@ do-install: # empty post-install: .if ${PORT_OPTIONS:MGDM} - @${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 - @${ECHO} "================================================================" - @${ECHO} - @${ECHO} "If you want to allow users to restart or shutdown the system," - @${ECHO} "do not forget to add the following lines between the " - @${ECHO} "tags in your PolicyKit.conf file." - @${ECHO} " ${PREFIX}/etc/PolicyKit/PolicyKit.conf" - @${ECHO} "" - @${ECHO} "" - @${ECHO} " " - @${ECHO} "" - @${ECHO} "" - @${ECHO} "" - @${ECHO} " " - @${ECHO} "" - @${ECHO} - @${ECHO} "Make also sure, hald_enable, dbus_enable" - @${ECHO} "is set to YES in your /etc/rc.conf" - @${ECHO} - @${ECHO} "================================================================" - +.for dir in dm gdm + @${MKDIR} ${STAGEDIR}${PREFIX}/etc/${dir}/Sessions +.endfor + @${INSTALL_SCRIPT} ${FILESDIR}/XFce4 \ + ${STAGEDIR}${PREFIX}/etc/gdm/Sessions + @${INSTALL_DATA} ${FILESDIR}/XFce4.desktop \ + ${STAGEDIR}${PREFIX}/etc/dm/Sessions + @${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|' \ + ${STAGEDIR}${PREFIX}/etc/dm/Sessions/XFce4.desktop +.endif .include Modified: head/x11-wm/xfce4/pkg-descr ============================================================================== --- head/x11-wm/xfce4/pkg-descr Sat Nov 9 14:05:30 2013 (r333292) +++ head/x11-wm/xfce4/pkg-descr Sat Nov 9 14:07:31 2013 (r333293) @@ -1,6 +1,6 @@ -Xfce 4 Desktop Environment +Xfce Desktop Environment This package does not contain anything by itself - it is a "meta-port" that -depends on other Xfce 4 packages. +depends on other Xfce packages. WWW: http://www.xfce.org/