git: e32b86864523 - main - cad/tkgate: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Thu, 22 Feb 2024 13:24:24 UTC
The branch main has been updated by bofh:

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

commit e32b86864523e113c1779765f870e3290c1130c2
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-22 13:22:49 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-22 13:23:56 +0000

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

diff --git a/cad/tkgate/Makefile b/cad/tkgate/Makefile
index f7a1e894251a..6c6fd3717045 100644
--- a/cad/tkgate/Makefile
+++ b/cad/tkgate/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	tkgate
 PORTVERSION=	2.1
+PORTREVISION=	1
 CATEGORIES=	cad
 MASTER_SITES=	http://cdn.bitbucket.org/starling13/tkgate/downloads/
 
@@ -19,6 +20,7 @@ USE_XORG=	x11 xft
 USE_GNOME=	pango
 OPTIONS_DEFINE=	DOCS
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 
 post-patch:
 	@${REINPLACE_CMD} -e \
diff --git a/cad/tkgate/pkg-plist b/cad/tkgate/pkg-plist
index 2051533011bb..adc4811a2ac7 100644
--- a/cad/tkgate/pkg-plist
+++ b/cad/tkgate/pkg-plist
@@ -1,9 +1,9 @@
 bin/gmac
 bin/tkgate
 bin/verga
-man/man1/gmac.1.gz
-man/man1/tkgate.1.gz
-man/man1/verga.1.gz
+share/man/man1/gmac.1.gz
+share/man/man1/tkgate.1.gz
+share/man/man1/verga.1.gz
 share/applications/tkgate.desktop
 %%PORTDOCS%%%%DOCSDIR%%/COPYING
 %%PORTDOCS%%%%DOCSDIR%%/ChangeLog