Date: Mon, 8 Jan 2018 15:10:37 +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: r458426 - head/editors/neovim Message-ID: <201801081510.w08FAb4H036840@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adamw Date: Mon Jan 8 15:10:36 2018 New Revision: 458426 URL: https://svnweb.freebsd.org/changeset/ports/458426 Log: Add an NLS knob. PR: 224983 Approved by: Oleh Hushchenkov Modified: head/editors/neovim/Makefile head/editors/neovim/pkg-plist Modified: head/editors/neovim/Makefile ============================================================================== --- head/editors/neovim/Makefile Mon Jan 8 14:56:11 2018 (r458425) +++ head/editors/neovim/Makefile Mon Jan 8 15:10:36 2018 (r458426) @@ -21,7 +21,7 @@ LIB_DEPENDS= libunibilium.so:devel/unibilium \ libuv.so:devel/libuv \ libmsgpackc.so:devel/msgpack -USES= cmake:outsource gettext iconv lua:build pathfix pkgconfig +USES= cmake:outsource iconv lua:build pathfix pkgconfig USE_GITHUB= yes GH_TUPLE= libmpack:libmpack:1.0.5:libmpack \ libmpack:libmpack-lua:1.0.6:libmpack_lua @@ -30,12 +30,19 @@ CMAKE_ARGS= -DLUA_PRG:FILEPATH="${LUA_CMD}" \ -DCMAKE_INSTALL_MANDIR:PATH="${MANPREFIX}/man" \ -DDEPS_PREFIX:PATH="${LOCALBASE}" +OPTIONS_DEFINE= NLS +OPTIONS_SUB= yes +NLS_USES= gettext + 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_lua}/lmpack.c + +post-patch-NLS-off: + @${REINPLACE_CMD} -e '/find_package(LibIntl)/ d' ${WRKSRC}/CMakeLists.txt pre-build: @${LN} -s ${WRKSRC_libmpack} ${WRKSRC_libmpack_lua}/mpack-src Modified: head/editors/neovim/pkg-plist ============================================================================== --- head/editors/neovim/pkg-plist Mon Jan 8 14:56:11 2018 (r458425) +++ head/editors/neovim/pkg-plist Mon Jan 8 15:10:36 2018 (r458426) @@ -1,34 +1,34 @@ bin/nvim man/man1/nvim.1.gz share/applications/nvim.desktop -share/locale/af/LC_MESSAGES/nvim.mo -share/locale/ca/LC_MESSAGES/nvim.mo -share/locale/cs.cp1250/LC_MESSAGES/nvim.mo -share/locale/cs/LC_MESSAGES/nvim.mo -share/locale/de/LC_MESSAGES/nvim.mo -share/locale/en_GB/LC_MESSAGES/nvim.mo -share/locale/eo/LC_MESSAGES/nvim.mo -share/locale/es/LC_MESSAGES/nvim.mo -share/locale/fi/LC_MESSAGES/nvim.mo -share/locale/fr/LC_MESSAGES/nvim.mo -share/locale/ga/LC_MESSAGES/nvim.mo -share/locale/it/LC_MESSAGES/nvim.mo -share/locale/ja.euc-jp/LC_MESSAGES/nvim.mo -share/locale/ja/LC_MESSAGES/nvim.mo -share/locale/ko.UTF-8/LC_MESSAGES/nvim.mo -share/locale/nb/LC_MESSAGES/nvim.mo -share/locale/nl/LC_MESSAGES/nvim.mo -share/locale/no/LC_MESSAGES/nvim.mo -share/locale/pl.UTF-8/LC_MESSAGES/nvim.mo -share/locale/pt_BR/LC_MESSAGES/nvim.mo -share/locale/ru/LC_MESSAGES/nvim.mo -share/locale/sk.cp1250/LC_MESSAGES/nvim.mo -share/locale/sk/LC_MESSAGES/nvim.mo -share/locale/sv/LC_MESSAGES/nvim.mo -share/locale/uk/LC_MESSAGES/nvim.mo -share/locale/vi/LC_MESSAGES/nvim.mo -share/locale/zh_CN.UTF-8/LC_MESSAGES/nvim.mo -share/locale/zh_TW.UTF-8/LC_MESSAGES/nvim.mo +%%NLS%%share/locale/af/LC_MESSAGES/nvim.mo +%%NLS%%share/locale/ca/LC_MESSAGES/nvim.mo +%%NLS%%share/locale/cs.cp1250/LC_MESSAGES/nvim.mo +%%NLS%%share/locale/cs/LC_MESSAGES/nvim.mo +%%NLS%%share/locale/de/LC_MESSAGES/nvim.mo +%%NLS%%share/locale/en_GB/LC_MESSAGES/nvim.mo +%%NLS%%share/locale/eo/LC_MESSAGES/nvim.mo +%%NLS%%share/locale/es/LC_MESSAGES/nvim.mo +%%NLS%%share/locale/fi/LC_MESSAGES/nvim.mo +%%NLS%%share/locale/fr/LC_MESSAGES/nvim.mo +%%NLS%%share/locale/ga/LC_MESSAGES/nvim.mo +%%NLS%%share/locale/it/LC_MESSAGES/nvim.mo +%%NLS%%share/locale/ja.euc-jp/LC_MESSAGES/nvim.mo +%%NLS%%share/locale/ja/LC_MESSAGES/nvim.mo +%%NLS%%share/locale/ko.UTF-8/LC_MESSAGES/nvim.mo +%%NLS%%share/locale/nb/LC_MESSAGES/nvim.mo +%%NLS%%share/locale/nl/LC_MESSAGES/nvim.mo +%%NLS%%share/locale/no/LC_MESSAGES/nvim.mo +%%NLS%%share/locale/pl.UTF-8/LC_MESSAGES/nvim.mo +%%NLS%%share/locale/pt_BR/LC_MESSAGES/nvim.mo +%%NLS%%share/locale/ru/LC_MESSAGES/nvim.mo +%%NLS%%share/locale/sk.cp1250/LC_MESSAGES/nvim.mo +%%NLS%%share/locale/sk/LC_MESSAGES/nvim.mo +%%NLS%%share/locale/sv/LC_MESSAGES/nvim.mo +%%NLS%%share/locale/uk/LC_MESSAGES/nvim.mo +%%NLS%%share/locale/vi/LC_MESSAGES/nvim.mo +%%NLS%%share/locale/zh_CN.UTF-8/LC_MESSAGES/nvim.mo +%%NLS%%share/locale/zh_TW.UTF-8/LC_MESSAGES/nvim.mo share/nvim/runtime/autoload/ada.vim share/nvim/runtime/autoload/adacomplete.vim share/nvim/runtime/autoload/ccomplete.vim
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801081510.w08FAb4H036840>