aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2010-10-17 18:33:28 +0800
committeroliver <oliver@FreeBSD.org>2010-10-17 18:33:28 +0800
commit8568afd60464b645f95643b649669ca259be58af (patch)
tree4503130f508ff37cfaa3595629aaa78f2eb26a8f /x11-wm
parentebe9f2b3a7eebaad9d1fe6acfaad8e7ea46be62a (diff)
downloadfreebsd-ports-graphics-8568afd60464b645f95643b649669ca259be58af.tar.gz
freebsd-ports-graphics-8568afd60464b645f95643b649669ca259be58af.tar.zst
freebsd-ports-graphics-8568afd60464b645f95643b649669ca259be58af.zip
use PLIST_FILES instead of pkg-plist
Submitted by: Stacy Millions <stacy@Millions.Ca>
Diffstat (limited to 'x11-wm')
-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 5dc04035a11..9a780ecc681 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 d8ef9ae7422..00000000000
--- 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