git: dbc97d1ba05b - main - archivers/lrzip: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Tue, 20 Feb 2024 22:10:43 UTC
The branch main has been updated by bofh:

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

commit dbc97d1ba05be400c227e45e03688457299e7241
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-20 21:39:41 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-20 22:09:29 +0000

    archivers/lrzip: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 archivers/lrzip/Makefile  |  4 +++-
 archivers/lrzip/pkg-plist | 14 +++++++-------
 2 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/archivers/lrzip/Makefile b/archivers/lrzip/Makefile
index 853e6ebb8110..ad76fe2e4a9d 100644
--- a/archivers/lrzip/Makefile
+++ b/archivers/lrzip/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	lrzip
 PORTVERSION=	0.651
+PORTREVISION=	1
 CATEGORIES=	archivers
 MASTER_SITES=	http://ck.kolivas.org/apps/lrzip/
 
@@ -15,6 +16,7 @@ LIB_DEPENDS=	liblz4.so:archivers/liblz4 \
 CFLAGS+=	-I${LOCALBASE}/include
 CONFIGURE_ENV+=	ac_cv_prog_ASM_PROG='no '
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 LDFLAGS+=	-L${LOCALBASE}/lib
 USES=		alias cpe libtool pathfix perl5 shebangfix tar:xz
 SHEBANG_FILES=	${WRKSRC}/lrztar
@@ -22,6 +24,6 @@ USE_PERL5=	build
 USE_LDCONFIG=	yes
 CPE_VENDOR=	lrzip_project
 
-CONFLICTS_INSTALL=	lrzsz # bin/lrz man/man1/lrz.1.gz
+CONFLICTS_INSTALL=	lrzsz # bin/lrz share/man/man1/lrz.1.gz
 
 .include <bsd.port.mk>
diff --git a/archivers/lrzip/pkg-plist b/archivers/lrzip/pkg-plist
index b1dacbb612c4..1178d32131c3 100644
--- a/archivers/lrzip/pkg-plist
+++ b/archivers/lrzip/pkg-plist
@@ -24,10 +24,10 @@ bin/lrz
 bin/lrzip
 bin/lrztar
 bin/lrzuntar
-man/man1/lrunzip.1.gz
-man/man1/lrz.1.gz
-man/man1/lrzcat.1.gz
-man/man1/lrzip.1.gz
-man/man1/lrztar.1.gz
-man/man1/lrzuntar.1.gz
-man/man5/lrzip.conf.5.gz
+share/man/man1/lrunzip.1.gz
+share/man/man1/lrz.1.gz
+share/man/man1/lrzcat.1.gz
+share/man/man1/lrzip.1.gz
+share/man/man1/lrztar.1.gz
+share/man/man1/lrzuntar.1.gz
+share/man/man5/lrzip.conf.5.gz