git: 559c55e753be - main - comms/xnec2c: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Thu, 22 Feb 2024 18:19:52 UTC
The branch main has been updated by bofh:

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

commit 559c55e753be9427c7ae8f87c6e39b2cd666561e
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-22 17:42:53 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-22 18:19:25 +0000

    comms/xnec2c: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 comms/xnec2c/Makefile  | 3 ++-
 comms/xnec2c/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/comms/xnec2c/Makefile b/comms/xnec2c/Makefile
index 27912eafc2ab..9ce55ee10935 100644
--- a/comms/xnec2c/Makefile
+++ b/comms/xnec2c/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	xnec2c
 PORTVERSION=	4.4.12
 DISTVERSIONPREFIX=	v
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	comms hamradio
 MASTER_SITES=	https://www.xnec2c.org/releases/ \
 		LOCAL/db
@@ -16,6 +16,7 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 USES=		autoreconf desktop-file-utils gettext gmake gnome pkgconfig shared-mime-info
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ENV+=	LIBS=-lexecinfo
 CONFIGURE_ENV+=	LDFLAGS="-L/${LOCALBASE}/lib ${LDFLAGS}"
 
diff --git a/comms/xnec2c/pkg-plist b/comms/xnec2c/pkg-plist
index a7a9abdd0117..08c809437a8d 100644
--- a/comms/xnec2c/pkg-plist
+++ b/comms/xnec2c/pkg-plist
@@ -1,5 +1,5 @@
 bin/xnec2c
-man/man1/xnec2c.1.gz
+share/man/man1/xnec2c.1.gz
 share/applications/xnec2c.desktop
 %%DOCSDIR%%/NEC2-bug.txt
 %%DOCSDIR%%/NearFieldCalcs.txt