Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 May 2016 13:43:03 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r414846 - in head/editors/neovim: . files
Message-ID:  <201605091343.u49Dh3kH085860@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Mon May  9 13:43:03 2016
New Revision: 414846
URL: https://svnweb.freebsd.org/changeset/ports/414846

Log:
  Update to 0.1.4.
  
  PR:		209294
  Submitted by:	tkato432 yahoo com
  Sponsored by:	Absolight

Modified:
  head/editors/neovim/Makefile   (contents, props changed)
  head/editors/neovim/distinfo   (contents, props changed)
  head/editors/neovim/files/patch-CMakeLists.txt   (contents, props changed)
  head/editors/neovim/pkg-plist   (contents, props changed)

Modified: head/editors/neovim/Makefile
==============================================================================
--- head/editors/neovim/Makefile	Mon May  9 13:42:58 2016	(r414845)
+++ head/editors/neovim/Makefile	Mon May  9 13:43:03 2016	(r414846)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	neovim
-PORTVERSION=	0.1.3
+PORTVERSION=	0.1.4
 DISTVERSIONPREFIX=	v
 CATEGORIES=	editors
 
@@ -11,8 +11,7 @@ COMMENT=	Next generation Vim
 
 LICENSE=	APACHE20
 
-BUILD_DEPENDS=	${LUA_MODSHAREDIR}/MessagePack.lua:devel/lua-MessagePack \
-		${LUA_MODLIBDIR}/bit.so:devel/lua-bitop \
+BUILD_DEPENDS=	${LUA_MODLIBDIR}/bit.so:devel/lua-bitop \
 		${LUA_MODLIBDIR}/lpeg.so:devel/lua-lpeg
 LIB_DEPENDS=	libunibilium.so:devel/unibilium \
 		libvterm.so:devel/libvterm \
@@ -21,11 +20,26 @@ LIB_DEPENDS=	libunibilium.so:devel/unibi
 		libuv.so:devel/libuv \
 		libmsgpack.so:devel/msgpack
 
-USES=		cmake:outsource compiler gettext iconv lua pathfix pkgconfig
+USES=		cmake:outsource gettext iconv ninja lua:build pathfix pkgconfig
 USE_GITHUB=	yes
+GH_TUPLE=	tarruda:libmpack:1.0.2:libmpack
 
 CMAKE_ARGS=	-DLUA_PRG:FILEPATH="${LUA_CMD}" \
 		-DCMAKE_INSTALL_MANDIR:PATH="${MANPREFIX}/man" \
 		-DDEPS_PREFIX:PATH="${LOCALBASE}"
 
+post-patch:
+	@${REINPLACE_CMD} -e \
+		's|lua_objlen|lua_rawlen| ; \
+		 s|luaL_reg |luaL_Reg | ; \
+		 s|luaL_register(L, NULL, \(.*\));|luaL_setfuncs(L, \1, 0);|' \
+		${WRKSRC_libmpack}/binding/lua/lmpack.c
+
+pre-build:
+	@${MKDIR} ${BUILD_WRKSRC}/src/nvim
+	@(cd ${WRKSRC_libmpack}/binding/lua && ${CC} ${CFLAGS} -fPIC \
+		-I${LUA_INCDIR} -shared lmpack.c -o \
+		${BUILD_WRKSRC}/src/nvim/mpack.so \
+		${LUA_LIBDIR}/liblua-${LUA_VER}.so)
+
 .include <bsd.port.mk>

Modified: head/editors/neovim/distinfo
==============================================================================
--- head/editors/neovim/distinfo	Mon May  9 13:42:58 2016	(r414845)
+++ head/editors/neovim/distinfo	Mon May  9 13:43:03 2016	(r414846)
@@ -1,2 +1,4 @@
-SHA256 (neovim-neovim-v0.1.3_GH0.tar.gz) = 7a86892d941b8829537ad46864b9a363d009ba56aeefdef2ee15ffa3eee5f92b
-SIZE (neovim-neovim-v0.1.3_GH0.tar.gz) = 7636777
+SHA256 (neovim-neovim-v0.1.4_GH0.tar.gz) = bb7e359eb83db20c5ec5984b470b249372b6dcd813ae2ccf72c01cce560f93e9
+SIZE (neovim-neovim-v0.1.4_GH0.tar.gz) = 7678847
+SHA256 (tarruda-libmpack-1.0.2_GH0.tar.gz) = 9c570b2aab81b0c56d97cbd8fc483dc431b69510fd9becb4a1845291563e8bc9
+SIZE (tarruda-libmpack-1.0.2_GH0.tar.gz) = 44671

