diff options
author | wiz <wiz> | 2005-03-17 23:17:06 +0000 |
---|---|---|
committer | wiz <wiz> | 2005-03-17 23:17:06 +0000 |
commit | 90ff398b5ebbefa49fb4b8fc81911cfbec1158e0 (patch) | |
tree | 147e74625ec0e8c942cf3b02b6ff129c490515e9 /sysutils | |
parent | c92f6d117a939df7cbd6dac9b4dc920cb6a62455 (diff) | |
download | pkgsrc-90ff398b5ebbefa49fb4b8fc81911cfbec1158e0.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/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} |