git: 5a7a7e653513 - main - accessibility/redshift: Install man pages under share/man

From: Joseph Mingrone <jrm_at_FreeBSD.org>
Date: Mon, 26 Feb 2024 18:41:30 UTC
The branch main has been updated by jrm:

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

commit 5a7a7e6535135fe97424762595edafaf75d062ac
Author:     Joseph Mingrone <jrm@FreeBSD.org>
AuthorDate: 2024-02-26 18:37:52 +0000
Commit:     Joseph Mingrone <jrm@FreeBSD.org>
CommitDate: 2024-02-26 18:41:14 +0000

    accessibility/redshift: Install man pages under share/man
    
    Sponsored by:   The FreeBSD Foundation
---
 accessibility/redshift/Makefile  | 3 ++-
 accessibility/redshift/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/accessibility/redshift/Makefile b/accessibility/redshift/Makefile
index e002fd656cc2..14d6f3ea10a6 100644
--- a/accessibility/redshift/Makefile
+++ b/accessibility/redshift/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	redshift
 PORTVERSION=	1.12
 DISTVERSIONPREFIX=	v
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	accessibility
 
 PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
@@ -24,6 +24,7 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	jonls
 USE_GNOME=	intltool
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 SHEBANG_FILES=	src/redshift-gtk/redshift-gtk.in
 
 CONFIGURE_ARGS+=	--disable-wingdi
diff --git a/accessibility/redshift/pkg-plist b/accessibility/redshift/pkg-plist
index 50517fed2d34..03ac757ba85b 100644
--- a/accessibility/redshift/pkg-plist
+++ b/accessibility/redshift/pkg-plist
@@ -1,5 +1,5 @@
 bin/redshift
-man/man1/redshift.1.gz
+share/man/man1/redshift.1.gz
 %%GUI%%share/icons/hicolor/scalable/apps/redshift.svg
 %%GUI%%share/icons/hicolor/scalable/apps/redshift-status-off.svg
 %%GUI%%share/icons/hicolor/scalable/apps/redshift-status-on.svg