git: 5575bbe04b78 - main - sysutils/reggae: Move man pages to share/man

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

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

commit 5575bbe04b78bda7e13e2cf87c95175d30af65ee
Author:     Christian Weisgerber <naddy@FreeBSD.org>
AuthorDate: 2024-03-19 15:46:06 +0000
Commit:     Christian Weisgerber <naddy@FreeBSD.org>
CommitDate: 2024-03-19 20:12:42 +0000

    sysutils/reggae: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 sysutils/reggae/Makefile             |  1 +
 sysutils/reggae/files/patch-Makefile | 14 ++++++++++++++
 sysutils/reggae/pkg-plist            |  2 +-
 3 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/sysutils/reggae/Makefile b/sysutils/reggae/Makefile
index f2aba19fedcd..9d3c5b788e2a 100644
--- a/sysutils/reggae/Makefile
+++ b/sysutils/reggae/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	reggae
 DISTVERSION=	0.3.11
+PORTREVISION=	1
 CATEGORIES=	sysutils
 
 MAINTAINER=	meka@tilda.center
diff --git a/sysutils/reggae/files/patch-Makefile b/sysutils/reggae/files/patch-Makefile
new file mode 100644
index 000000000000..4bc287af8e84
--- /dev/null
+++ b/sysutils/reggae/files/patch-Makefile
@@ -0,0 +1,14 @@
+--- Makefile.orig	2024-03-19 15:44:53 UTC
++++ Makefile
+@@ -161,9 +161,9 @@ install_man:
+ .endfor
+ 
+ install_man:
+-	install -d ${DESTDIR}${PREFIX}/man/man1
++	install -d ${DESTDIR}${PREFIX}/share/man/man1
+ .for man_file in ${MAN_FILES}
+-	install -m 0644 man/${man_file}.gz ${DESTDIR}${PREFIX}/man/man1
++	install -m 0644 man/${man_file}.gz ${DESTDIR}${PREFIX}/share/man/man1
+ .endfor
+ 
+ install_profile:
diff --git a/sysutils/reggae/pkg-plist b/sysutils/reggae/pkg-plist
index 5624e985997a..8a8c1ebb8def 100644
--- a/sysutils/reggae/pkg-plist
+++ b/sysutils/reggae/pkg-plist
@@ -1,6 +1,6 @@
 bin/reggae
 @sample %%ETCDIR%%.conf.sample
-man/man1/reggae.1.gz
+share/man/man1/reggae.1.gz
 %%DATADIR%%/cbsd-profile/jail-freebsd-reggae.conf
 %%DATADIR%%/cbsd-profile/skel/etc/crontab
 %%DATADIR%%/cbsd-profile/skel/etc/group