aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authorolivierd <olivierd@FreeBSD.org>2015-01-04 01:24:09 +0800
committerolivierd <olivierd@FreeBSD.org>2015-01-04 01:24:09 +0800
commit15652e3ff0c4f2ec7136542e6b1f452ca4b8af24 (patch)
treeb53c0bcdd5f5a1aaaa092b10aaed043a79143bda /x11-wm
parentadaed8bcdecbb411ba6d26d5103e54d4c5de93af (diff)
downloadfreebsd-ports-gnome-15652e3ff0c4f2ec7136542e6b1f452ca4b8af24.tar.gz
freebsd-ports-gnome-15652e3ff0c4f2ec7136542e6b1f452ca4b8af24.tar.zst
freebsd-ports-gnome-15652e3ff0c4f2ec7136542e6b1f452ca4b8af24.zip
- GNOME is default icons theme [1]
- Sort OPTIONS_* - Rewrite description for applications - Replace x11/gdm by x11/slim Gdm requires x11/gnome-shell and others GNOME components. Some environments variables are also missing in xfce4-session - Bump PORTREVISION PR: 183690 [1] Requested by: Rostislav Krasny
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/xfce4/Makefile45
-rw-r--r--x11-wm/xfce4/files/XFce43
-rw-r--r--x11-wm/xfce4/files/XFce4.desktop3
3 files changed, 15 insertions, 36 deletions
diff --git a/x11-wm/xfce4/Makefile b/x11-wm/xfce4/Makefile
index 0cd5e256f0c8..bbdb755ee440 100644
--- a/x11-wm/xfce4/Makefile
+++ b/x11-wm/xfce4/Makefile
@@ -3,7 +3,7 @@
PORTNAME= xfce
PORTVERSION= 4.10
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= x11-wm xfce
MASTER_SITES= # empty
DISTFILES= # empty
@@ -12,14 +12,15 @@ EXTRACT_ONLY= # empty
MAINTAINER= xfce@FreeBSD.org
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 NOTIFY
-ORAGE_DESC= Install the Xfce calendar application
-MOUSEPAD_DESC= Install the Xfce text editor
-TERMINAL_DESC= Install the Xfce terminal application
-APPFINDER_DESC= Install the Xfce application finder
-SQUEEZE_DESC= Install the Xfce archiver application
-XPM_DESC= Install the Xfce power manager
+OPTIONS_DEFINE= APPFINDER ICONS MIXER MOUSEPAD NOTIFY ORAGE PRINT SLIM SQUEEZE TERMINAL XPM
+OPTIONS_DEFAULT= APPFINDER ICONS MOUSEPAD NOTIFY ORAGE TERMINAL
+ORAGE_DESC= Calendar
+MOUSEPAD_DESC= Text editor
+TERMINAL_DESC= Terminal emulator
+APPFINDER_DESC= Launcher and finder
+SQUEEZE_DESC= Archive manager
+XPM_DESC= Power manager
+SLIM_DESC= SLiM, login manager
RUN_DEPENDS= xfwm4:${PORTSDIR}/x11-wm/xfce4-wm \
xfce4-session:${PORTSDIR}/x11-wm/xfce4-session \
@@ -34,15 +35,8 @@ LATEST_LINK= xfce4
NO_MTREE= yes
.include <bsd.port.options.mk>
-.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
-.endif
-
.if ${PORT_OPTIONS:MICONS}
-RUN_DEPENDS+= icons-tango-extras>=0.1.0:${PORTSDIR}/x11-themes/icons-tango-extras
+RUN_DEPENDS+= gnome-icon-theme>=3.12.0:${PORTSDIR}/misc/gnome-icon-theme
.endif
.if ${PORT_OPTIONS:MORAGE}
@@ -81,19 +75,10 @@ RUN_DEPENDS+= xfce4-notifyd-config:${PORTSDIR}/deskutils/xfce4-notifyd
RUN_DEPENDS+= xfce4-power-manager:${PORTSDIR}/sysutils/xfce4-power-manager
.endif
-do-install: # empty
-
-post-install:
-.if ${PORT_OPTIONS:MGDM}
-.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
+.if ${PORT_OPTIONS:MSLIM}
+RUN_DEPENDS+= slim:${PORTSDIR}/x11/slim
.endif
+do-install: # empty
+
.include <bsd.port.mk>
diff --git a/x11-wm/xfce4/files/XFce4 b/x11-wm/xfce4/files/XFce4
deleted file mode 100644
index 815c3eed7ca4..000000000000
--- a/x11-wm/xfce4/files/XFce4
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-startxfce4
diff --git a/x11-wm/xfce4/files/XFce4.desktop b/x11-wm/xfce4/files/XFce4.desktop
deleted file mode 100644
index b46ed9070a50..000000000000
--- a/x11-wm/xfce4/files/XFce4.desktop
+++ /dev/null
@@ -1,3 +0,0 @@
-[Desktop Entry]
-Name=XFce4
-Exec=%%PREFIX%%/etc/gdm/Sessions/XFce4