git: d813f83ea252 - main - science/nifticlib: Sanitize MANPREFIX

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 22 Jan 2024 01:33:30 UTC
The branch main has been updated by bofh:

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

commit d813f83ea252e1deb154fb7fa10f6dbc5767cda4
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-22 01:03:49 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-22 01:32:48 +0000

    science/nifticlib: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 science/nifticlib/Makefile  | 4 ++--
 science/nifticlib/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/science/nifticlib/Makefile b/science/nifticlib/Makefile
index 94636f0b85cc..dae7842e1770 100644
--- a/science/nifticlib/Makefile
+++ b/science/nifticlib/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	nifticlib
 PORTVERSION=	2.0.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	science graphics
 MASTER_SITES=	SF/niftilib/nifticlib/nifticlib_2_0_0
 
@@ -23,6 +23,6 @@ do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/bin/* ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_DATA} ${WRKSRC}/lib/*.a ${STAGEDIR}${PREFIX}/lib
 	${INSTALL_DATA} ${WRKSRC}/include/*.h ${STAGEDIR}${PREFIX}/include
-	${INSTALL_MAN} ${FILESDIR}/nifticlib.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	${INSTALL_MAN} ${FILESDIR}/nifticlib.1 ${STAGEDIR}${PREFIX}/share/man/man1
 
 .include <bsd.port.mk>
diff --git a/science/nifticlib/pkg-plist b/science/nifticlib/pkg-plist
index 8a147fd84a5b..f9d22c74f72b 100644
--- a/science/nifticlib/pkg-plist
+++ b/science/nifticlib/pkg-plist
@@ -12,4 +12,4 @@ lib/libfslio.a
 lib/libnifticdf.a
 lib/libniftiio.a
 lib/libznz.a
-man/man1/nifticlib.1.gz
+share/man/man1/nifticlib.1.gz