git: e8f9536e09c9 - main - cad/pcb: Move man pages to share/man

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

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

commit e8f9536e09c9ffd6b3b5a000c86792901652278f
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-02 23:44:56 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-02 23:44:56 +0000

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

diff --git a/cad/pcb/Makefile b/cad/pcb/Makefile
index 4a0814d87245..85116169e059 100644
--- a/cad/pcb/Makefile
+++ b/cad/pcb/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	pcb
 PORTVERSION=	4.2.0
-PORTREVISION=	3
+PORTREVISION=	4
 PORTEPOCH=	1
 CATEGORIES=	cad
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
@@ -29,6 +29,7 @@ USE_XORG=	x11 xrender xinerama
 CONFLICTS=	gts
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV+=	INSTALL_DATA="${BSD_INSTALL_DATA}"
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 LDFLAGS+=	-lpthread
 
 PORTDOCS=	\
diff --git a/cad/pcb/pkg-plist b/cad/pcb/pkg-plist
index 746372ac0980..1193aa6904a9 100644
--- a/cad/pcb/pkg-plist
+++ b/cad/pcb/pkg-plist
@@ -1,7 +1,7 @@
 bin/MergePCBPS
 bin/Merge_dimPCBPS
 bin/pcb
-%%PORTDOCS%%man/man1/pcb.1.gz
+%%PORTDOCS%%share/man/man1/pcb.1.gz
 share/applications/pcb.desktop
 share/gEDA/scheme/gnet-pcbfwd.scm
 share/icons/hicolor/16x16/mimetypes/application-x-excellon-16.png