diff options
-rw-r--r-- | x11-wm/xfce4/Makefile | 10 | ||||
-rw-r--r-- | x11-wm/xfce4/files/XFce4.desktop | 2 |
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 |