git: 2bf0dc40bdce - main - devel/rcs57: move man pages

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Fri, 01 Mar 2024 21:11:37 UTC
The branch main has been updated by cy:

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

commit 2bf0dc40bdce3f025da2fe5467040a4ffde7e34c
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2024-03-01 19:07:03 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2024-03-01 21:11:17 +0000

    devel/rcs57: move man pages
---
 devel/rcs57/Makefile                    |  2 +-
 devel/rcs57/files/patch-man_Makefile.in | 13 +++++++++++++
 devel/rcs57/pkg-plist                   | 22 +++++++++++-----------
 3 files changed, 25 insertions(+), 12 deletions(-)

diff --git a/devel/rcs57/Makefile b/devel/rcs57/Makefile
index 7cfa48110b1d..ed4336fd8f0c 100644
--- a/devel/rcs57/Makefile
+++ b/devel/rcs57/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	rcs
 PORTVERSION=	5.7
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel
 MASTER_SITES=	GNU
 PKGNAMESUFFIX=	57
diff --git a/devel/rcs57/files/patch-man_Makefile.in b/devel/rcs57/files/patch-man_Makefile.in
new file mode 100644
index 000000000000..cb9962d4c336
--- /dev/null
+++ b/devel/rcs57/files/patch-man_Makefile.in
@@ -0,0 +1,13 @@
+--- man/Makefile.in.orig	1995-06-15 23:19:24.000000000 -0700
++++ man/Makefile.in	2024-03-01 11:03:34.908632000 -0800
+@@ -34,8 +34,8 @@
+ PIC = @PIC@
+ 
+ prefix = @prefix@
+-man1dir = $(prefix)/man/man1
+-man5dir = $(prefix)/man/man5
++man1dir = $(prefix)/share/man/man1
++man5dir = $(prefix)/share/man/man5
+ man1ext = .1
+ man5ext = .5
+ 
diff --git a/devel/rcs57/pkg-plist b/devel/rcs57/pkg-plist
index 56d8aec632fe..89d865d65fce 100644
--- a/devel/rcs57/pkg-plist
+++ b/devel/rcs57/pkg-plist
@@ -7,14 +7,14 @@ bin/rcsclean
 bin/rcsdiff
 bin/rcsmerge
 bin/rlog
-man/man1/ci.1.gz
-man/man1/co.1.gz
-man/man1/ident.1.gz
-man/man1/merge.1.gz
-man/man1/rcs.1.gz
-man/man1/rcsclean.1.gz
-man/man1/rcsdiff.1.gz
-man/man1/rcsintro.1.gz
-man/man1/rcsmerge.1.gz
-man/man1/rlog.1.gz
-man/man5/rcsfile.5.gz
+share/man/man1/ci.1.gz
+share/man/man1/co.1.gz
+share/man/man1/ident.1.gz
+share/man/man1/merge.1.gz
+share/man/man1/rcs.1.gz
+share/man/man1/rcsclean.1.gz
+share/man/man1/rcsdiff.1.gz
+share/man/man1/rcsintro.1.gz
+share/man/man1/rcsmerge.1.gz
+share/man/man1/rlog.1.gz
+share/man/man5/rcsfile.5.gz