git: 4cdc7f189a67 - main - sysutils/opendircolors: Move man pages to share/man

From: Christian Weisgerber <naddy_at_FreeBSD.org>
Date: Tue, 19 Mar 2024 20:13:01 UTC
The branch main has been updated by naddy:

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

commit 4cdc7f189a67a3c985f8c187d0896a583d5126a4
Author:     Christian Weisgerber <naddy@FreeBSD.org>
AuthorDate: 2024-03-19 15:39:58 +0000
Commit:     Christian Weisgerber <naddy@FreeBSD.org>
CommitDate: 2024-03-19 20:12:42 +0000

    sysutils/opendircolors: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 sysutils/opendircolors/Makefile  | 4 ++++
 sysutils/opendircolors/pkg-plist | 6 +++---
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/sysutils/opendircolors/Makefile b/sysutils/opendircolors/Makefile
index 423501bada3a..c444ef5ca224 100644
--- a/sysutils/opendircolors/Makefile
+++ b/sysutils/opendircolors/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	opendircolors
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.0.2
+PORTREVISION=	1
 CATEGORIES=	sysutils
 
 MAINTAINER=	me@cameronkatri.com
@@ -14,6 +15,9 @@ USES=		uidfix
 USE_GITHUB=	yes
 GH_ACCOUNT=	CRKatri
 
+MAKE_ENV=	BINDIR="${PREFIX}/bin" \
+		MANDIR="${PREFIX}/share/man/man"
+
 CONFLICTS_INSTALL=	gnuls # bin/dircolors
 
 .include <bsd.port.mk>
diff --git a/sysutils/opendircolors/pkg-plist b/sysutils/opendircolors/pkg-plist
index 05774a72c095..1020ac03f1fe 100644
--- a/sysutils/opendircolors/pkg-plist
+++ b/sysutils/opendircolors/pkg-plist
@@ -1,6 +1,6 @@
 bin/dircolors
 bin/dirconvert
 bin/opendircolors
-man/man1/dircolors.1.gz
-man/man1/dirconvert.1.gz
-man/man1/opendircolors.1.gz
+share/man/man1/dircolors.1.gz
+share/man/man1/dirconvert.1.gz
+share/man/man1/opendircolors.1.gz