git: 09cdd69f281d - main - deskutils/xchm: use ${PREFIX}/share/man

From: Dirk Meyer <dinoex_at_FreeBSD.org>
Date: Fri, 12 Jan 2024 20:30:32 UTC
The branch main has been updated by dinoex:

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

commit 09cdd69f281d21c8b5441e26b5ef99cc7f02a425
Author:     Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2024-01-12 20:30:21 +0000
Commit:     Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2024-01-12 20:30:21 +0000

    deskutils/xchm: use ${PREFIX}/share/man
---
 deskutils/xchm/Makefile  | 3 ++-
 deskutils/xchm/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/deskutils/xchm/Makefile b/deskutils/xchm/Makefile
index 1219f55c31f4..249d4ac2dbb6 100644
--- a/deskutils/xchm/Makefile
+++ b/deskutils/xchm/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	xchm
 PORTVERSION=	1.36
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	deskutils
 
 MAINTAINER=	dinoex@FreeBSD.org
@@ -19,6 +19,7 @@ GH_PROJECT=	xCHM
 USE_WX=		3.0+
 WX_CONF_ARGS=	absolute
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 LDFLAGS+=	-lpthread
 
 OPTIONS_DEFINE=	NLS
diff --git a/deskutils/xchm/pkg-plist b/deskutils/xchm/pkg-plist
index 8b04ad873ab7..4909d81a6ee6 100644
--- a/deskutils/xchm/pkg-plist
+++ b/deskutils/xchm/pkg-plist
@@ -1,5 +1,4 @@
 bin/xchm
-man/man1/xchm.1.gz
 share/applications/xchm.desktop
 share/icons/hicolor/128x128/apps/xchm.png
 share/icons/hicolor/128x128/apps/xchmdoc.png
@@ -9,6 +8,7 @@ share/icons/hicolor/32x32/apps/xchm.png
 share/icons/hicolor/32x32/apps/xchmdoc.png
 share/icons/hicolor/48x48/apps/xchm.png
 share/icons/hicolor/48x48/apps/xchmdoc.png
+share/man/man1/xchm.1.gz
 share/metainfo/xchm.appdata.xml
 %%NLS%%share/locale/be/LC_MESSAGES/xchm.mo
 %%NLS%%share/locale/bg/LC_MESSAGES/xchm.mo