git: f5a5381dae60 - main - archivers/minizip: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 27 Jan 2024 16:27:40 UTC
The branch main has been updated by bofh:

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

commit f5a5381dae60119b1917779aa3974bb542ab410d
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-27 16:25:25 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-27 16:27:07 +0000

    archivers/minizip: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 archivers/minizip/Makefile  | 4 +++-
 archivers/minizip/pkg-plist | 4 ++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/archivers/minizip/Makefile b/archivers/minizip/Makefile
index 82d73803f9ed..054609469fbb 100644
--- a/archivers/minizip/Makefile
+++ b/archivers/minizip/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	minizip
 PORTVERSION=	1.2.11
+PORTREVISION=	1
 CATEGORIES=	archivers
 MASTER_SITES=	SF/libpng/zlib/${PORTVERSION}
 DISTNAME=	zlib-${PORTVERSION}
@@ -13,6 +14,7 @@ LICENSE=	ZLIB
 USES=		autoreconf cpe libtool pathfix tar:xz
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ARGS=	--enable-demos
 INSTALL_TARGET=	install-strip
 WRKSRC=		${WRKDIR}/zlib-${PORTVERSION}/contrib/minizip
@@ -22,7 +24,7 @@ post-patch:
 	@${REINPLACE_CMD} 's/#ifdef unix || __APPLE__/#ifdef unix/' ${WRKSRC}/mini???.c
 
 post-install:
-	${INSTALL_MAN} ${WRKSRC}/*.1 ${STAGEDIR}${PREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/*.1 ${STAGEDIR}${PREFIX}/share/man/man1
 
 do-test:
 	${RM} -r ${WRKDIR}/regression-test1
diff --git a/archivers/minizip/pkg-plist b/archivers/minizip/pkg-plist
index 113498e7684f..2bf453b15b02 100644
--- a/archivers/minizip/pkg-plist
+++ b/archivers/minizip/pkg-plist
@@ -10,5 +10,5 @@ lib/libminizip.so
 lib/libminizip.so.1
 lib/libminizip.so.1.0.0
 libdata/pkgconfig/minizip.pc
-man/man1/miniunzip.1.gz
-man/man1/minizip.1.gz
+share/man/man1/miniunzip.1.gz
+share/man/man1/minizip.1.gz