git: f5152ad4721e - main - www/varnish-libvmod-dynamic: Move manpages to share/man

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Wed, 27 Mar 2024 09:05:33 UTC
The branch main has been updated by arrowd:

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

commit f5152ad4721eb4f628bb9b0d6019fd4516502e8d
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2024-03-27 09:03:57 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-03-27 09:03:57 +0000

    www/varnish-libvmod-dynamic: Move manpages to share/man
    
    Approved by:    portmgr (blanket)
---
 www/varnish-libvmod-dynamic/Makefile  | 3 ++-
 www/varnish-libvmod-dynamic/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/www/varnish-libvmod-dynamic/Makefile b/www/varnish-libvmod-dynamic/Makefile
index 37846c3d9221..e729272e4364 100644
--- a/www/varnish-libvmod-dynamic/Makefile
+++ b/www/varnish-libvmod-dynamic/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	libvmod-dynamic
 PORTVERSION=	20230321
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	www
 PKGNAMEPREFIX=	varnish-
 
@@ -19,6 +19,7 @@ USES=		autoreconf compiler:c11 gmake libtool pkgconfig \
 USE_LDCONFIG=	yes
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ARGS=	--disable-static
 INSTALL_TARGET=	install-strip
 DOCSDIR=	${PREFIX}/share/doc/vmod-dynamic
diff --git a/www/varnish-libvmod-dynamic/pkg-plist b/www/varnish-libvmod-dynamic/pkg-plist
index 24032a9fe107..3142d3bfdc89 100644
--- a/www/varnish-libvmod-dynamic/pkg-plist
+++ b/www/varnish-libvmod-dynamic/pkg-plist
@@ -1,4 +1,4 @@
 lib/varnish/vmods/libvmod_dynamic.so
-man/man3/vmod_dynamic.3.gz
+share/man/man3/vmod_dynamic.3.gz
 %%PORTDOCS%%%%DOCSDIR%%/LICENSE
 %%PORTDOCS%%%%DOCSDIR%%/README.rst