git: f620699c04eb - main - emulators/bochs: Move man pages to share/man

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Thu, 07 Mar 2024 11:51:41 UTC
The branch main has been updated by eduardo:

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

commit f620699c04eb372be9437ae6c9c2d7c896bc4234
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-07 11:32:18 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-07 11:51:22 +0000

    emulators/bochs: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 emulators/bochs/Makefile  | 3 ++-
 emulators/bochs/pkg-plist | 8 ++++----
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/emulators/bochs/Makefile b/emulators/bochs/Makefile
index 03e5b17e35b4..73ace665ddb7 100644
--- a/emulators/bochs/Makefile
+++ b/emulators/bochs/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	bochs
 PORTVERSION=	2.7
-PORTREVISION=	1
+PORTREVISION=	2
 PORTEPOCH=	2
 CATEGORIES=	emulators
 MASTER_SITES=	SF
@@ -16,6 +16,7 @@ BROKEN_i386=	does not build on i386 (../cpu.h:4513:117: error: 'regparm' paramet
 USES=		cpe gmake libtool:keepla pkgconfig xorg
 USE_XORG=	x11
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 CONFIGURE_ENV=	ac_cv_header_alsa_asoundlib_h=no \
 		ac_cv_header_ltdl_h=no
 CONFIGURE_ARGS=	--disable-docbook \
diff --git a/emulators/bochs/pkg-plist b/emulators/bochs/pkg-plist
index f5e9f51523e3..7ca2cd4c0247 100644
--- a/emulators/bochs/pkg-plist
+++ b/emulators/bochs/pkg-plist
@@ -1,10 +1,6 @@
 bin/bochs
 bin/bxhub
 bin/bximage
-man/man1/bochs.1.gz
-man/man1/bochs-dlx.1.gz
-man/man1/bximage.1.gz
-man/man5/bochsrc.5.gz
 %%DATADIR%%/BIOS-bochs-latest
 %%DATADIR%%/BIOS-bochs-legacy
 %%DATADIR%%/SeaBIOS-README
@@ -43,3 +39,7 @@ man/man5/bochsrc.5.gz
 %%PORTDOCS%%%%DOCSDIR%%/html/bxdebugger.html
 %%PORTDOCS%%%%DOCSDIR%%/memory.txt
 %%PORTDOCS%%%%DOCSDIR%%/random.txt
+share/man/man1/bochs.1.gz
+share/man/man1/bochs-dlx.1.gz
+share/man/man1/bximage.1.gz
+share/man/man5/bochsrc.5.gz