git: 3cb94f3d1984 - main - net/shelldap: Sanitize MANPREFIX

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 21 Jan 2024 20:48:18 UTC
The branch main has been updated by bofh:

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

commit 3cb94f3d19845fe0e6b94d95f22b69e9a7c2e5a9
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-21 20:26:56 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-21 20:48:09 +0000

    net/shelldap: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 net/shelldap/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/net/shelldap/Makefile b/net/shelldap/Makefile
index ec7960a00378..6ccf7c452890 100644
--- a/net/shelldap/Makefile
+++ b/net/shelldap/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	shelldap
 PORTVERSION=	1.5.1
+PORTREVISION=	1
 DISTVERSIONPREFIX=	v
 CATEGORIES=	net perl5
 
@@ -23,7 +24,7 @@ USE_PERL5=	extract build run
 USE_GITHUB=	yes
 GH_ACCOUNT=	mahlonsmith
 
-PLIST_FILES=	bin/shelldap man/man1/shelldap.1.gz
+PLIST_FILES=	bin/shelldap share/man/man1/shelldap.1.gz
 
 NO_BUILD=	yes
 NO_ARCH=	yes
@@ -32,7 +33,7 @@ post-extract:
 	${LOCALBASE}/bin/pod2man ${WRKSRC}/shelldap ${WRKSRC}/shelldap.1
 
 do-install:
-	${INSTALL_MAN} ${WRKSRC}/shelldap.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/shelldap.1 ${STAGEDIR}${PREFIX}/share/man/man1
 	${INSTALL_SCRIPT} ${WRKSRC}/shelldap ${STAGEDIR}${PREFIX}/bin
 
 .include <bsd.port.mk>