git: bcee27952892 - main - net/tightvnc: use ${PREFIX}/share/man

From: Dirk Meyer <dinoex_at_FreeBSD.org>
Date: Thu, 11 Jan 2024 17:30:00 UTC
The branch main has been updated by dinoex:

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

commit bcee27952892e59c6bd6bfbef8f19bcfb65d0d5c
Author:     Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2024-01-11 17:29:52 +0000
Commit:     Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2024-01-11 17:29:52 +0000

    net/tightvnc: use ${PREFIX}/share/man
---
 net/tightvnc/Makefile  |  4 ++--
 net/tightvnc/pkg-plist | 10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/net/tightvnc/Makefile b/net/tightvnc/Makefile
index e8f5ff6f4fa3..d6ba0bcfa77f 100644
--- a/net/tightvnc/Makefile
+++ b/net/tightvnc/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	tightvnc
 PORTVERSION=	1.3.10
-PORTREVISION=	8
+PORTREVISION=	9
 CATEGORIES=	net java
 MASTER_SITES=	SF/vnc-tight/TightVNC-unix/${PORTVERSION}
 DISTNAME=	${PORTNAME}-${PORTVERSION}_unixsrc
@@ -67,7 +67,7 @@ post-patch:
 		s|%%CFLAGS%%|${CFLAGS}|g" ${WRKSRC}/Xvnc/config/cf/FreeBSD.cf
 
 do-install:
-	@(cd ${WRKSRC}; ./vncinstall ${STAGEDIR}${PREFIX}/bin ${STAGEDIR}${PREFIX}/man)
+	@(cd ${WRKSRC}; ./vncinstall ${STAGEDIR}${PREFIX}/bin ${STAGEDIR}${PREFIX}/share/man)
 .if defined(STRIP) && ${STRIP} != ""
 .for FILE in Xvnc vncviewer vncpasswd vncconnect
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${FILE}
diff --git a/net/tightvnc/pkg-plist b/net/tightvnc/pkg-plist
index c024c33fa745..77b1b7a97878 100644
--- a/net/tightvnc/pkg-plist
+++ b/net/tightvnc/pkg-plist
@@ -23,8 +23,8 @@ bin/vncviewer
 %%JVNC_VIEWER%%%%DATADIR%%/classes/VncViewer.jar
 %%JVNC_VIEWER%%%%DATADIR%%/classes/ZlibInStream.class
 %%JVNC_VIEWER%%%%DATADIR%%/classes/index.vnc
-man/man1/Xvnc.1.gz
-man/man1/vncconnect.1.gz
-man/man1/vncpasswd.1.gz
-man/man1/vncserver.1.gz
-man/man1/vncviewer.1.gz
+share/man/man1/Xvnc.1.gz
+share/man/man1/vncconnect.1.gz
+share/man/man1/vncpasswd.1.gz
+share/man/man1/vncserver.1.gz
+share/man/man1/vncviewer.1.gz