git: bb83ab60e92f - main - graphics/scrot: Install man pages under share/man

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

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

commit bb83ab60e92fa9ef0cca4958a46982bdf23c99fb
Author:     Joseph Mingrone <jrm@FreeBSD.org>
AuthorDate: 2024-02-27 01:21:47 +0000
Commit:     Joseph Mingrone <jrm@FreeBSD.org>
CommitDate: 2024-02-27 02:43:35 +0000

    graphics/scrot: Install man pages under share/man
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 graphics/scrot/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/graphics/scrot/Makefile b/graphics/scrot/Makefile
index d9bba7a73329..af3fc825e2eb 100644
--- a/graphics/scrot/Makefile
+++ b/graphics/scrot/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	scrot
 DISTVERSION=	1.10
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	graphics
 
 MAINTAINER=	amdmi3@FreeBSD.org
@@ -17,9 +17,10 @@ USES=		autoreconf pkgconfig xorg
 USE_GITHUB=	yes
 GH_ACCOUNT=	resurrecting-open-source-projects
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 USE_XORG=	x11 xext xfixes xcomposite xinerama
 
-PLIST_FILES=	bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
+PLIST_FILES=	bin/${PORTNAME} share/man/man1/${PORTNAME}.1.gz
 PORTDOCS=	*
 
 OPTIONS_DEFINE=	DOCS