git: da97d3286bd6 - main - graphics/zimg: use ${PREFIX}/share/man

From: Dirk Meyer <dinoex_at_FreeBSD.org>
Date: Thu, 11 Jan 2024 17:10:16 UTC
The branch main has been updated by dinoex:

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

commit da97d3286bd6ad32e3c70ea955f8050faba47171
Author:     Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2024-01-11 17:10:03 +0000
Commit:     Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2024-01-11 17:10:03 +0000

    graphics/zimg: use ${PREFIX}/share/man
---
 graphics/zimg/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/graphics/zimg/Makefile b/graphics/zimg/Makefile
index 2223c7167437..35efbc03f9af 100644
--- a/graphics/zimg/Makefile
+++ b/graphics/zimg/Makefile
@@ -19,13 +19,14 @@ USES=		jpeg
 CONFLICTS_INSTALL=	sekrit-twc-zimg-* # include/zimg.h
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 CONFIGURE_ARGS=	--with-dynaload-cc="${CC}" \
 		--with-dynaload-cflags="${CFLAGS} -shared" \
 		--with-gd-includes="${LOCALBASE}/include" \
 		--with-gd-lib="${LOCALBASE}/lib"
 
 PLIST_FILES=	include/zimg.h bin/zimg \
-		man/man1/zimg.1.gz
+		share/man/man1/zimg.1.gz
 
 CFLAGS+=	-DHAVE_GD_FREETYPE