summaryrefslogtreecommitdiff
path: root/editors/vim-gtk2
diff options
context:
space:
mode:
authormartti <martti>2003-06-02 08:24:45 +0000
committermartti <martti>2003-06-02 08:24:45 +0000
commita6b1ba275bce3e5c8c7b256a22600263a21a6cb6 (patch)
tree5abcc101149cb6b6b91a807375866606a20e9792 /editors/vim-gtk2
parent05fd266b8f8a9c5c84e5f099cff0c5c90d8114ec (diff)
downloadpkgsrc-a6b1ba275bce3e5c8c7b256a22600263a21a6cb6.tar.gz
Added vim-gtk2.
Diffstat (limited to 'editors/vim-gtk2')
-rw-r--r--editors/vim-gtk2/DESCR10
-rw-r--r--editors/vim-gtk2/Makefile34
-rw-r--r--editors/vim-gtk2/PLIST12
3 files changed, 56 insertions, 0 deletions
diff --git a/editors/vim-gtk2/DESCR b/editors/vim-gtk2/DESCR
new file mode 100644
index 00000000000..b37d27e63af
--- /dev/null
+++ b/editors/vim-gtk2/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.
+
+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 GTK+ GUI. If you don't have X11,
+look at the `vim' package instead.
diff --git a/editors/vim-gtk2/Makefile b/editors/vim-gtk2/Makefile
new file mode 100644
index 00000000000..b8e6419459a
--- /dev/null
+++ b/editors/vim-gtk2/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/06/02 08:24:45 martti Exp $
+
+.include "../vim-share/Makefile.common"
+
+PKGNAME= vim-gtk2-${VIM_VERSION}.${VIM_PATCHLEVEL}
+
+COMMENT= Vim editor (vi clone) with X11 GTK2 GUI
+
+DEPENDS+= vim-share-${VIM_VERSION}.${VIM_PATCHLEVEL}:../vim-share
+CONFLICTS+= vim-[0-9]* vim-gtk-[0-9]* vim-motif-[0-9]*
+CONFLICTS+= vim-xaw-[0-9]*
+
+USE_X11= yes
+CONFIGURE_ARGS+= --enable-gui=gtk2
+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 "../../x11/gtk2/buildlink2.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/editors/vim-gtk2/PLIST b/editors/vim-gtk2/PLIST
new file mode 100644
index 00000000000..38f2afda65b
--- /dev/null
+++ b/editors/vim-gtk2/PLIST
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/06/02 08:24:45 martti Exp $
+bin/vim
+bin/gvim
+bin/gview
+bin/rgvim
+bin/rgview
+bin/rvim
+bin/rview
+man/man1/gvim.1
+man/man1/gview.1
+man/man1/rgvim.1
+man/man1/rgview.1