Lines 3-8
Link Here
|
3 |
PORTNAME= neovim |
3 |
PORTNAME= neovim |
4 |
DISTVERSIONPREFIX= v |
4 |
DISTVERSIONPREFIX= v |
5 |
DISTVERSION= 0.5.0 |
5 |
DISTVERSION= 0.5.0 |
|
|
6 |
PORTREVISION= 1 |
6 |
CATEGORIES= editors |
7 |
CATEGORIES= editors |
7 |
|
8 |
|
8 |
MAINTAINER= adamw@FreeBSD.org |
9 |
MAINTAINER= adamw@FreeBSD.org |
Lines 13-19
LICENSE= APACHE20
Link Here
|
13 |
BUILD_DEPENDS= gperf:devel/gperf \ |
14 |
BUILD_DEPENDS= gperf:devel/gperf \ |
14 |
${LUA_MODLIBDIR}/bit.so:devel/lua-bitop@${LUA_FLAVOR} \ |
15 |
${LUA_MODLIBDIR}/bit.so:devel/lua-bitop@${LUA_FLAVOR} \ |
15 |
${LUA_MODLIBDIR}/lpeg.so:devel/lua-lpeg@${LUA_FLAVOR} |
16 |
${LUA_MODLIBDIR}/lpeg.so:devel/lua-lpeg@${LUA_FLAVOR} |
16 |
LIB_DEPENDS= libluv.so:devel/luv \ |
17 |
LIB_DEPENDS= libluajit-5.1.so:lang/luajit-openresty \ |
|
|
18 |
libluv.so:devel/luv \ |
17 |
libmsgpackc.so:devel/msgpack \ |
19 |
libmsgpackc.so:devel/msgpack \ |
18 |
libtermkey.so:devel/libtermkey \ |
20 |
libtermkey.so:devel/libtermkey \ |
19 |
libtree-sitter.so:devel/tree-sitter \ |
21 |
libtree-sitter.so:devel/tree-sitter \ |
Lines 25-31
TEST_DEPENDS= autoconf>=0:devel/autoconf \
Link Here
|
25 |
gmake:devel/gmake \ |
27 |
gmake:devel/gmake \ |
26 |
libtool:devel/libtool |
28 |
libtool:devel/libtool |
27 |
|
29 |
|
28 |
USES= cmake iconv pathfix pkgconfig |
30 |
USES= cmake iconv lua:build pathfix pkgconfig |
29 |
USE_GITHUB= yes |
31 |
USE_GITHUB= yes |
30 |
GH_TUPLE= libmpack:libmpack:1.0.5:libmpack \ |
32 |
GH_TUPLE= libmpack:libmpack:1.0.5:libmpack \ |
31 |
libmpack:libmpack-lua:1.0.7:libmpack_lua |
33 |
libmpack:libmpack-lua:1.0.7:libmpack_lua |
Lines 38-60
CMAKE_ARGS= -DLUA_PRG:FILEPATH="${LUA_CMD}" \
Link Here
|
38 |
DATADIR= ${PREFIX}/share/nvim |
40 |
DATADIR= ${PREFIX}/share/nvim |
39 |
PORTDATA= runtime |
41 |
PORTDATA= runtime |
40 |
|
42 |
|
41 |
OPTIONS_DEFINE= LUAJIT NLS PYNVIM |
43 |
OPTIONS_DEFINE= NLS PYNVIM |
42 |
OPTIONS_DEFAULT=LUAJIT |
|
|
43 |
OPTIONS_EXCLUDE_aarch64=LUAJIT |
44 |
OPTIONS_EXCLUDE_mips64= LUAJIT |
45 |
OPTIONS_EXCLUDE_powerpc=LUAJIT |
46 |
OPTIONS_EXCLUDE_riscv= LUAJIT |
47 |
OPTIONS_EXCLUDE_riscv64=LUAJIT |
48 |
OPTIONS_EXCLUDE_sparc64=LUAJIT |
49 |
OPTIONS_SUB= yes |
44 |
OPTIONS_SUB= yes |
50 |
|
45 |
|
51 |
LUAJIT_DESC= Use LuaJIT for faster Lua code |
|
|
52 |
PYNVIM_DESC= Enable support for plugins written in python |
46 |
PYNVIM_DESC= Enable support for plugins written in python |
53 |
|
47 |
|
54 |
LUAJIT_CMAKE_OFF= -DPREFER_LUA:BOOL="ON" |
|
|
55 |
LUAJIT_LIB_DEPENDS= libluajit-5.1.so:lang/luajit |
56 |
LUAJIT_USES= lua:build |
57 |
LUAJIT_USES_OFF= lua:52 |
58 |
NLS_CMAKE_BOOL= ENABLE_LIBINTL |
48 |
NLS_CMAKE_BOOL= ENABLE_LIBINTL |
59 |
NLS_USES= gettext |
49 |
NLS_USES= gettext |
60 |
PYNVIM_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pynvim>=0.3.0:editors/py-pynvim@${PY_FLAVOR} |
50 |
PYNVIM_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pynvim>=0.3.0:editors/py-pynvim@${PY_FLAVOR} |
Lines 63-69
PYNVIM_USES= python:run
Link Here
|
63 |
.include <bsd.port.options.mk> |
53 |
.include <bsd.port.options.mk> |
64 |
|
54 |
|
65 |
.if ${ARCH:Mpowerpc64*} |
55 |
.if ${ARCH:Mpowerpc64*} |
66 |
LUAJIT_LIB_DEPENDS= libluajit-5.1.so:lang/luajit-openresty |
|
|
67 |
USES+= compiler:gcc-c++11-lib |
56 |
USES+= compiler:gcc-c++11-lib |
68 |
.endif |
57 |
.endif |
69 |
|
58 |
|