git: 8bdbba59152c - main - emulators/dynamips-community: Sanitize MANPREFIX

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

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

commit 8bdbba59152c77dc40b9a462a0751cad06879764
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-21 18:29:22 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-21 19:25:25 +0000

    emulators/dynamips-community: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 emulators/dynamips-community/Makefile | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/emulators/dynamips-community/Makefile b/emulators/dynamips-community/Makefile
index b22fac7dd5ef..6507b141ff2c 100644
--- a/emulators/dynamips-community/Makefile
+++ b/emulators/dynamips-community/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	dynamips
-PORTVERSION=	0.2.17
 DISTVERSIONPREFIX=	v
+DISTVERSION=	0.2.17
+PORTREVISION=	1
 CATEGORIES=	emulators
 PKGNAMESUFFIX=	-community
 
@@ -32,8 +33,8 @@ CMAKE_ARGS+=	-DDYNAMIPS_CODE=${DYNAMIPS_CODE} -DDYNAMIPS_ARCH=${DYNAMIPS_ARCH}
 .include <bsd.port.pre.mk>
 
 PLIST_FILES=	bin/${PORTNAME} bin/nvram_export \
-		man/man1/${PORTNAME}.1.gz man/man1/nvram_export.1.gz \
-		man/man7/hypervisor_mode.7.gz
+		share/man/man1/${PORTNAME}.1.gz share/man/man1/nvram_export.1.gz \
+		share/man/man7/hypervisor_mode.7.gz
 
 PORTDOCS=	*
 
@@ -46,9 +47,9 @@ DYNAMIPS_ARCH=	nojit
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${DYNAMIPS_CODE}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_PROGRAM} ${WRKSRC}/${DYNAMIPS_CODE}/nvram_export ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
-	${INSTALL_MAN} ${WRKSRC}/man/nvram_export.1 ${STAGEDIR}${MANPREFIX}/man/man1
-	${INSTALL_MAN} ${WRKSRC}/man/hypervisor_mode.7 ${STAGEDIR}${MANPREFIX}/man/man7
+	${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1
+	${INSTALL_MAN} ${WRKSRC}/man/nvram_export.1 ${STAGEDIR}${PREFIX}/share/man/man1
+	${INSTALL_MAN} ${WRKSRC}/man/hypervisor_mode.7 ${STAGEDIR}${PREFIX}/share/man/man7
 
 do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}