git: 97c4bba50aa8 - main - emulators/simh-hp2100: Sanitize MANPREFIX

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

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

commit 97c4bba50aa8abb8ab0d2d2a66710272629a0bf8
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-21 19:24:53 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-21 19:25:27 +0000

    emulators/simh-hp2100: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 emulators/simh-hp2100/Makefile  | 3 ++-
 emulators/simh-hp2100/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/emulators/simh-hp2100/Makefile b/emulators/simh-hp2100/Makefile
index 71e1b4faa5e2..88e2a8a8f53b 100644
--- a/emulators/simh-hp2100/Makefile
+++ b/emulators/simh-hp2100/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	hp2100
 DISTVERSION=	3.11-0.31
+PORTREVISION=	1
 CATEGORIES=	emulators
 MASTER_SITES=	http://simh.trailing-edge.com/hp/releases/:src \
 		http://simh.trailing-edge.com/hp/docs/:app \
@@ -37,7 +38,7 @@ do-build:
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/hp2100 ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKDIR}/hp2100.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	${INSTALL_MAN} ${WRKDIR}/hp2100.1 ${STAGEDIR}${PREFIX}/share/man/man1
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_MAN} ${WRKSRC}/SCP/doc/*.txt ${STAGEDIR}${DOCSDIR}
 	${INSTALL_MAN} ${WRKSRC}/SCP/doc/hp2100_guide.pdf ${STAGEDIR}${DOCSDIR}
diff --git a/emulators/simh-hp2100/pkg-plist b/emulators/simh-hp2100/pkg-plist
index 96b99f2cde96..8d7c81e01e3a 100644
--- a/emulators/simh-hp2100/pkg-plist
+++ b/emulators/simh-hp2100/pkg-plist
@@ -1,5 +1,5 @@
 bin/hp2100
-man/man1/hp2100.1.gz
+share/man/man1/hp2100.1.gz
 %%DOCSDIR%%/hp2100_bugfixes.txt
 %%DOCSDIR%%/hp2100_diag.txt
 %%DOCSDIR%%/hp2100_guide.pdf