git: fe0909ddca89 - main - devel/redo: Update manpage location (003a571d1d6585196545295efc181514f171c4c4, r523104)

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 21 Feb 2024 15:18:39 UTC
The branch main has been updated by sunpoet:

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

commit fe0909ddca896379e7b105b56a0647f2d2c0864f
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-02-21 14:25:56 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-02-21 15:06:27 +0000

    devel/redo: Update manpage location (003a571d1d6585196545295efc181514f171c4c4, r523104)
---
 devel/redo/files/patch-package-export | 21 +++++++++++++++++++++
 devel/redo/pkg-plist                  |  8 ++++----
 2 files changed, 25 insertions(+), 4 deletions(-)

diff --git a/devel/redo/files/patch-package-export b/devel/redo/files/patch-package-export
new file mode 100644
index 000000000000..847c21d08799
--- /dev/null
+++ b/devel/redo/files/patch-package-export
@@ -0,0 +1,21 @@
+--- package/export.orig	2019-04-05 17:23:23 UTC
++++ package/export
+@@ -10,14 +10,14 @@ group="`id -gn`"
+ user="`id -un`"
+ group="`id -gn`"
+ 
+-mkdir -p "${root}"bin/ "${root}"man/man1
++mkdir -p "${root}"bin/ "${root}"share/man/man1
+ commands="redo"
+ aliases="redo-ifcreate redo-ifchange cubehash"
+ for i in ${commands} ${aliases}
+ do
+-	rm -f "${root}"man/man1/"$i.1"{new}
+-	install -m 0644 -o "${user}" -g "${group}" -- manual/"$i.1" "${root}"man/man1/"$i.1"{new}
+-	mv -f -- "${root}"man/man1/"$i.1"{new} "${root}"man/man1/"$i.1"
++	rm -f "${root}"share/man/man1/"$i.1"{new}
++	install -m 0644 -o "${user}" -g "${group}" -- manual/"$i.1" "${root}"share/man/man1/"$i.1"{new}
++	mv -f -- "${root}"share/man/man1/"$i.1"{new} "${root}"share/man/man1/"$i.1"
+ done
+ for i in ${commands}
+ do
diff --git a/devel/redo/pkg-plist b/devel/redo/pkg-plist
index ec3b1e1e39d9..7484b2c86572 100644
--- a/devel/redo/pkg-plist
+++ b/devel/redo/pkg-plist
@@ -2,7 +2,7 @@ bin/cubehash
 bin/redo
 bin/redo-ifchange
 bin/redo-ifcreate
-%%MANPAGES%%man/man1/cubehash.1.gz
-%%MANPAGES%%man/man1/redo-ifchange.1.gz
-%%MANPAGES%%man/man1/redo-ifcreate.1.gz
-%%MANPAGES%%man/man1/redo.1.gz
+%%MANPAGES%%share/man/man1/cubehash.1.gz
+%%MANPAGES%%share/man/man1/redo-ifchange.1.gz
+%%MANPAGES%%share/man/man1/redo-ifcreate.1.gz
+%%MANPAGES%%share/man/man1/redo.1.gz