From 04f2bd0cbc339bc0c51e5088176a965c585250a2 Mon Sep 17 00:00:00 2001 From: Oliver Lehmann Date: Sun, 17 Oct 2010 10:33:28 +0000 Subject: use PLIST_FILES instead of pkg-plist Submitted by: Stacy Millions --- x11-wm/xfce4/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'x11-wm/xfce4/Makefile') 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) -- cgit v1.2.3