git: bd78f73c0743 - main - mail/milter-callback: Move manpages to share/man

From: Emanuel Haupt <ehaupt_at_FreeBSD.org>
Date: Sun, 21 Jan 2024 12:52:24 UTC
The branch main has been updated by ehaupt:

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

commit bd78f73c0743d362546973172deca21361c1523a
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2024-01-21 12:51:40 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2024-01-21 12:51:48 +0000

    mail/milter-callback: Move manpages to share/man
---
 mail/milter-callback/Makefile  | 14 ++++++--------
 mail/milter-callback/pkg-plist |  2 +-
 2 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/mail/milter-callback/Makefile b/mail/milter-callback/Makefile
index 895fc1a9b1bc..16adadf4aa47 100644
--- a/mail/milter-callback/Makefile
+++ b/mail/milter-callback/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	milter-callback
-PORTVERSION=	1.6.0
-PORTREVISION=	9
+DISTVERSION=	1.6.0
+PORTREVISION=	10
 CATEGORIES=	mail
 MASTER_SITES=	LOCAL/ehaupt
 
@@ -13,10 +13,8 @@ LICENSE=	GPLv3
 LIB_DEPENDS=	libspf2.so:mail/libspf2
 
 USES=		compiler tar:xz
-USE_RC_SUBR=	milter-callback
 USE_GCC=	yes
-
-SUB_FILES=	pkg-message
+USE_RC_SUBR=	milter-callback
 
 SRC_FILES=	cache.c commonprocs.c cpit.c dealwithmxes.c detectlamespf.c \
 		makedecision.c mcspf.c milter-callback.c pgupdate.c \
@@ -26,7 +24,7 @@ CFLAGS+=	-DFREEBSD -DHAVE_NS_TYPE -DWITH_SPF -I${LOCALBASE}/include \
 		-I${WRKSRC} -std=gnu99
 LDFLAGS+=	-lmilter -lthr -L${LOCALBASE}/lib -lspf2
 
-.include <bsd.port.pre.mk>
+SUB_FILES=	pkg-message
 
 do-build:
 .for f in ${SRC_FILES}
@@ -45,10 +43,10 @@ post-patch:
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/libexec
-	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${MANPREFIX}/man/man8
+	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${PREFIX}/share/man/man8
 
 	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/mail
 	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf \
 		${STAGEDIR}${PREFIX}/etc/mail/${PORTNAME}.conf.sample
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/mail/milter-callback/pkg-plist b/mail/milter-callback/pkg-plist
index 4958c44cd73e..8b7b5886d1cf 100644
--- a/mail/milter-callback/pkg-plist
+++ b/mail/milter-callback/pkg-plist
@@ -1,3 +1,3 @@
 libexec/milter-callback
 etc/mail/milter-callback.conf.sample
-man/man8/milter-callback.8.gz
+share/man/man8/milter-callback.8.gz