git: b0f03f4df79b - main - cad/xcircuit: Move man pages to share/man

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Sun, 03 Mar 2024 00:06:43 UTC
The branch main has been updated by eduardo:

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

commit b0f03f4df79bea1a38f104bcc9250ce896876094
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-03 00:05:21 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-03 00:05:21 +0000

    cad/xcircuit: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 cad/xcircuit/Makefile  | 5 ++++-
 cad/xcircuit/pkg-plist | 2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/cad/xcircuit/Makefile b/cad/xcircuit/Makefile
index 796c01afc389..8e8c85799a76 100644
--- a/cad/xcircuit/Makefile
+++ b/cad/xcircuit/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	xcircuit
 PORTVERSION=	3.10.30
-PORTREVISION=	1
+PORTREVISION=	2
 PORTEPOCH=	1
 CATEGORIES=	cad
 MASTER_SITES=	http://opencircuitdesign.com/xcircuit/archive/ \
@@ -21,6 +21,9 @@ OPTIONS_DEFINE=	EXAMPLES
 
 USE_XORG=	ice sm x11 xpm xscrnsaver xt
 USE_GNOME=	cairo
+
+GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 MAKE_ARGS+=	ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOHEADER="${TRUE}" \
 		AUTOMAKE="${TRUE}"
 
diff --git a/cad/xcircuit/pkg-plist b/cad/xcircuit/pkg-plist
index 5f6d91c4e2fa..da9aeb328fc5 100644
--- a/cad/xcircuit/pkg-plist
+++ b/cad/xcircuit/pkg-plist
@@ -1,6 +1,6 @@
 bin/xcircuit
 lib/X11/app-defaults/XCircuit
-man/man1/xcircuit.1.gz
+share/man/man1/xcircuit.1.gz
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/.xcircuitrc
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/FlareLED.ps
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/USAflag.ps