git: ab56455aa229 - main - x11/xtset: Move man pages to share/man

From: Christian Weisgerber <naddy_at_FreeBSD.org>
Date: Sat, 16 Mar 2024 19:42:49 UTC
The branch main has been updated by naddy:

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

commit ab56455aa22906e3835ca2af6dca3880b39f3bb5
Author:     Christian Weisgerber <naddy@FreeBSD.org>
AuthorDate: 2024-03-16 19:42:06 +0000
Commit:     Christian Weisgerber <naddy@FreeBSD.org>
CommitDate: 2024-03-16 19:42:06 +0000

    x11/xtset: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 x11/xtset/Makefile | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/x11/xtset/Makefile b/x11/xtset/Makefile
index 80f07c7ad922..87d26f439151 100644
--- a/x11/xtset/Makefile
+++ b/x11/xtset/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	xtset
 PORTVERSION=	1.1
+PORTREVISION=	1
 CATEGORIES=	x11
 MASTER_SITES=	http://www.lemis.com/pub/
 
@@ -10,10 +11,11 @@ COMMENT=	Utility to set title on an xterm
 
 NO_WRKSUBDIR=	yes
 
-PLIST_FILES=	bin/xtset man/man1/xtset.1.gz
+PLIST_FILES=	bin/xtset share/man/man1/xtset.1.gz
 MAKE_ARGS+=	PREFIX=${STAGEDIR}${PREFIX}
 
-post-install:
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/xtset ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/xtset.1 ${STAGEDIR}${PREFIX}/share/man/man1
 
 .include <bsd.port.mk>