aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/xfce4
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2006-11-15 04:34:28 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2006-11-15 04:34:28 +0000
commit613ad07fc00aa7315dc7d1380209e4ac5a4aab61 (patch)
tree24f366dd8d1b42c6e8f3a30b85e679c3a90dd2f1 /x11-wm/xfce4
parente72203ac1eec009a9d743babba38288ebaca07b4 (diff)
downloadports-613ad07fc00aa7315dc7d1380209e4ac5a4aab61.tar.gz
ports-613ad07fc00aa7315dc7d1380209e4ac5a4aab61.zip
Notes
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>