git: d5ede9d92dee - main - net/tsclient: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 25 Feb 2024 10:32:56 UTC
The branch main has been updated by bofh:

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

commit d5ede9d92dee838eca5bce76e59f1da15a4ce508
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-25 10:28:29 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-25 10:31:50 +0000

    net/tsclient: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 net/tsclient/Makefile  | 7 ++-----
 net/tsclient/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/net/tsclient/Makefile b/net/tsclient/Makefile
index 261ccb1bc513..51246c41f470 100644
--- a/net/tsclient/Makefile
+++ b/net/tsclient/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	tsclient
 PORTVERSION=	0.150
-PORTREVISION=	12
+PORTREVISION=	13
 CATEGORIES=	net gnome
 MASTER_SITES=	SF
 
@@ -13,6 +13,7 @@ RUN_DEPENDS=	rdesktop:net/rdesktop
 USES=		gettext gmake gnome libtool pathfix pkgconfig
 USE_GNOME=	gtk20 intltool
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ARGS=	--disable-gnome
 CPPFLAGS+=	-I${LOCALBASE}/include
 LIBS+=		-L${LOCALBASE}/lib
@@ -35,10 +36,6 @@ RUN_DEPENDS+=	Xnest:x11-servers/xorg-server@xnest
 
 .include <bsd.port.pre.mk>
 
-post-patch:
-	@${REINPLACE_CMD} -e '/^man1dir *=/ s,datadir,prefix,g' \
-		${WRKSRC}/Makefile.in
-
 post-install:
 	@${LN} -sf tsclient/tsclient.png \
 		${STAGEDIR}${PREFIX}/share/pixmaps/tsclient.png
diff --git a/net/tsclient/pkg-plist b/net/tsclient/pkg-plist
index b2a873ff4250..7806152d11a3 100644
--- a/net/tsclient/pkg-plist
+++ b/net/tsclient/pkg-plist
@@ -1,7 +1,7 @@
 bin/tsclient
 libdata/bonobo/servers/GNOME_TSClientApplet.server
 libexec/tsclient-applet
-man/man1/tsclient.1.gz
+share/man/man1/tsclient.1.gz
 share/application-registry/tsclient.applications
 share/applications/tsclient.desktop
 share/locale/ar/LC_MESSAGES/tsclient.mo