git: 81446b12e44d - main - x11/xterm: Move manpages to share/man

From: Emanuel Haupt <ehaupt_at_FreeBSD.org>
Date: Sun, 21 Jan 2024 17:43:37 UTC
The branch main has been updated by ehaupt:

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

commit 81446b12e44de0e9d873828fa7ad48d7995aa3e8
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2024-01-21 16:25:59 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2024-01-21 17:43:24 +0000

    x11/xterm: Move manpages to share/man
---
 x11/xterm/Makefile  | 6 +++++-
 x11/xterm/pkg-plist | 8 ++++----
 2 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/x11/xterm/Makefile b/x11/xterm/Makefile
index 0ddfc780dd5a..5689dfcf6ccc 100644
--- a/x11/xterm/Makefile
+++ b/x11/xterm/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	xterm
-PORTVERSION=	389
+DISTVERSION=	389
+PORTREVISION=	1
 CATEGORIES=	x11
 MASTER_SITES=	ftp://ftp.invisible-island.net/xterm/:src1 \
 		https://invisible-mirror.net/archives/xterm/:src1 \
@@ -80,6 +81,9 @@ XINERAMA_CONFIGURE_OFF=		--without-xinerama
 
 ICONVERSION=	1
 
+# remove after manprefix migration
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
+
 post-extract:
 	@${CP} ${WRKDIR}/bsd-xterm-icons-${ICONVERSION}/*.png \
 		${WRKDIR}/bsd-xterm-icons-${ICONVERSION}/*.xpm \
diff --git a/x11/xterm/pkg-plist b/x11/xterm/pkg-plist
index 795c00edd889..855888da6fd4 100644
--- a/x11/xterm/pkg-plist
+++ b/x11/xterm/pkg-plist
@@ -8,10 +8,10 @@ lib/X11/app-defaults/UXTerm
 lib/X11/app-defaults/UXTerm-color
 lib/X11/app-defaults/XTerm
 lib/X11/app-defaults/XTerm-color
-man/man1/resize.1.gz
-man/man1/koi8rxterm.1.gz
-man/man1/uxterm.1.gz
-man/man1/xterm.1.gz
+share/man/man1/resize.1.gz
+share/man/man1/koi8rxterm.1.gz
+share/man/man1/uxterm.1.gz
+share/man/man1/xterm.1.gz
 share/applications/xterm.desktop
 share/pixmaps/filled-xterm_16x16.xpm
 share/pixmaps/filled-xterm_32x32.xpm