From c13d43576fc9955ef3ad164dc969b2528642daec Mon Sep 17 00:00:00 2001
From: "Gabriel M. Dutra" <dutra@FreeBSD.org>
Date: Wed, 31 Jan 2024 11:44:10 -0300
Subject: [PATCH] sysutils/fusefs-funionfs: move man pages to share/man

Approved by:	garga(mentor)
Differential Revision:	https://reviews.freebsd.org/D43673
---
 sysutils/fusefs-funionfs/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sysutils/fusefs-funionfs/Makefile b/sysutils/fusefs-funionfs/Makefile
index fc513726db2b..907ef819f483 100644
--- a/sysutils/fusefs-funionfs/Makefile
+++ b/sysutils/fusefs-funionfs/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	funionfs
 PORTVERSION=	0.4.3
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	http://funionfs.apiou.org/file/
 PKGNAMEPREFIX=	fusefs-
@@ -12,8 +13,9 @@ LICENSE=	GPLv2+
 
 USES=		fuse localbase
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 
-PLIST_FILES=	bin/funionfs man/man1/${PORTNAME}.1.gz
+PLIST_FILES=	bin/funionfs share/man/man1/${PORTNAME}.1.gz
 
 post-patch:
 	@${REINPLACE_CMD} -e 's,^struct unionfs_desc,extern &,' \
-- 
GitLab