git: 9e236ed0eab4 - main - mail/notmuch: Sanitize MANPREFIX

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 22 Jan 2024 17:34:46 UTC
The branch main has been updated by bofh:

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

commit 9e236ed0eab41eef72f9441f0b29d9a28d959c9f
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-22 17:16:44 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-22 17:34:26 +0000

    mail/notmuch: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 mail/notmuch/Makefile  |  6 +++---
 mail/notmuch/pkg-plist | 44 ++++++++++++++++++++++----------------------
 2 files changed, 25 insertions(+), 25 deletions(-)

diff --git a/mail/notmuch/Makefile b/mail/notmuch/Makefile
index 564ecad73706..a6cc6af0170e 100644
--- a/mail/notmuch/Makefile
+++ b/mail/notmuch/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	notmuch
 DISTVERSION=	0.38.2
-PORTREVISION?=	0
+PORTREVISION?=	1
 CATEGORIES?=	mail
 MASTER_SITES=	https://notmuchmail.org/releases/
 
@@ -37,7 +37,7 @@ USES+=		tar:xz
 .ifndef MASTERDIR
 HAS_CONFIGURE=	yes
 CONFIGURE_ARGS=	--infodir=${PREFIX}/${INFO_PATH} \
-		--mandir=${MANPREFIX}/man \
+		--mandir=${PREFIX}/share/man \
 		--prefix=${PREFIX} \
 		--with-bash-completion \
 		--with-retry-lock \
@@ -84,7 +84,7 @@ post-install:
 
 # Keep poudriere-testport(8) happy.
 post-install-MANPAGES-on:
-	@${RM} ${STAGEDIR}${MANPREFIX}/man/man1/notmuch-emacs-mua.1.gz
+	@${RM} ${STAGEDIR}${PREFIX}/share/man/man1/notmuch-emacs-mua.1.gz
 .endif
 
 .include <bsd.port.mk>
diff --git a/mail/notmuch/pkg-plist b/mail/notmuch/pkg-plist
index 54a1722e9d87..c576dfb61f5b 100644
--- a/mail/notmuch/pkg-plist
+++ b/mail/notmuch/pkg-plist
@@ -1,25 +1,25 @@
-%%DOXYGEN%%man/man3/notmuch.3.gz
-%%MANPAGES%%man/man1/notmuch-address.1.gz
-%%MANPAGES%%man/man1/notmuch-compact.1.gz
-%%MANPAGES%%man/man1/notmuch-config.1.gz
-%%MANPAGES%%man/man1/notmuch-count.1.gz
-%%MANPAGES%%man/man1/notmuch-dump.1.gz
-%%MANPAGES%%man/man1/notmuch-insert.1.gz
-%%MANPAGES%%man/man1/notmuch-new.1.gz
-%%MANPAGES%%man/man1/nmbug.1.gz
-%%MANPAGES%%man/man1/notmuch-git.1.gz
-%%MANPAGES%%man/man1/notmuch-reindex.1.gz
-%%MANPAGES%%man/man1/notmuch-reply.1.gz
-%%MANPAGES%%man/man1/notmuch-restore.1.gz
-%%MANPAGES%%man/man1/notmuch-search.1.gz
-%%MANPAGES%%man/man1/notmuch-setup.1.gz
-%%MANPAGES%%man/man1/notmuch-show.1.gz
-%%MANPAGES%%man/man1/notmuch-tag.1.gz
-%%MANPAGES%%man/man1/notmuch.1.gz
-%%MANPAGES%%man/man5/notmuch-hooks.5.gz
-%%MANPAGES%%man/man7/notmuch-properties.7.gz
-%%MANPAGES%%man/man7/notmuch-search-terms.7.gz
-%%MANPAGES%%man/man7/notmuch-sexp-queries.7.gz
+%%DOXYGEN%%share/man/man3/notmuch.3.gz
+%%MANPAGES%%share/man/man1/notmuch-address.1.gz
+%%MANPAGES%%share/man/man1/notmuch-compact.1.gz
+%%MANPAGES%%share/man/man1/notmuch-config.1.gz
+%%MANPAGES%%share/man/man1/notmuch-count.1.gz
+%%MANPAGES%%share/man/man1/notmuch-dump.1.gz
+%%MANPAGES%%share/man/man1/notmuch-insert.1.gz
+%%MANPAGES%%share/man/man1/notmuch-new.1.gz
+%%MANPAGES%%share/man/man1/nmbug.1.gz
+%%MANPAGES%%share/man/man1/notmuch-git.1.gz
+%%MANPAGES%%share/man/man1/notmuch-reindex.1.gz
+%%MANPAGES%%share/man/man1/notmuch-reply.1.gz
+%%MANPAGES%%share/man/man1/notmuch-restore.1.gz
+%%MANPAGES%%share/man/man1/notmuch-search.1.gz
+%%MANPAGES%%share/man/man1/notmuch-setup.1.gz
+%%MANPAGES%%share/man/man1/notmuch-show.1.gz
+%%MANPAGES%%share/man/man1/notmuch-tag.1.gz
+%%MANPAGES%%share/man/man1/notmuch.1.gz
+%%MANPAGES%%share/man/man5/notmuch-hooks.5.gz
+%%MANPAGES%%share/man/man7/notmuch-properties.7.gz
+%%MANPAGES%%share/man/man7/notmuch-search-terms.7.gz
+%%MANPAGES%%share/man/man7/notmuch-sexp-queries.7.gz
 bin/notmuch
 include/notmuch.h
 lib/libnotmuch.so