pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Provide package for vim-nox, VIM with scripting language support but no X



Module Name:	pkgsrc-wip
Committed By:	Thomas Merkel <tm%core.io@localhost>
Pushed By:	drscream
Date:		Thu Dec 8 10:15:06 2016 +0100
Changeset:	1d25d1f52e9486054d8eac98d47734beed75a3c1

Added Files:
	vim-nox/DESCR
	vim-nox/Makefile
	vim-nox/PLIST

Log Message:
Provide package for vim-nox, VIM with scripting language support but no X

A version of vim which will be compiled with support for scripting with Lua, Perl, Python, Ruby, and Tcl but no GUI.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=1d25d1f52e9486054d8eac98d47734beed75a3c1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 vim-nox/DESCR    | 10 ++++++++++
 vim-nox/Makefile | 33 +++++++++++++++++++++++++++++++++
 vim-nox/PLIST    |  4 ++++
 3 files changed, 47 insertions(+)

diffs:
diff --git a/vim-nox/DESCR b/vim-nox/DESCR
new file mode 100644
index 0000000..0b7146c
--- /dev/null
+++ b/vim-nox/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. 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 package contains a version of vim compiled with support for scripting
+with Lua, Perl, Python and Ruby but no GUI.
diff --git a/vim-nox/Makefile b/vim-nox/Makefile
new file mode 100644
index 0000000..8df349e
--- /dev/null
+++ b/vim-nox/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.00 2016/12/08 10:14:30 tm Exp $
+
+PKGNAME=		vim-nox-${VIM_VERSION}.${VIM_PATCHLEVEL}
+
+COMMENT=		Vim editor (vi clone) with scripting languages support
+
+PKG_SUGGESTED_OPTIONS+=	ruby python perl lua
+
+.include		"../../editors/vim-share/Makefile.common"
+
+DEPENDS+=		vim-share-${VIM_VERSION}.${VIM_PATCHLEVEL}{,nb*}:../../editors/vim-share
+
+CONFLICTS+=		vim-gtk-[0-9]* vim-gtk2-[0-9]* vim-motif-[0-9]*
+CONFLICTS+=		vim-xaw-[0-9]* vim-kde-[0-9]*
+
+CONFIGURE_ARGS+=	--enable-gui=no --without-x
+CONFIGURE_ARGS+=	--with-tlib=${BUILDLINK_LIBNAME.termcap}
+
+
+BUILD_TARGET=		vim
+INSTALL_TARGET=		installvimbin
+TEST_TARGET=		check
+
+post-install:
+.for f in rvim rview
+	${RM} -f ${DESTDIR}${PREFIX}/bin/${f}
+	${LN} -s vim ${DESTDIR}${PREFIX}/bin/${f}
+.endfor
+
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../mk/termcap.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/vim-nox/PLIST b/vim-nox/PLIST
new file mode 100644
index 0000000..e14acaf
--- /dev/null
+++ b/vim-nox/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.0 2016/12/08 10:14:50 tm Exp $
+bin/rview
+bin/rvim
+bin/vim


Home | Main Index | Thread Index | Old Index