git: c9dbee7d55fa - main - lang/pbasic: Sanitize MANPREFIX

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

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

commit c9dbee7d55fadbe3f90b54acb436fe842a3afb2d
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-21 01:41:07 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-21 02:02:46 +0000

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

diff --git a/lang/pbasic/Makefile b/lang/pbasic/Makefile
index eded0991000d..ffd2e45ad2ac 100644
--- a/lang/pbasic/Makefile
+++ b/lang/pbasic/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	pbasic
 PORTVERSION=	2.1
+PORTREVISION=	1
 CATEGORIES=	lang
 MASTER_SITES=	ftp://ftp.berklix.org/pub/FreeBSD/ports/distfiles/ \
 		http://www.berklix.com/~jhs/ftp/distfiles/
@@ -13,7 +14,7 @@ LICENSE=	PD
 
 ALL_TARGET=	freebsd
 MAKEFILE=	makefile
-PLIST_FILES=	bin/pbasic man/man1/pbasic.1.gz
+PLIST_FILES=	bin/pbasic share/man/man1/pbasic.1.gz
 
 post-patch:	.SILENT
 	${REINPLACE_CMD} -e '/^CC/s/=/?=/' \
@@ -27,6 +28,6 @@ do-configure:
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/basic ${STAGEDIR}${PREFIX}/bin/pbasic
-	${INSTALL_MAN} ${WRKSRC}/docs/basic.1 ${STAGEDIR}${PREFIX}/man/man1/pbasic.1
+	${INSTALL_MAN} ${WRKSRC}/docs/basic.1 ${STAGEDIR}${PREFIX}/share/man/man1/pbasic.1
 
 .include <bsd.port.mk>