git: 9ee556a1846b - main - ftp/sftpgo: Move manpages to share/man

From: Renato Botelho <garga_at_FreeBSD.org>
Date: Thu, 18 Jan 2024 18:19:39 UTC
The branch main has been updated by garga:

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

commit 9ee556a1846b3f85d7ee32c8fdeee1bbc523f831
Author:     Renato Botelho <garga@FreeBSD.org>
AuthorDate: 2024-01-18 18:13:26 +0000
Commit:     Renato Botelho <garga@FreeBSD.org>
CommitDate: 2024-01-18 18:19:34 +0000

    ftp/sftpgo: Move manpages to share/man
    
    Approved by:    portmgr (blanket)
---
 ftp/sftpgo/Makefile  |  3 ++-
 ftp/sftpgo/pkg-plist | 38 +++++++++++++++++++-------------------
 2 files changed, 21 insertions(+), 20 deletions(-)

diff --git a/ftp/sftpgo/Makefile b/ftp/sftpgo/Makefile
index 633f0cde5074..54e1d3008eb3 100644
--- a/ftp/sftpgo/Makefile
+++ b/ftp/sftpgo/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	sftpgo
 PORTVERSION=	2.5.5
+PORTREVISION=	1
 CATEGORIES=	ftp www
 MASTER_SITES=	https://github.com/drakkan/${PORTNAME}/releases/download/v${DISTVERSION}/
 DISTNAME=	${PORTNAME}_v${PORTVERSION}_src_with_deps
@@ -62,6 +63,6 @@ post-install-ZSH-on:
 	${INSTALL_DATA} ${WRKDIR}/zsh_completions ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_${PORTNAME}
 
 post-install-MANPAGES-on:
-	${FIND} ${WRKDIR}/manpages -type f -execdir ${INSTALL_MAN} {} ${STAGEDIR}${MANPREFIX}/man/man1 \;
+	${FIND} ${WRKDIR}/manpages -type f -execdir ${INSTALL_MAN} {} ${STAGEDIR}${PREFIX}/share/man/man1 \;
 
 .include <bsd.port.mk>
diff --git a/ftp/sftpgo/pkg-plist b/ftp/sftpgo/pkg-plist
index 6b9aff093005..7c19e736487b 100644
--- a/ftp/sftpgo/pkg-plist
+++ b/ftp/sftpgo/pkg-plist
@@ -1,25 +1,25 @@
 bin/sftpgo
 %%BASH%%etc/bash_completion.d/sftpgo
 @sample etc/sftpgo.json.sample
-%%MANPAGES%%man/man1/sftpgo-acme-run.1.gz
-%%MANPAGES%%man/man1/sftpgo-acme.1.gz
-%%MANPAGES%%man/man1/sftpgo-gen-completion-bash.1.gz
-%%MANPAGES%%man/man1/sftpgo-gen-completion-fish.1.gz
-%%MANPAGES%%man/man1/sftpgo-gen-completion-powershell.1.gz
-%%MANPAGES%%man/man1/sftpgo-gen-completion-zsh.1.gz
-%%MANPAGES%%man/man1/sftpgo-gen-completion.1.gz
-%%MANPAGES%%man/man1/sftpgo-gen-man.1.gz
-%%MANPAGES%%man/man1/sftpgo-gen.1.gz
-%%MANPAGES%%man/man1/sftpgo-initprovider.1.gz
-%%MANPAGES%%man/man1/sftpgo-ping.1.gz
-%%MANPAGES%%man/man1/sftpgo-portable.1.gz
-%%MANPAGES%%man/man1/sftpgo-resetpwd.1.gz
-%%MANPAGES%%man/man1/sftpgo-resetprovider.1.gz
-%%MANPAGES%%man/man1/sftpgo-revertprovider.1.gz
-%%MANPAGES%%man/man1/sftpgo-serve.1.gz
-%%MANPAGES%%man/man1/sftpgo-smtptest.1.gz
-%%MANPAGES%%man/man1/sftpgo-startsubsys.1.gz
-%%MANPAGES%%man/man1/sftpgo.1.gz
+%%MANPAGES%%share/man/man1/sftpgo-acme-run.1.gz
+%%MANPAGES%%share/man/man1/sftpgo-acme.1.gz
+%%MANPAGES%%share/man/man1/sftpgo-gen-completion-bash.1.gz
+%%MANPAGES%%share/man/man1/sftpgo-gen-completion-fish.1.gz
+%%MANPAGES%%share/man/man1/sftpgo-gen-completion-powershell.1.gz
+%%MANPAGES%%share/man/man1/sftpgo-gen-completion-zsh.1.gz
+%%MANPAGES%%share/man/man1/sftpgo-gen-completion.1.gz
+%%MANPAGES%%share/man/man1/sftpgo-gen-man.1.gz
+%%MANPAGES%%share/man/man1/sftpgo-gen.1.gz
+%%MANPAGES%%share/man/man1/sftpgo-initprovider.1.gz
+%%MANPAGES%%share/man/man1/sftpgo-ping.1.gz
+%%MANPAGES%%share/man/man1/sftpgo-portable.1.gz
+%%MANPAGES%%share/man/man1/sftpgo-resetpwd.1.gz
+%%MANPAGES%%share/man/man1/sftpgo-resetprovider.1.gz
+%%MANPAGES%%share/man/man1/sftpgo-revertprovider.1.gz
+%%MANPAGES%%share/man/man1/sftpgo-serve.1.gz
+%%MANPAGES%%share/man/man1/sftpgo-smtptest.1.gz
+%%MANPAGES%%share/man/man1/sftpgo-startsubsys.1.gz
+%%MANPAGES%%share/man/man1/sftpgo.1.gz
 %%FISH%%share/fish/completions/sftpgo.fish
 %%DATADIR%%/static/css/sb-admin-2.min.css
 %%DATADIR%%/static/favicon.ico