git: 879c351c84bf - main - archivers/rzip: Move man pages to share/man

From: Emanuel Haupt <ehaupt_at_FreeBSD.org>
Date: Tue, 23 Jan 2024 13:37:44 UTC
The branch main has been updated by ehaupt:

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

commit 879c351c84bf8c11b7e0430c57bc7b8b7662a3c3
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2024-01-23 13:37:38 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2024-01-23 13:37:38 +0000

    archivers/rzip: Move man pages to share/man
---
 archivers/rzip/Makefile                |  9 +++++----
 archivers/rzip/files/patch-Makefile.in | 11 +++++++++++
 2 files changed, 16 insertions(+), 4 deletions(-)

diff --git a/archivers/rzip/Makefile b/archivers/rzip/Makefile
index 2f8933288560..65f240a396de 100644
--- a/archivers/rzip/Makefile
+++ b/archivers/rzip/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	rzip
-PORTVERSION=	2.1
-PORTREVISION=	1
+DISTVERSION=	2.1
+PORTREVISION=	2
 CATEGORIES=	archivers
 MASTER_SITES=	SAMBA/rzip
 
@@ -15,9 +15,10 @@ USES=		cpe
 CPE_VENDOR=	rzip_project
 
 GNU_CONFIGURE=	yes
-GNU_CONFIGURE_PREFIX=${STAGEDIR}${PREFIX}
+GNU_CONFIGURE_PREFIX=	${STAGEDIR}${PREFIX}
 
-PLIST_FILES=	bin/rzip man/man1/rzip.1.gz
+PLIST_FILES=	bin/rzip \
+		share/man/man1/rzip.1.gz
 
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/rzip
diff --git a/archivers/rzip/files/patch-Makefile.in b/archivers/rzip/files/patch-Makefile.in
new file mode 100644
index 000000000000..35612fab31d5
--- /dev/null
+++ b/archivers/rzip/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig	2006-02-14 00:38:23 UTC
++++ Makefile.in
+@@ -4,7 +4,7 @@ INSTALL_BIN=$(exec_prefix)/bin
+ prefix=@prefix@
+ exec_prefix=@exec_prefix@
+ INSTALL_BIN=$(exec_prefix)/bin
+-INSTALL_MAN=$(prefix)/man
++INSTALL_MAN=$(prefix)/share/man
+ 
+ LIBS=@LIBS@
+ CC=@CC@