Add an NLS knob.
PR: 224983 Approved by: Oleh Hushchenkov
This commit is contained in:
parent
9c33e1c605
commit
5fbe90efbb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=458426
@ -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,6 +30,10 @@ 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| ; \
|
||||
@ -37,6 +41,9 @@ post-patch:
|
||||
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
|
||||
@${MKDIR} ${BUILD_WRKSRC}/src/nvim
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user