summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editors/vim-gtk/Makefile33
1 files changed, 13 insertions, 20 deletions
diff --git a/editors/vim-gtk/Makefile b/editors/vim-gtk/Makefile
index 338dfadc99c..9427de642a3 100644
--- a/editors/vim-gtk/Makefile
+++ b/editors/vim-gtk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 1999/12/21 16:20:24 pooka Exp $
+# $NetBSD: Makefile,v 1.8 1999/12/21 17:07:16 tron Exp $
.include "../vim-share/Makefile.common"
@@ -27,24 +27,17 @@ DEPENDS+= ncurses-4.2:../../devel/ncurses
.endif
post-install:
- @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
- @${LN} ${PREFIX}/bin/vim ${PREFIX}/bin/rgview
- @${LN} ${PREFIX}/bin/vim ${PREFIX}/bin/ex
- @${LN} ${PREFIX}/bin/vim ${PREFIX}/bin/view
- @${LN} ${PREFIX}/bin/vim ${PREFIX}/bin/rvim
- @${LN} ${PREFIX}/bin/vim ${PREFIX}/bin/rview
+ ${LN} -fs vim.1.gz ${PREFIX}/man/man1/gvim.1
+ ${LN} -fs vim.1.gz ${PREFIX}/man/man1/gview.1
+ ${LN} -fs vim.1.gz ${PREFIX}/man/man1/rgvim.1
+ ${LN} -fs vim.1.gz ${PREFIX}/man/man1/rgview.1
+ ${LN} -fs vim ${PREFIX}/bin/gvim
+ ${LN} -fs vim ${PREFIX}/bin/gview
+ ${LN} -fs vim ${PREFIX}/bin/rgvim
+ ${LN} -fs vim ${PREFIX}/bin/rgview
+ ${LN} -fs vim ${PREFIX}/bin/ex
+ ${LN} -fs vim ${PREFIX}/bin/view
+ ${LN} -fs vim ${PREFIX}/bin/rvim
+ ${LN} -fs vim ${PREFIX}/bin/rview
.include "../../mk/bsd.pkg.mk"