git: ab81dbd40f40 - main - security/amavisd-milter: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 25 Feb 2024 12:55:29 UTC
The branch main has been updated by bofh:

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

commit ab81dbd40f40bc7312ae13b10ff8eebea18a9d56
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-25 12:34:20 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-25 12:54:46 +0000

    security/amavisd-milter: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 security/amavisd-milter/Makefile  | 2 ++
 security/amavisd-milter/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/security/amavisd-milter/Makefile b/security/amavisd-milter/Makefile
index ec492b193ee6..f8c049b65029 100644
--- a/security/amavisd-milter/Makefile
+++ b/security/amavisd-milter/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	amavisd-milter
 PORTVERSION=	1.7.0
+PORTREVISION=	1
 CATEGORIES=	security mail
 MASTER_SITES=	https://github.com/prehor/${PORTNAME}/releases/download/${PORTVERSION}/
 
@@ -28,6 +29,7 @@ AMAVISDIR?=	/var/amavis
 RUNDIR=		/var/run/amavis
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ARGS=	--localstatedir=${RUNDIR} --with-working-dir=${AMAVISDIR}/tmp
 USE_RC_SUBR=	${PORTNAME}
 
diff --git a/security/amavisd-milter/pkg-plist b/security/amavisd-milter/pkg-plist
index c0c411afec5e..796acc5f6102 100644
--- a/security/amavisd-milter/pkg-plist
+++ b/security/amavisd-milter/pkg-plist
@@ -1,3 +1,3 @@
 sbin/amavisd-milter
-man/man8/amavisd-milter.8.gz
+share/man/man8/amavisd-milter.8.gz
 @dir(%%AMAVISUSER%%,%%AMAVISGROUP%%,755) %%RUNDIR%%