summaryrefslogtreecommitdiff
path: root/x11-wm/xfce4
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2010-10-17 10:33:28 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2010-10-17 10:33:28 +0000
commit04f2bd0cbc339bc0c51e5088176a965c585250a2 (patch)
treeae8e5e4befb701ec7302e77448d7325901c0dc26 /x11-wm/xfce4
parentupdate to 4.8.1 (diff)
use PLIST_FILES instead of pkg-plist
Submitted by: Stacy Millions <stacy@Millions.Ca>
Notes
Notes: svn path=/head/; revision=263135
Diffstat (limited to 'x11-wm/xfce4')
-rw-r--r--x11-wm/xfce4/Makefile8
-rw-r--r--x11-wm/xfce4/pkg-plist4
2 files changed, 4 insertions, 8 deletions
diff --git a/x11-wm/xfce4/Makefile b/x11-wm/xfce4/Makefile
index 5dc04035a117..9a780ecc6813 100644
--- a/x11-wm/xfce4/Makefile
+++ b/x11-wm/xfce4/Makefile
@@ -41,11 +41,11 @@ LATEST_LINK= xfce4
WITH_GDM= yes
.endif
-.if !defined(WITH_GDM)
-PLIST_SUB+= GDM="@comment "
-.else
+.if defined(WITH_GDM)
RUN_DEPENDS+= ${LOCALBASE}/sbin/gdm:${PORTSDIR}/x11/gdm
-PLIST_SUB+= GDM=""
+PLIST_FILES= etc/gdm/Sessions/XFce4 \
+ etc/dm/Sessions/XFce4.desktop
+PLIST_DIRS= etc/gdm/Sessions
.endif
.if !defined(WITHOUT_ICONS)
diff --git a/x11-wm/xfce4/pkg-plist b/x11-wm/xfce4/pkg-plist
deleted file mode 100644
index d8ef9ae74228..000000000000
--- a/x11-wm/xfce4/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-%%GDM%%@unexec rm -f %%LOCAL1BASE%%/etc/dm/Sessions/XFce4.desktop
-%%GDM%%@unexec rm -f %%LOCALBASE%%/etc/gdm/Sessions/XFce4
-%%GDM%%@dirrmtry %%LOCALBASE%%/etc/gdm/Sessions
-%%GDM%%@dirrmtry %%LOCALBASE%%/etc/gdm