git: d470da41592d - main - cad/nvc: Move man pages to share/man

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

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

commit d470da41592d28574da35fd30fd95401edeaca3e
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-02 23:37:53 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-02 23:37:53 +0000

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

diff --git a/cad/nvc/Makefile b/cad/nvc/Makefile
index 55336e2faea8..436ac33e9c33 100644
--- a/cad/nvc/Makefile
+++ b/cad/nvc/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	nvc
 DISTVERSIONPREFIX=	r
 DISTVERSION=	1.11.3
+PORTREVISION=	1
 CATEGORIES=	cad
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -30,6 +31,7 @@ GH_ACCOUNT=	nickg
 SHEBANG_FILES=	contrib/functions.sh
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 
 LDFLAGS+=	-lexecinfo
 
diff --git a/cad/nvc/pkg-plist b/cad/nvc/pkg-plist
index d3df4e34c29d..11083c0bef9b 100644
--- a/cad/nvc/pkg-plist
+++ b/cad/nvc/pkg-plist
@@ -165,5 +165,5 @@ libexec/nvc/install-uvvm.sh
 libexec/nvc/install-vivado.sh
 libexec/nvc/install-vunit.sh
 libexec/nvc/install-xpm_vhdl.sh
-man/man1/nvc.1.gz
+share/man/man1/nvc.1.gz
 share/bash-completion/completions/nvc.bash