summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2005-03-17 23:17:06 +0000
committerwiz <wiz@pkgsrc.org>2005-03-17 23:17:06 +0000
commit4fd8028529ad3ec835545f93826aee599768fbd4 (patch)
tree147e74625ec0e8c942cf3b02b6ff129c490515e9 /sysutils
parenta6bbcb25848849629b1cd54b19d1ef84a512c600 (diff)
downloadpkgsrc-4fd8028529ad3ec835545f93826aee599768fbd4.tar.gz
Only try removing share/mc after all the optional PLIST fragments,
since they are responsible for some files in share/mc.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/mc/Makefile4
-rw-r--r--sysutils/mc/PLIST3
-rw-r--r--sysutils/mc/PLIST.end2
3 files changed, 6 insertions, 3 deletions
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}