git: cf4dff451a18 - main - emulators/simh-hpdoc: Sanitize MANPREFIX
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 21 Jan 2024 20:24:25 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=cf4dff451a18e4f12cdf5f0835e4ab9302925d17
commit cf4dff451a18e4f12cdf5f0835e4ab9302925d17
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-21 19:44:19 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-21 20:24:07 +0000
emulators/simh-hpdoc: Sanitize MANPREFIX
Approved by: portmgr (blanket)
---
emulators/simh-hpdoc/Makefile | 3 ++-
emulators/simh-hpdoc/pkg-plist | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/emulators/simh-hpdoc/Makefile b/emulators/simh-hpdoc/Makefile
index dd734bcef6f9..929d87a19263 100644
--- a/emulators/simh-hpdoc/Makefile
+++ b/emulators/simh-hpdoc/Makefile
@@ -1,5 +1,6 @@
PORTNAME= hpdoc
DISTVERSION= 3.11.0
+PORTREVISION= 1
CATEGORIES= emulators
MASTER_SITES= http://simh.trailing-edge.com/hp/releases/:src \
http://simh.trailing-edge.com/hp/docs/:app \
@@ -41,7 +42,7 @@ do-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/SCP/doc/simh_doc.pdf ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/SCP/doc/simh_supplement.pdf ${STAGEDIR}${DOCSDIR}
- ${INSTALL_MAN} ${WRKDIR}/hpdoc.1 ${STAGEDIR}${MANPREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKDIR}/hpdoc.1 ${STAGEDIR}${PREFIX}/share/man/man1
do-install-APPNOTES-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/emulators/simh-hpdoc/pkg-plist b/emulators/simh-hpdoc/pkg-plist
index 2922e72c05b9..57ff0fb0eb14 100644
--- a/emulators/simh-hpdoc/pkg-plist
+++ b/emulators/simh-hpdoc/pkg-plist
@@ -1,4 +1,4 @@
-man/man1/hpdoc.1.gz
+share/man/man1/hpdoc.1.gz
%%DOCSDIR%%/simh_doc.pdf
%%DOCSDIR%%/simh_supplement.pdf
%%APPNOTES%%%%DOCSDIR%%/hp_1000_io_simulation.pdf