git: ce91a7749c6c - main - net/ncp: Sanitize MANPREFIX

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

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

commit ce91a7749c6c4991763b8dd4ca8313ec44968a9f
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-22 15:36:13 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-22 15:50:46 +0000

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

diff --git a/net/ncp/Makefile b/net/ncp/Makefile
index c427195b9897..f2f4863e0c98 100644
--- a/net/ncp/Makefile
+++ b/net/ncp/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	ncp
 PORTVERSION=	1.2.4
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	http://dl.fefe.de/ http://dl.mteege.de/fefe/
 
@@ -11,7 +12,7 @@ BUILD_DEPENDS=	${LOCALBASE}/lib/libowfat.a:devel/libowfat
 
 USES=		tar:bzip2
 
-PLIST_FILES=	bin/ncp bin/npush bin/npoll man/man1/ncp.1.gz man/man1/npush.1.gz
+PLIST_FILES=	bin/ncp bin/npush bin/npoll share/man/man1/ncp.1.gz share/man/man1/npush.1.gz
 
 CFLAGS+=	-I${LOCALBASE}/include/libowfat -I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
@@ -27,7 +28,7 @@ post-patch:
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/ncp ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_MAN} ${WRKSRC}/ncp.1 ${WRKSRC}/npush.1 \
-		${STAGEDIR}${MANPREFIX}/man/man1
+		${STAGEDIR}${PREFIX}/share/man/man1
 	${LN} -s ncp ${STAGEDIR}${PREFIX}/bin/npush
 	${LN} -s ncp ${STAGEDIR}${PREFIX}/bin/npoll