git: f5c01d64014b - main - www/tclhttpd: Move man pages to share/man

From: Christian Weisgerber <naddy_at_FreeBSD.org>
Date: Tue, 19 Mar 2024 22:45:14 UTC
The branch main has been updated by naddy:

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

commit f5c01d64014bd01c0bb9f0813ba0c7bb806a3906
Author:     Christian Weisgerber <naddy@FreeBSD.org>
AuthorDate: 2024-03-19 22:35:39 +0000
Commit:     Christian Weisgerber <naddy@FreeBSD.org>
CommitDate: 2024-03-19 22:44:58 +0000

    www/tclhttpd: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 www/tclhttpd/Makefile  | 4 +++-
 www/tclhttpd/pkg-plist | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/www/tclhttpd/Makefile b/www/tclhttpd/Makefile
index 9a0851097447..320c29848648 100644
--- a/www/tclhttpd/Makefile
+++ b/www/tclhttpd/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	tclhttpd
 PORTVERSION=	3.5.1
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	www tcl
 MASTER_SITES=	TCLTK/httpd
 DISTNAME=	${PORTNAME}${PORTVERSION}
@@ -15,6 +15,8 @@ USE_RC_SUBR=	tclhttpd
 
 USES=		tcl:tea compiler
 
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
+
 .include <bsd.port.pre.mk>
 
 SHLIB_NAME!=	${MAKE} -f "${FILESDIR}/Makefile.lib" -V SHLIB_NAME
diff --git a/www/tclhttpd/pkg-plist b/www/tclhttpd/pkg-plist
index 8abe7b977c5b..cee7939d5a81 100644
--- a/www/tclhttpd/pkg-plist
+++ b/www/tclhttpd/pkg-plist
@@ -1,7 +1,6 @@
 bin/httpd.tcl
 bin/httpdthread.tcl
 etc/tclhttpd.rc.default
-man/man1/tclhttpd.1.gz
 @owner nobody
 lib/tclhttpd%%PORTVERSION%%/%%SHLIB_NAME%%
 lib/tclhttpd%%PORTVERSION%%/admin.tcl
@@ -50,6 +49,7 @@ lib/tclhttpd%%PORTVERSION%%/version.tcl
 lib/tclhttpd%%PORTVERSION%%/mime.types
 @dir lib/tclhttpd%%PORTVERSION%%
 @owner root
+share/man/man1/tclhttpd.1.gz
 share/tclhttpd%%PORTVERSION%%/.tml
 share/tclhttpd%%PORTVERSION%%/access/.htaccess
 share/tclhttpd%%PORTVERSION%%/access/README.txt