git: 8dd741dab73c - main - editors/neovim: Fix l10n; I committed the wrong Makefile

From: Adam Weinberger <adamw_at_FreeBSD.org>
Date: Wed, 26 Mar 2025 17:16:45 UTC
The branch main has been updated by adamw:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8dd741dab73c8b03d148d1fa32e762dfd1dc852c

commit 8dd741dab73c8b03d148d1fa32e762dfd1dc852c
Author:     Adam Weinberger <adamw@FreeBSD.org>
AuthorDate: 2025-03-26 17:16:41 +0000
Commit:     Adam Weinberger <adamw@FreeBSD.org>
CommitDate: 2025-03-26 17:16:41 +0000

    editors/neovim: Fix l10n; I committed the wrong Makefile
---
 editors/neovim/Makefile  |  2 +-
 editors/neovim/pkg-plist | 30 ++++++++++++++++++++++++++++++
 2 files changed, 31 insertions(+), 1 deletion(-)

diff --git a/editors/neovim/Makefile b/editors/neovim/Makefile
index 5d5a02f7a91e..1f959238ba92 100644
--- a/editors/neovim/Makefile
+++ b/editors/neovim/Makefile
@@ -49,7 +49,7 @@ OPTIONS_SUB=	yes
 
 PYNVIM_DESC=	Enable support for plugins written in python
 
-NLS_CMAKE_BOOL=		ENABLE_LIBINTL
+NLS_CMAKE_BOOL=		ENABLE_LIBINTL ENABLE_TRANSLATIONS
 
 PYNVIM_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pynvim>=0.3.0:editors/py-pynvim@${PY_FLAVOR}
 PYNVIM_USES=		python:run
diff --git a/editors/neovim/pkg-plist b/editors/neovim/pkg-plist
index 8ab74d225827..36525ea74ee0 100644
--- a/editors/neovim/pkg-plist
+++ b/editors/neovim/pkg-plist
@@ -9,3 +9,33 @@ lib/nvim/parser/vimdoc.so
 share/man/man1/nvim.1.gz
 share/applications/nvim.desktop
 share/icons/hicolor/128x128/apps/nvim.png
+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/da/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/tr/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