aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2024-03-18 12:19:22 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2024-03-18 12:28:11 +0000
commit2bfbe28afe3cb517e38ed74007a27c65d986fcd6 (patch)
tree2607be6c4189ee06c96fb439a2315559f81fccf7
parentc3ee797bce1f962b2c65b5de985b1f169bfce238 (diff)
downloadports-2bfbe28afe3cb517e38ed74007a27c65d986fcd6.tar.gz
ports-2bfbe28afe3cb517e38ed74007a27c65d986fcd6.zip
mail/spmfilter: Move man pages to share/man
Approved by: portmgr (blanket)
-rw-r--r--mail/spmfilter/Makefile4
-rw-r--r--mail/spmfilter/pkg-plist4
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%%