git: bf66930408c2 - main - security/openfortivpn: Move man pages to share/man

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Tue, 05 Mar 2024 23:39:57 UTC
The branch main has been updated by vvd:

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

commit bf66930408c2346412c48c0f95570a3264ba5e1e
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2024-03-05 23:15:26 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-03-05 23:35:48 +0000

    security/openfortivpn: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 security/openfortivpn/Makefile  | 1 +
 security/openfortivpn/pkg-plist | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/security/openfortivpn/Makefile b/security/openfortivpn/Makefile
index c6937f6ade8c..6291be16f2d0 100644
--- a/security/openfortivpn/Makefile
+++ b/security/openfortivpn/Makefile
@@ -18,6 +18,7 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	adrienverge
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 CONFIGURE_ENV=	ac_cv_path_SED=${LOCALBASE}/bin/gsed \
 		OPENSSL_CFLAGS=${OPENSSLINC} \
 		OPENSSL_LIBS="-lssl -lcrypto"
diff --git a/security/openfortivpn/pkg-plist b/security/openfortivpn/pkg-plist
index 77ec42cd362c..ba065b9ef49e 100644
--- a/security/openfortivpn/pkg-plist
+++ b/security/openfortivpn/pkg-plist
@@ -1,4 +1,4 @@
 bin/openfortivpn
-man/man1/openfortivpn.1.gz
+share/man/man1/openfortivpn.1.gz
 @dir %%ETCDIR%%
 @sample %%DATADIR%%/config.template %%ETCDIR%%/config