git: 14e0a4c077b9 - main - x11/xlockmore: Install man pages under share/man

From: Joseph Mingrone <jrm_at_FreeBSD.org>
Date: Tue, 27 Feb 2024 02:45:23 UTC
The branch main has been updated by jrm:

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

commit 14e0a4c077b99a09a645a865c21304a529c155de
Author:     Joseph Mingrone <jrm@FreeBSD.org>
AuthorDate: 2024-02-27 01:13:07 +0000
Commit:     Joseph Mingrone <jrm@FreeBSD.org>
CommitDate: 2024-02-27 02:43:34 +0000

    x11/xlockmore: Install man pages under share/man
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 x11/xlockmore/Makefile  | 4 +++-
 x11/xlockmore/pkg-plist | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/x11/xlockmore/Makefile b/x11/xlockmore/Makefile
index c8f63d2a1c10..626da8f6439f 100644
--- a/x11/xlockmore/Makefile
+++ b/x11/xlockmore/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	xlockmore
 PORTVERSION=	5.74
+PORTREVISION=	1
 CATEGORIES=	x11
 MASTER_SITES=	http://www.sillycycle.com/xlock/ \
 		SF/bsdsrc/${.CURDIR:T}
@@ -23,6 +24,7 @@ CONFIGURE_ARGS=	--without-motif --without-editres \
 		--without-gtk --without-esound --disable-setuid \
 		--disable-kerberos4 --without-ttf
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 PORTDOCS=	README ${PORTNAME}.README
 
 OPTIONS_DEFINE=	MESAGL MB SYSLOG DISABLE_ALLOW_ROOT NICE_ONLY BLANK_ONLY \
@@ -49,7 +51,7 @@ JP_DESC=	Japanese Language Support
 NO_OPTIONS_SORT=	yes
 
 MAKE_ARGS+=	bindir=${PREFIX}/bin \
-		mandir=${PREFIX}/man/man1 \
+		mandir=${PREFIX}/share/man/man1 \
 		datarootdir=${PREFIX}/share \
 		xapploaddir=${PREFIX}/lib/X11/app-defaults
 
diff --git a/x11/xlockmore/pkg-plist b/x11/xlockmore/pkg-plist
index 6ff01ca61681..ac6a82e8ac66 100644
--- a/x11/xlockmore/pkg-plist
+++ b/x11/xlockmore/pkg-plist
@@ -8,7 +8,7 @@ bin/xmlock
 @owner
 lib/X11/app-defaults/XLock
 lib/X11/app-defaults/XmLock
-man/man1/xlock.1.gz
+share/man/man1/xlock.1.gz
 share/xlock/sounds/complete.au
 share/xlock/sounds/identify-please.au
 share/xlock/sounds/not-programmed.au