git: 4433bd818e11 - main - editors/neovim: Sanitize MANPREFIX
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 16 Jan 2024 11:58:17 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4433bd818e117bcdf2a93e20f361a3c942cec901
commit 4433bd818e117bcdf2a93e20f361a3c942cec901
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-16 10:24:22 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-16 11:57:58 +0000
editors/neovim: Sanitize MANPREFIX
Approved by: portmgr (blanket)
---
editors/neovim/Makefile | 3 ++-
editors/neovim/pkg-plist | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/editors/neovim/Makefile b/editors/neovim/Makefile
index 7e2cffcb03e3..c48981a236a5 100644
--- a/editors/neovim/Makefile
+++ b/editors/neovim/Makefile
@@ -1,6 +1,7 @@
PORTNAME= neovim
DISTVERSIONPREFIX= v
DISTVERSION= 0.9.5
+PORTREVISION= 1
CATEGORIES= editors
MAINTAINER= adamw@FreeBSD.org
@@ -27,7 +28,7 @@ GH_TUPLE= libmpack:libmpack:1.0.5:libmpack \
PORTSCOUT= limit:^[0-9\.v]+$$
CMAKE_ARGS= -DLUA_PRG:FILEPATH="${LUA_CMD}" \
- -DCMAKE_INSTALL_MANDIR:PATH="${MANPREFIX}/man" \
+ -DCMAKE_INSTALL_MANDIR:PATH="${PREFIX}/share/man" \
-DDEPS_PREFIX:PATH="${LOCALBASE}"
CFLAGS+= -I${LOCALBASE}/include
diff --git a/editors/neovim/pkg-plist b/editors/neovim/pkg-plist
index 81c6f78cc5b7..4a26bab98363 100644
--- a/editors/neovim/pkg-plist
+++ b/editors/neovim/pkg-plist
@@ -1,5 +1,5 @@
bin/nvim
-man/man1/nvim.1.gz
+share/man/man1/nvim.1.gz
share/applications/nvim.desktop
share/icons/hicolor/128x128/apps/nvim.png
%%NLS%%share/locale/af/LC_MESSAGES/nvim.mo