git: 6740c1c9957c - main - deskutils/teapot: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Fri, 23 Feb 2024 06:52:18 UTC
The branch main has been updated by bofh:

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

commit 6740c1c9957cfc020c4d2fe7e4f469926466d14f
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-23 06:31:23 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-23 06:51:50 +0000

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

diff --git a/deskutils/teapot/Makefile b/deskutils/teapot/Makefile
index dbdc05516938..afd6e27bfdb7 100644
--- a/deskutils/teapot/Makefile
+++ b/deskutils/teapot/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	teapot
 PORTVERSION=	2.3.0
+PORTREVISION=	1
 CATEGORIES=	deskutils
 MASTER_SITES=	http://www.syntax-k.de/projekte/${PORTNAME}/ \
 		http://www.syntax-k.de/projekte/${PORTNAME}/:docs
@@ -21,10 +22,6 @@ WRKSRC_DOCS=	${WRKDIR}/${DISTNAME:C/^./T/}-Linux/share/doc/${PORTNAME}
 
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
-post-patch:
-	@${REINPLACE_CMD} -e 's|share/man/man1|man/man1|g' \
-		${WRKSRC}/CMakeLists.txt
-
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	@(cd ${WRKSRC_DOCS} && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
diff --git a/deskutils/teapot/pkg-plist b/deskutils/teapot/pkg-plist
index 52196fd498c8..53de0b98656a 100644
--- a/deskutils/teapot/pkg-plist
+++ b/deskutils/teapot/pkg-plist
@@ -1,5 +1,5 @@
 bin/teapot
-man/man1/teapot.1.gz
+share/man/man1/teapot.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/COPYING
 %%PORTDOCS%%%%DOCSDIR%%/README
 %%PORTDOCS%%%%DOCSDIR%%/html/node1.html