git: 67c2295290a5 - main - security/otpw: Sanitize MANPREFIX

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

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

commit 67c2295290a596f329c6e6c6d84049ced4461561
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-22 13:39:51 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-22 13:52:03 +0000

    security/otpw: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 security/otpw/Makefile  | 5 +++--
 security/otpw/pkg-plist | 4 ++--
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/security/otpw/Makefile b/security/otpw/Makefile
index c4e9661cc8ff..a7794ebee131 100644
--- a/security/otpw/Makefile
+++ b/security/otpw/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	otpw
 PORTVERSION=	1.5
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	https://www.cl.cam.ac.uk/~mgk25/download/ \
 		LOCAL/jkim
@@ -21,8 +22,8 @@ do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/otpw-gen ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_LIB} ${WRKSRC}/pam_otpw.so ${STAGEDIR}${PREFIX}/lib
 	${INSTALL_MAN} ${WRKSRC}/otpw-gen.1.gz \
-	    ${STAGEDIR}${MANPREFIX}/man/man1
+	    ${STAGEDIR}${PREFIX}/share/man/man1
 	${INSTALL_MAN} ${WRKSRC}/pam_otpw.8.gz \
-	    ${STAGEDIR}${MANPREFIX}/man/man8
+	    ${STAGEDIR}${PREFIX}/share/man/man8
 
 .include <bsd.port.mk>
diff --git a/security/otpw/pkg-plist b/security/otpw/pkg-plist
index a6ede774525b..e579e2e7c742 100644
--- a/security/otpw/pkg-plist
+++ b/security/otpw/pkg-plist
@@ -1,4 +1,4 @@
 @(otpw,otpw,4555) bin/otpw-gen
 lib/pam_otpw.so
-man/man1/otpw-gen.1.gz
-man/man8/pam_otpw.8.gz
+share/man/man1/otpw-gen.1.gz
+share/man/man8/pam_otpw.8.gz