summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editors/vim-motif/DESCR10
-rw-r--r--editors/vim-motif/Makefile33
-rw-r--r--editors/vim-motif/PLIST12
3 files changed, 55 insertions, 0 deletions
diff --git a/editors/vim-motif/DESCR b/editors/vim-motif/DESCR
new file mode 100644
index 00000000000..f6562f0870d
--- /dev/null
+++ b/editors/vim-motif/DESCR
@@ -0,0 +1,10 @@
+Vim is an almost compatible version of the UNIX editor Vi. Many new features
+have been added: multi level undo, syntax highlighting, command line history,
+on-line help, filename completion, block operations, etc. There is also a
+Graphical User Interface (GUI) available. See doc/vi_diff.txt.
+
+If you are building the package from source you may want to enable some
+features such as a perl or python interpreter which are not enabled by
+default.
+
+This version also contains a X11/Motif GUI.
diff --git a/editors/vim-motif/Makefile b/editors/vim-motif/Makefile
new file mode 100644
index 00000000000..851e811768e
--- /dev/null
+++ b/editors/vim-motif/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/02/15 18:54:37 martti Exp $
+
+.include "../vim-share/Makefile.common"
+
+PKGNAME= vim-motif-${VIM_VERSION}.${VIM_PATCHLEVEL}
+
+COMMENT= Vim editor (vi clone) with X11 Motif GUI
+
+DEPENDS+= vim-share-${VIM_VERSION}.${VIM_PATCHLEVEL}:../vim-share
+CONFLICTS+= vim-[0-9]* vim-gtk-[0-9]* vim-xaw-[0-9]*
+
+USE_X11= yes
+CONFIGURE_ARGS+= --enable-gui=motif
+CONFIGURE_ARGS+= --with-tlib=ncurses
+
+ALL_TARGET= vim
+INSTALL_TARGET= installvimbin
+
+post-install:
+ for f in gvim.1 gview.1 rgvim.1 rgview.1; do \
+ ${RM} -f ${PREFIX}/man/man1/$$f; \
+ ${LN} -s vim.1 ${PREFIX}/man/man1/$$f; \
+ done
+ for f in gvim gview rgvim rgview rvim rview; do \
+ ${RM} -f ${PREFIX}/bin/$$f; \
+ ${LN} -s vim ${PREFIX}/bin/$$f; \
+ done
+
+.include "../../devel/ncurses/buildlink2.mk"
+.include "../../graphics/xpm/buildlink2.mk"
+.include "../../mk/motif.buildlink2.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/editors/vim-motif/PLIST b/editors/vim-motif/PLIST
new file mode 100644
index 00000000000..154953c34b1
--- /dev/null
+++ b/editors/vim-motif/PLIST
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/02/15 18:54:37 martti Exp $
+bin/gview
+bin/gvim
+bin/rgview
+bin/rgvim
+bin/rview
+bin/rvim
+bin/vim
+man/man1/gview.1
+man/man1/gvim.1
+man/man1/rgview.1
+man/man1/rgvim.1