git: fbc137c1e7f7 - main - x11-toolkits/tkdnd: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 26 Feb 2024 17:53:05 UTC
The branch main has been updated by bofh:

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

commit fbc137c1e7f7d51adeed783e8ca6e67a10545ef5
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-26 17:38:23 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-26 17:52:33 +0000

    x11-toolkits/tkdnd: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 x11-toolkits/tkdnd/Makefile  | 5 ++++-
 x11-toolkits/tkdnd/pkg-plist | 2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/x11-toolkits/tkdnd/Makefile b/x11-toolkits/tkdnd/Makefile
index f6552c58ea06..344e5a6ccfeb 100644
--- a/x11-toolkits/tkdnd/Makefile
+++ b/x11-toolkits/tkdnd/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	tkdnd
 PORTVERSION=	2.8
+PORTREVISION=	1
 CATEGORIES=	x11-toolkits tk
 MASTER_SITES=	SF/${PORTNAME}/TkDND/TkDND%20${PORTVERSION}/
 DISTNAME=	${PORTNAME}${PORTVERSION}-src
@@ -11,11 +12,13 @@ WWW=		http://www.iit.demokritos.gr/~petasis/Tcl/tkDND/tkDND.html
 USES+=		tk:tea xorg
 USE_XORG=	x11 xext
 
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
+
 TCL_PKG=	${PORTNAME}${PORTVERSION}
 USE_LDCONFIG=	${PREFIX}/lib/${TCL_PKG}
 WRKSRC=		${WRKDIR}/${PORTNAME}${PORTVERSION}
 
 post-install:
-	${INSTALL_MAN} ${WRKSRC}/doc/tkDND.n ${STAGEDIR}/${PREFIX}/man/mann/${MANN}
+	${INSTALL_MAN} ${WRKSRC}/doc/tkDND.n ${STAGEDIR}/${PREFIX}/share/man/mann/${MANN}
 
 .include <bsd.port.mk>
diff --git a/x11-toolkits/tkdnd/pkg-plist b/x11-toolkits/tkdnd/pkg-plist
index 0ccbc3fb1622..17c73496128f 100644
--- a/x11-toolkits/tkdnd/pkg-plist
+++ b/x11-toolkits/tkdnd/pkg-plist
@@ -6,4 +6,4 @@ lib/%%TCL_PKG%%/tkdnd_generic.tcl
 lib/%%TCL_PKG%%/tkdnd_macosx.tcl
 lib/%%TCL_PKG%%/tkdnd_unix.tcl
 lib/%%TCL_PKG%%/tkdnd_windows.tcl
-man/mann/tkDND.n.gz
+share/man/mann/tkDND.n.gz