diff options
author | wiz <wiz@pkgsrc.org> | 2005-03-17 23:17:06 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2005-03-17 23:17:06 +0000 |
commit | c9e2ef0f5cef9b167c1c9b44eb6c69cdf07eee91 (patch) | |
tree | 147e74625ec0e8c942cf3b02b6ff129c490515e9 | |
parent | 0af49a050578acc43e7c4f572a5bcbaa903de47c (diff) | |
download | pkgsrc-c9e2ef0f5cef9b167c1c9b44eb6c69cdf07eee91.tar.gz |
Only try removing share/mc after all the optional PLIST fragments,
since they are responsible for some files in share/mc.
-rw-r--r-- | sysutils/mc/Makefile | 4 | ||||
-rw-r--r-- | sysutils/mc/PLIST | 3 | ||||
-rw-r--r-- | sysutils/mc/PLIST.end | 2 |
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} |