From 4fd8028529ad3ec835545f93826aee599768fbd4 Mon Sep 17 00:00:00 2001 From: wiz Date: Thu, 17 Mar 2005 23:17:06 +0000 Subject: Only try removing share/mc after all the optional PLIST fragments, since they are responsible for some files in share/mc. --- sysutils/mc/Makefile | 4 +++- sysutils/mc/PLIST | 3 +-- sysutils/mc/PLIST.end | 2 ++ 3 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 sysutils/mc/PLIST.end (limited to 'sysutils/mc') diff --git a/sysutils/mc/Makefile b/sysutils/mc/Makefile index 91538acc5a9..168ad782da0 100644 --- a/sysutils/mc/Makefile +++ b/sysutils/mc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.50 2005/03/17 22:46:41 wiz Exp $ +# $NetBSD: Makefile,v 1.51 2005/03/17 23:17:06 wiz Exp $ DISTNAME= mc-4.6.1-pre2b PKGNAME= mc-4.6.1rc2 @@ -43,6 +43,8 @@ PLIST_SRC+= ${PKGDIR}/PLIST .include "options.mk" +PLIST_SRC+= ${PKGDIR}/PLIST.end + .include "../../devel/glib2/buildlink3.mk" .include "../../devel/gettext-lib/buildlink3.mk" .include "../../devel/pkgconfig/buildlink3.mk" diff --git a/sysutils/mc/PLIST b/sysutils/mc/PLIST index 52f988d5244..472f401f6e2 100644 --- a/sysutils/mc/PLIST +++ b/sysutils/mc/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.3 2005/02/12 01:02:50 rillig Exp $ +@comment $NetBSD: PLIST,v 1.4 2005/03/17 23:17:06 wiz Exp $ bin/mc bin/mcmfmt bin/mcview @@ -77,7 +77,6 @@ share/mc/mc.lib share/mc/mc.menu share/mc/mc.menu.sr @dirrm share/mc/bin -@unexec ${RMDIR} %D/share/mc 2>/dev/null || ${TRUE} @unexec ${RMDIR} %D/man/sr/man8 2>/dev/null || ${TRUE} @unexec ${RMDIR} %D/man/sr/man1 2>/dev/null || ${TRUE} @unexec ${RMDIR} %D/man/sr 2>/dev/null || ${TRUE} diff --git a/sysutils/mc/PLIST.end b/sysutils/mc/PLIST.end new file mode 100644 index 00000000000..a1e7fec2aae --- /dev/null +++ b/sysutils/mc/PLIST.end @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST.end,v 1.1 2005/03/17 23:17:06 wiz Exp $ +@unexec ${RMDIR} %D/share/mc 2>/dev/null || ${TRUE} -- cgit v1.2.3