git: 438ca0ec22d3 - main - net/onedrive: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 26 Feb 2024 21:41:25 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=438ca0ec22d3fafb44fb70cfc9fa7149479f5334

commit 438ca0ec22d3fafb44fb70cfc9fa7149479f5334
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-26 21:00:01 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-26 21:40:41 +0000

    net/onedrive: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 net/onedrive/Makefile  | 2 ++
 net/onedrive/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/net/onedrive/Makefile b/net/onedrive/Makefile
index 63a5ad9c93ad..d04c237a0897 100644
--- a/net/onedrive/Makefile
+++ b/net/onedrive/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	onedrive
 DISTVERSIONPREFIX=	v
 DISTVERSION=	2.4.25
+PORTREVISION=	1
 CATEGORIES=	net
 
 MAINTAINER=	hiroo.ono+freebsd@gmail.com
@@ -20,6 +21,7 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	abraunegg
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 
 PORTDOCS=	*
 
diff --git a/net/onedrive/pkg-plist b/net/onedrive/pkg-plist
index ce497d2fd816..f3f1afa575cf 100644
--- a/net/onedrive/pkg-plist
+++ b/net/onedrive/pkg-plist
@@ -1,6 +1,6 @@
 bin/onedrive
 etc/logrotate.d/onedrive
-man/man1/onedrive.1.gz
+share/man/man1/onedrive.1.gz
 %%COMPLETION%%share/bash-completion/completions/onedrive
 %%COMPLETION%%share/zsh/site-functions/_onedrive
 %%COMPLETION%%share/fish/completions/onedrive.fish