git: a14830be4e05 - main - emulators/simh: Sanitize MANPREFIX

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

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

commit a14830be4e058006dcdf395b15ea2181af80ef12
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-21 19:33:06 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-21 20:24:06 +0000

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

diff --git a/emulators/simh/Makefile b/emulators/simh/Makefile
index 0f8d8aff903a..659af0467577 100644
--- a/emulators/simh/Makefile
+++ b/emulators/simh/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	simh
 PORTVERSION=	3.9.0
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	emulators
 MASTER_SITES=	http://simh.trailing-edge.com/sources/:src \
 		http://www.ml1.org.uk/distfiles/:pdf \
@@ -58,7 +58,7 @@ do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/BIN/* ${STAGEDIR}${PREFIX}/bin
 	@${MKDIR} ${STAGEDIR}${DATADIR}
 	${INSTALL_DATA} ${WRKSRC}/VAX/ka655x.bin ${STAGEDIR}${DATADIR}
-	${INSTALL_MAN} ${WRKDIR}/simh.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	${INSTALL_MAN} ${WRKDIR}/simh.1 ${STAGEDIR}${PREFIX}/share/man/man1
 
 do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}/pdf
diff --git a/emulators/simh/pkg-plist b/emulators/simh/pkg-plist
index 3707f47b6f7e..39e028802ff0 100644
--- a/emulators/simh/pkg-plist
+++ b/emulators/simh/pkg-plist
@@ -26,5 +26,5 @@ bin/swtp6800mp-a
 bin/swtp6800mp-a2
 bin/vax
 bin/vax780
-man/man1/simh.1.gz
+share/man/man1/simh.1.gz
 %%DATADIR%%/ka655x.bin