Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Mar 2019 16:26:25 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r496272 - head/editors/neovim
Message-ID:  <201903191626.x2JGQPtp019895@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Tue Mar 19 16:26:25 2019
New Revision: 496272
URL: https://svnweb.freebsd.org/changeset/ports/496272

Log:
  Add PYNVIM option
  
  PYNVIM installs the py-pynvim port. This enables support for nvim
  plugins written in python. It is NOT required for editing or debugging
  python scripts---that support is already included in neovim.

Modified:
  head/editors/neovim/Makefile

Modified: head/editors/neovim/Makefile
==============================================================================
--- head/editors/neovim/Makefile	Tue Mar 19 16:24:17 2019	(r496271)
+++ head/editors/neovim/Makefile	Tue Mar 19 16:26:25 2019	(r496272)
@@ -34,10 +34,13 @@ CMAKE_ARGS=	-DLUA_PRG:FILEPATH="${LUA_CMD}" \
 		-DCMAKE_INSTALL_MANDIR:PATH="${MANPREFIX}/man" \
 		-DDEPS_PREFIX:PATH="${LOCALBASE}"
 
-OPTIONS_DEFINE=	NLS
+OPTIONS_DEFINE=	NLS PYNVIM
 OPTIONS_SUB=	yes
 NLS_CMAKE_BOOL=	ENABLE_LIBINTL
 NLS_USES=	gettext
+PYNVIM_DESC=	Enable support for plugins written in python
+PYNVIM_USES=	python:run
+PYNVIM_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pynvim>=0.3.0:editors/py-pynvim
 
 post-patch:
 	@${REINPLACE_CMD} -e \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903191626.x2JGQPtp019895>