diff options
author | pooka <pooka@pkgsrc.org> | 1999-12-21 16:20:24 +0000 |
---|---|---|
committer | pooka <pooka@pkgsrc.org> | 1999-12-21 16:20:24 +0000 |
commit | 989ee6e25d8414bfe30c9545f70b252e1cef0f8c (patch) | |
tree | 1f24b510936b1080173d57bffd23938f3c5ea9fb /editors | |
parent | 1755a253068576c37f87ab18f79c34dbbc344704 (diff) | |
download | pkgsrc-989ee6e25d8414bfe30c9545f70b252e1cef0f8c.tar.gz |
Make these packages install is MANZ=1 is set
Diffstat (limited to 'editors')
-rw-r--r-- | editors/vim-gtk/Makefile | 17 | ||||
-rw-r--r-- | editors/vim-xaw/Makefile | 17 |
2 files changed, 24 insertions, 10 deletions
diff --git a/editors/vim-gtk/Makefile b/editors/vim-gtk/Makefile index 5b1594c870b..338dfadc99c 100644 --- a/editors/vim-gtk/Makefile +++ b/editors/vim-gtk/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 1999/12/21 13:18:14 pooka Exp $ +# $NetBSD: Makefile,v 1.7 1999/12/21 16:20:24 pooka Exp $ .include "../vim-share/Makefile.common" @@ -27,10 +27,17 @@ DEPENDS+= ncurses-4.2:../../devel/ncurses .endif post-install: - @${LN} ${PREFIX}/man/man1/vim.1 ${PREFIX}/man/man1/gvim.1 - @${LN} ${PREFIX}/man/man1/view.1 ${PREFIX}/man/man1/gview.1 - @${LN} ${PREFIX}/man/man1/rvim.1 ${PREFIX}/man/man1/rgvim.1 - @${LN} ${PREFIX}/man/man1/rview.1 ${PREFIX}/man/man1/rgview.1 + @if [ -f ${PREFIX}/man/man1/vim.1.gz ]; then \ + ${LN} ${PREFIX}/man/man1/vim.1.gz ${PREFIX}/man/man1/gvim.1; \ + ${LN} ${PREFIX}/man/man1/vim.1.gz ${PREFIX}/man/man1/gview.1; \ + ${LN} ${PREFIX}/man/man1/vim.1.gz ${PREFIX}/man/man1/rgvim.1; \ + ${LN} ${PREFIX}/man/man1/vim.1.gz ${PREFIX}/man/man1/rgview.1; \ + else \ + ${LN} ${PREFIX}/man/man1/vim.1 ${PREFIX}/man/man1/gvim.1; \ + ${LN} ${PREFIX}/man/man1/vim.1 ${PREFIX}/man/man1/gview.1; \ + ${LN} ${PREFIX}/man/man1/vim.1 ${PREFIX}/man/man1/rgvim.1; \ + ${LN} ${PREFIX}/man/man1/vim.1 ${PREFIX}/man/man1/rgview.1; \ + fi @${LN} ${PREFIX}/bin/vim ${PREFIX}/bin/gvim @${LN} ${PREFIX}/bin/vim ${PREFIX}/bin/gview @${LN} ${PREFIX}/bin/vim ${PREFIX}/bin/rgvim diff --git a/editors/vim-xaw/Makefile b/editors/vim-xaw/Makefile index 152f9f344f0..df2da6f6d56 100644 --- a/editors/vim-xaw/Makefile +++ b/editors/vim-xaw/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 1999/12/21 13:26:28 pooka Exp $ +# $NetBSD: Makefile,v 1.2 1999/12/21 16:20:25 pooka Exp $ .include "../vim-share/Makefile.common" @@ -25,10 +25,17 @@ DEPENDS+= ncurses-4.2:../../devel/ncurses .endif post-install: - @${LN} ${PREFIX}/man/man1/vim.1 ${PREFIX}/man/man1/gvim.1 - @${LN} ${PREFIX}/man/man1/view.1 ${PREFIX}/man/man1/gview.1 - @${LN} ${PREFIX}/man/man1/rvim.1 ${PREFIX}/man/man1/rgvim.1 - @${LN} ${PREFIX}/man/man1/rview.1 ${PREFIX}/man/man1/rgview.1 + @if [ -f ${PREFIX}/man/man1/vim.1.gz ]; then \ + ${LN} ${PREFIX}/man/man1/vim.1.gz ${PREFIX}/man/man1/gvim.1; \ + ${LN} ${PREFIX}/man/man1/vim.1.gz ${PREFIX}/man/man1/gview.1; \ + ${LN} ${PREFIX}/man/man1/vim.1.gz ${PREFIX}/man/man1/rgvim.1; \ + ${LN} ${PREFIX}/man/man1/vim.1.gz ${PREFIX}/man/man1/rgview.1; \ + else \ + ${LN} ${PREFIX}/man/man1/vim.1 ${PREFIX}/man/man1/gvim.1; \ + ${LN} ${PREFIX}/man/man1/vim.1 ${PREFIX}/man/man1/gview.1; \ + ${LN} ${PREFIX}/man/man1/vim.1 ${PREFIX}/man/man1/rgvim.1; \ + ${LN} ${PREFIX}/man/man1/vim.1 ${PREFIX}/man/man1/rgview.1; \ + fi @${LN} ${PREFIX}/bin/vim ${PREFIX}/bin/gvim @${LN} ${PREFIX}/bin/vim ${PREFIX}/bin/gview @${LN} ${PREFIX}/bin/vim ${PREFIX}/bin/rgvim |