aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/xfce4
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2006-11-15 12:34:28 +0800
committeroliver <oliver@FreeBSD.org>2006-11-15 12:34:28 +0800
commit8e694b0fb43d4cb2db517c632283cea21c25940d (patch)
tree6cfd2b2d99d03430e7b89e19b0485935ce2a4718 /x11-wm/xfce4
parentb99841da8118370b28ecb73a74a44a07bfe11c62 (diff)
downloadfreebsd-ports-gnome-8e694b0fb43d4cb2db517c632283cea21c25940d.tar.gz
freebsd-ports-gnome-8e694b0fb43d4cb2db517c632283cea21c25940d.tar.zst
freebsd-ports-gnome-8e694b0fb43d4cb2db517c632283cea21c25940d.zip
fix Xfce4.desktop installation
fix gdm autodetection Reported by: "Martin Horcicka" <martin@horcicka.eu>
Diffstat (limited to 'x11-wm/xfce4')
-rw-r--r--x11-wm/xfce4/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/x11-wm/xfce4/Makefile b/x11-wm/xfce4/Makefile
index 4be767e66757..9132ec8ab517 100644
--- a/x11-wm/xfce4/Makefile
+++ b/x11-wm/xfce4/Makefile
@@ -29,6 +29,12 @@ RUN_DEPENDS= ${LOCALBASE}/lib/xfce4/mcs-plugins/ui_plugin.so:${PORTSDIR}/sysutil
xfce4-iconbox:${PORTSDIR}/misc/xfce4-iconbox \
${LOCALBASE}/lib/gtk-2.0/${GTK2_VERSION}/engines/libxfce.so:${PORTSDIR}/x11-themes/gtk-xfce-engine
+USE_GNOME= gtk20
+NO_BUILD= yes
+LATEST_LINK= xfce4
+
+.include <bsd.port.pre.mk>
+
.if exists(${LOCALBASE}/sbin/gdm)
WITH_GDM= yes
.endif
@@ -52,10 +58,6 @@ RUN_DEPENDS+= ${LOCALBASE}/lib/xfce4/panel-plugins/libmixer.so:${PORTSDIR}/audio
.endif
.endif
-LATEST_LINK= xfce4
-NO_BUILD= yes
-USE_GNOME= gtk20
-
do-install: # empty
post-install:
@@ -63,7 +65,7 @@ post-install:
@${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
+ @${SED} -e 's|%%PREFIX%%|${PREFIX}|' ${FILESDIR}/XFce4.desktop > ${PREFIX}/etc/dm/Sessions/XFce4.desktop
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>