git: e1121680c4c4 - main - ports-mgmt/portshaker: Move man pages to share/man

From: Yasuhiro Kimura <yasu_at_FreeBSD.org>
Date: Fri, 29 Mar 2024 08:21:50 UTC
The branch main has been updated by yasu:

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

commit e1121680c4c4d6f741f61ea557f25ba566185944
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2024-03-29 08:13:36 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2024-03-29 08:13:36 +0000

    ports-mgmt/portshaker: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 ports-mgmt/portshaker/Makefile                 | 2 +-
 ports-mgmt/portshaker/files/patch-Makefile.inc | 9 +++++++++
 ports-mgmt/portshaker/pkg-plist                | 6 +++---
 3 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/ports-mgmt/portshaker/Makefile b/ports-mgmt/portshaker/Makefile
index eed2979ef054..bbe5b1d9db0f 100644
--- a/ports-mgmt/portshaker/Makefile
+++ b/ports-mgmt/portshaker/Makefile
@@ -1,7 +1,7 @@
 PORTNAME?=	portshaker
 PORTVERSION=	1.0.19
 DISTVERSIONPREFIX=	v
-PORTREVISION?=	4
+PORTREVISION?=	5
 CATEGORIES?=	ports-mgmt
 
 MAINTAINER?=	romain@FreeBSD.org
diff --git a/ports-mgmt/portshaker/files/patch-Makefile.inc b/ports-mgmt/portshaker/files/patch-Makefile.inc
new file mode 100644
index 000000000000..4156fd89c263
--- /dev/null
+++ b/ports-mgmt/portshaker/files/patch-Makefile.inc
@@ -0,0 +1,9 @@
+--- Makefile.inc.orig	2024-03-28 15:31:27 UTC
++++ Makefile.inc
+@@ -4,5 +4,5 @@ SHAREDIR?=	${PREFIX}/share
+ ETCDIR?=	${PREFIX}/etc
+ .if defined(PREFIX)
+ SHAREDIR?=	${PREFIX}/share
+-MANDIR?=	${PREFIX}/man/man
++MANDIR?=	${PREFIX}/share/man/man
+ .endif
diff --git a/ports-mgmt/portshaker/pkg-plist b/ports-mgmt/portshaker/pkg-plist
index d11dee81885e..3f24ae1aaaf7 100644
--- a/ports-mgmt/portshaker/pkg-plist
+++ b/ports-mgmt/portshaker/pkg-plist
@@ -1,8 +1,8 @@
 bin/portshaker
 etc/portshaker.conf.sample
-man/man5/portshaker.conf.5.gz
-man/man5/portshaker.d.5.gz
-man/man8/portshaker.8.gz
+share/man/man5/portshaker.conf.5.gz
+share/man/man5/portshaker.d.5.gz
+share/man/man8/portshaker.8.gz
 %%DATADIR%%/merge-updating.awk
 %%DATADIR%%/portshaker.subr
 @dir etc/portshaker.d