svn commit: r496272 - head/editors/neovim

Adam Weinberger adamw at FreeBSD.org
Tue Mar 19 16:26:26 UTC 2019


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 \


More information about the svn-ports-all mailing list