git: 2bfbe28afe3c - main - mail/spmfilter: Move man pages to share/man

From: Christian Weisgerber <naddy_at_FreeBSD.org>
Date: Mon, 18 Mar 2024 12:28:28 UTC
The branch main has been updated by naddy:

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

commit 2bfbe28afe3cb517e38ed74007a27c65d986fcd6
Author:     Christian Weisgerber <naddy@FreeBSD.org>
AuthorDate: 2024-03-18 12:19:22 +0000
Commit:     Christian Weisgerber <naddy@FreeBSD.org>
CommitDate: 2024-03-18 12:28:11 +0000

    mail/spmfilter: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 mail/spmfilter/Makefile  | 4 +---
 mail/spmfilter/pkg-plist | 4 ++--
 2 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/mail/spmfilter/Makefile b/mail/spmfilter/Makefile
index 44f18639981f..89bb46b25ff9 100644
--- a/mail/spmfilter/Makefile
+++ b/mail/spmfilter/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	spmfilter
 PORTVERSION=	0.6.7
-PORTREVISION=	6
+PORTREVISION=	7
 CATEGORIES=	mail
 MASTER_SITES=	http://www.${PORTNAME}.org/files/
 
@@ -78,8 +78,6 @@ CMAKE_ARGS+=	-DWITHOUT_ZDB=TRUE
 SUB_LIST+=	REQUIRE="${_REQUIRE}"
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|share/man|man|' \
-		${WRKSRC}/cmake/Modules/SMFMacros.cmake
 	@${REINPLACE_CMD} -E -e 's|(HAVE_DB4 )db|\1${BDB_LIB_NAME}|' \
 		${WRKSRC}/cmake/Modules/FindDB4.cmake
 	@${REINPLACE_CMD} -E -e 's|\$$\{CMAKE_INSTALL_LIBDIR\}(/pkgconfig)|$${CMAKE_INSTALL_PREFIX}/libdata\1|' \
diff --git a/mail/spmfilter/pkg-plist b/mail/spmfilter/pkg-plist
index 515c646bfff9..fc09799dea16 100644
--- a/mail/spmfilter/pkg-plist
+++ b/mail/spmfilter/pkg-plist
@@ -26,7 +26,7 @@ lib/spmfilter/libsmtpd.so.0.6
 lib/spmfilter/libsmtpd.so.%%LIB_VERSION%%
 libdata/pkgconfig/spmfilter.pc
 sbin/spmfilter
-man/man1/spmfilter.1.gz
-man/man5/spmfilter.conf.5.gz
+share/man/man1/spmfilter.1.gz
+share/man/man5/spmfilter.conf.5.gz
 @sample etc/spmfilter.conf.sample
 @dir(%%SMFUSER%%,%%SMFGROUP%%,755) %%SMFDIR%%