mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
replace "/usr/X11R6" in Xfce.desktop by %%PREFIX%% and parse that during the
installation
This commit is contained in:
parent
f132db2204
commit
c095fba1a2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=177273
@ -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>
|
||||
|
@ -1,3 +1,3 @@
|
||||
[Desktop Entry]
|
||||
Name=XFce4
|
||||
Exec=/usr/X11R6/etc/gdm/Sessions/XFce4
|
||||
Exec=%%PREFIX%%/etc/gdm/Sessions/XFce4
|
||||
|
Loading…
Reference in New Issue
Block a user