git: e847aa6de982 - main - net/guacamole-server: Move man pages to share/man

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Wed, 20 Mar 2024 17:15:18 UTC
The branch main has been updated by eduardo:

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

commit e847aa6de9820bc5b06f2ae7216d36221c77fbf6
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-20 14:51:07 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-20 17:15:02 +0000

    net/guacamole-server: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 net/guacamole-server/Makefile  | 2 ++
 net/guacamole-server/pkg-plist | 8 ++++----
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/net/guacamole-server/Makefile b/net/guacamole-server/Makefile
index a535326b108f..d7da49121b4a 100644
--- a/net/guacamole-server/Makefile
+++ b/net/guacamole-server/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	guacamole-server
 DISTVERSION=	1.5.4
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	APACHE/guacamole/${DISTVERSION}/source/
 
@@ -27,6 +28,7 @@ USE_RC_SUBR=	guacd
 SHEBANG_FILES=	${WRKSRC}/src/protocols/rdp/keymaps/generate.pl
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 CONFIGURE_ARGS=	--with-guacd-conf=${ETCDIR}/guacd.conf
 INSTALL_TARGET=	install-strip
 CFLAGS+=	-Wno-error=newline-eof
diff --git a/net/guacamole-server/pkg-plist b/net/guacamole-server/pkg-plist
index 7c95757c7ff5..5cf72710b626 100644
--- a/net/guacamole-server/pkg-plist
+++ b/net/guacamole-server/pkg-plist
@@ -77,9 +77,9 @@ lib/libguac-terminal.a
 lib/libguac-terminal.so
 lib/libguac-terminal.so.0
 lib/libguac-terminal.so.0.1.0
-%%GUACENC%%man/man1/guacenc.1.gz
-%%GUACLOG%%man/man1/guaclog.1.gz
-man/man5/guacd.conf.5.gz
-man/man8/guacd.8.gz
+%%GUACENC%%share/man/man1/guacenc.1.gz
+%%GUACLOG%%share/man/man1/guaclog.1.gz
+share/man/man5/guacd.conf.5.gz
+share/man/man8/guacd.8.gz
 sbin/guacd
 @dir(%%GUACD_USER%%,%%GUACD_GROUP%%,) %%GUACD_HOME%%