Modified: head/editors/neovim/files/patch-CMakeLists.txt
==============================================================================
--- head/editors/neovim/files/patch-CMakeLists.txt	Mon May  9 13:42:58 2016	(r414845)
+++ head/editors/neovim/files/patch-CMakeLists.txt	Mon May  9 13:43:03 2016	(r414846)
@@ -1,4 +1,4 @@
---- CMakeLists.txt.orig	2016-04-08 02:04:21 UTC
+--- CMakeLists.txt.orig	2016-05-09 13:04:04 UTC
 +++ CMakeLists.txt
 @@ -213,7 +213,7 @@ else()
  
@@ -9,3 +9,12 @@
      add_definitions(-Wno-c11-extensions)
    endif()
  endif()
+@@ -367,7 +367,7 @@ endforeach()
+ 
+ # Find Lua interpreter
+ include(LuaHelpers)
+-set(LUA_DEPENDENCIES lpeg mpack bit)
++set(LUA_DEPENDENCIES lpeg bit)
+ if(NOT LUA_PRG)
+   foreach(CURRENT_LUA_PRG luajit lua)
+     # If LUA_PRG is set find_program() will not search

Modified: head/editors/neovim/pkg-plist
==============================================================================
--- head/editors/neovim/pkg-plist	Mon May  9 13:42:58 2016	(r414845)
+++ head/editors/neovim/pkg-plist	Mon May  9 13:43:03 2016	(r414846)
@@ -300,6 +300,7 @@ share/nvim/runtime/ftplugin/automake.vim
 share/nvim/runtime/ftplugin/bdf.vim
 share/nvim/runtime/ftplugin/bst.vim
 share/nvim/runtime/ftplugin/btm.vim
+share/nvim/runtime/ftplugin/bzl.vim
 share/nvim/runtime/ftplugin/c.vim
 share/nvim/runtime/ftplugin/calendar.vim
 share/nvim/runtime/ftplugin/cdrdaoconf.vim
@@ -456,6 +457,7 @@ share/nvim/runtime/ftplugin/sshconfig.vi
 share/nvim/runtime/ftplugin/sudoers.vim
 share/nvim/runtime/ftplugin/svg.vim
 share/nvim/runtime/ftplugin/sysctl.vim
+share/nvim/runtime/ftplugin/systemd.vim
 share/nvim/runtime/ftplugin/systemverilog.vim
 share/nvim/runtime/ftplugin/tcl.vim
 share/nvim/runtime/ftplugin/tcsh.vim
@@ -495,6 +497,7 @@ share/nvim/runtime/indent/automake.vim
 share/nvim/runtime/indent/awk.vim
 share/nvim/runtime/indent/bib.vim
 share/nvim/runtime/indent/bst.vim
+share/nvim/runtime/indent/bzl.vim
 share/nvim/runtime/indent/c.vim
 share/nvim/runtime/indent/cdl.vim
 share/nvim/runtime/indent/ch.vim
@@ -578,9 +581,11 @@ share/nvim/runtime/indent/sh.vim
 share/nvim/runtime/indent/sml.vim
 share/nvim/runtime/indent/sql.vim
 share/nvim/runtime/indent/sqlanywhere.vim
+share/nvim/runtime/indent/systemd.vim
 share/nvim/runtime/indent/systemverilog.vim
 share/nvim/runtime/indent/tcl.vim
 share/nvim/runtime/indent/tcsh.vim
+share/nvim/runtime/indent/teraterm.vim
 share/nvim/runtime/indent/tex.vim
 share/nvim/runtime/indent/tf.vim
 share/nvim/runtime/indent/tilde.vim
@@ -776,6 +781,7 @@ share/nvim/runtime/syntax/bindzone.vim
 share/nvim/runtime/syntax/blank.vim
 share/nvim/runtime/syntax/bst.vim
 share/nvim/runtime/syntax/btm.vim
+share/nvim/runtime/syntax/bzl.vim
 share/nvim/runtime/syntax/bzr.vim
 share/nvim/runtime/syntax/c.vim
 share/nvim/runtime/syntax/cabal.vim
@@ -1219,6 +1225,7 @@ share/nvim/runtime/syntax/syncolor.vim
 share/nvim/runtime/syntax/synload.vim
 share/nvim/runtime/syntax/syntax.vim
 share/nvim/runtime/syntax/sysctl.vim
+share/nvim/runtime/syntax/systemd.vim
 share/nvim/runtime/syntax/systemverilog.vim
 share/nvim/runtime/syntax/tads.vim
 share/nvim/runtime/syntax/tags.vim
@@ -1231,6 +1238,7 @@ share/nvim/runtime/syntax/taskedit.vim
 share/nvim/runtime/syntax/tasm.vim
 share/nvim/runtime/syntax/tcl.vim
 share/nvim/runtime/syntax/tcsh.vim
+share/nvim/runtime/syntax/teraterm.vim
 share/nvim/runtime/syntax/terminfo.vim
 share/nvim/runtime/syntax/tex.vim
 share/nvim/runtime/syntax/texinfo.vim



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