use PLIST_FILES instead of pkg-plist

Submitted by:	Stacy Millions <stacy@Millions.Ca>
This commit is contained in:
Oliver Lehmann 2010-10-17 10:33:28 +00:00
parent 528d8e7379
commit 04f2bd0cbc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=263135
2 changed files with 4 additions and 8 deletions

View File

@ -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)

View File

@ -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