git: cc530e6e6376 - main - textproc/castxml: Install manpages to share/man

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Thu, 11 Apr 2024 16:02:19 UTC
The branch main has been updated by arrowd:

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

commit cc530e6e6376d3c3ebef897817a8fab9527d766f
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2024-04-11 15:19:20 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-04-11 16:00:43 +0000

    textproc/castxml: Install manpages to share/man
    
    Approved by:    portmgr (blanket)
---
 textproc/castxml/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/textproc/castxml/Makefile b/textproc/castxml/Makefile
index 72235d9dfaaa..31a099d1260d 100644
--- a/textproc/castxml/Makefile
+++ b/textproc/castxml/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	castxml
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.6.4
+PORTREVISION=	1
 CATEGORIES=	textproc devel
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -20,7 +21,8 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	CastXML
 GH_PROJECT=	CastXML
 
-CMAKE_ARGS=	-DLLVM_DIR:STRING=${LOCALBASE}/llvm${LLVM_VERSION}/lib/cmake/llvm
+CMAKE_ARGS=	-DLLVM_DIR:STRING=${LOCALBASE}/llvm${LLVM_VERSION}/lib/cmake/llvm \
+		-DCastXML_INSTALL_MAN_DIR=share/man
 
 LLVM_VERSIONS=	15 14 13 12 11