aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/xfce4
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2006-11-14 18:13:21 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2006-11-14 18:13:21 +0000
commitc095fba1a2ebf54416e87ae94419bcab035d3ea4 (patch)
tree46a26c0e99d420b9ea456e82efe95f6d7f4d55b1 /x11-wm/xfce4
parentf132db22040bb86e38a9828e5431128db08a35ca (diff)
downloadports-c095fba1a2ebf54416e87ae94419bcab035d3ea4.tar.gz
ports-c095fba1a2ebf54416e87ae94419bcab035d3ea4.zip
Notes
Diffstat (limited to 'x11-wm/xfce4')
-rw-r--r--x11-wm/xfce4/Makefile10
-rw-r--r--x11-wm/xfce4/files/XFce4.desktop2
2 files changed, 6 insertions, 6 deletions
diff --git a/x11-wm/xfce4/Makefile b/x11-wm/xfce4/Makefile
index 5073527b830e..4be767e66757 100644
--- a/x11-wm/xfce4/Makefile
+++ b/x11-wm/xfce4/Makefile
@@ -7,7 +7,7 @@
PORTNAME= xfce
PORTVERSION= 4.2.3.2
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= x11-wm xfce
MASTER_SITES= # empty
DISTFILES= # empty
@@ -60,10 +60,10 @@ do-install: # empty
post-install:
.if defined(WITH_GDM)
- @${TEST} -d ${LOCALBASE}/etc/gdm/Sessions || \
- ${MKDIR} -p ${LOCALBASE}/etc/gdm/Sessions
- @${INSTALL_SCRIPT} ${FILESDIR}/XFce4 ${LOCALBASE}/etc/gdm/Sessions
- @${INSTALL_DATA} ${FILESDIR}/XFce4.desktop ${LOCALBASE}/etc/dm/Sessions
+ @${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
.endif
.include <bsd.port.mk>
diff --git a/x11-wm/xfce4/files/XFce4.desktop b/x11-wm/xfce4/files/XFce4.desktop
index 8fb3ee397b7a..b46ed9070a50 100644
--- a/x11-wm/xfce4/files/XFce4.desktop
+++ b/x11-wm/xfce4/files/XFce4.desktop
@@ -1,3 +1,3 @@
[Desktop Entry]
Name=XFce4
-Exec=/usr/X11R6/etc/gdm/Sessions/XFce4
+Exec=%%PREFIX%%/etc/gdm/Sessions/XFce4