summaryrefslogtreecommitdiff
path: root/editors/vim-share
diff options
context:
space:
mode:
Diffstat (limited to 'editors/vim-share')
-rw-r--r--editors/vim-share/ALTERNATIVES3
-rw-r--r--editors/vim-share/Makefile6
-rw-r--r--editors/vim-share/Makefile.common8
3 files changed, 13 insertions, 4 deletions
diff --git a/editors/vim-share/ALTERNATIVES b/editors/vim-share/ALTERNATIVES
new file mode 100644
index 00000000000..fb6f8eb529d
--- /dev/null
+++ b/editors/vim-share/ALTERNATIVES
@@ -0,0 +1,3 @@
+bin/ex @PREFIX@/bin/vim -e
+bin/vi @PREFIX@/bin/vim
+bin/view @PREFIX@/bin/vim -R
diff --git a/editors/vim-share/Makefile b/editors/vim-share/Makefile
index 6f7dae3ae48..c44efd41dd0 100644
--- a/editors/vim-share/Makefile
+++ b/editors/vim-share/Makefile
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.10 2004/06/21 08:23:48 martti Exp $
-
-.include "Makefile.common"
+# $NetBSD: Makefile,v 1.11 2005/01/25 13:48:54 jmmv Exp $
PKGNAME= vim-share-${VIM_VERSION}.${VIM_PATCHLEVEL}
COMMENT= Data files for the vim editor (vi clone)
+.include "Makefile.common"
+
CONFIGURE_ARGS+= --disable-gui
INSTALL_TARGET= installruntime installmacros installtutor installtools
diff --git a/editors/vim-share/Makefile.common b/editors/vim-share/Makefile.common
index 42bb1912641..319d4c2fb3b 100644
--- a/editors/vim-share/Makefile.common
+++ b/editors/vim-share/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.39 2005/01/06 20:38:06 adrianp Exp $
+# $NetBSD: Makefile.common,v 1.40 2005/01/25 13:48:54 jmmv Exp $
VIM_VERSION= 6.3
VIM_PATCHLEVEL= 045
@@ -38,3 +38,9 @@ PATCH_DIST_ARGS= -d ${WRKDIR}/vim63 --forward --quiet \
-E ${PATCH_DIST_STRIP}
PATCHDIR?= ${.CURDIR}/../vim-share/patches
DISTINFO_FILE?= ${.CURDIR}/../vim-share/distinfo
+
+.if empty(PKGNAME:Mvim-share*)
+ALTERNATIVES_SRC= ${.CURDIR}/../../editors/vim-share/ALTERNATIVES
+.else
+ALTERNATIVES_SRC=
+.endif