git: 08119a7d00ab - main - mail/notmuch-mutt: Sanitize MANPREFIX
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 22 Jan 2024 17:34:47 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=08119a7d00ab7a25de625ea0f956b0338f0d0c7b
commit 08119a7d00ab7a25de625ea0f956b0338f0d0c7b
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-22 17:18:35 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-22 17:34:26 +0000
mail/notmuch-mutt: Sanitize MANPREFIX
Approved by: portmgr (blanket)
---
mail/notmuch-mutt/Makefile | 5 +++--
mail/notmuch-mutt/pkg-plist | 2 +-
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/mail/notmuch-mutt/Makefile b/mail/notmuch-mutt/Makefile
index b7646a137453..6b0312cf1657 100644
--- a/mail/notmuch-mutt/Makefile
+++ b/mail/notmuch-mutt/Makefile
@@ -1,3 +1,4 @@
+PORTREVISION= 1
CATEGORIES= mail
PKGNAMESUFFIX= -mutt
@@ -13,7 +14,7 @@ RUN_DEPENDS= mutt:mail/mutt \
USES= gmake perl5
-MAKE_ARGS+= mandir=${MANPREFIX}/man prefix=${PREFIX}
+MAKE_ARGS+= mandir=${PREFIX}/share/man prefix=${PREFIX}
MASTERDIR= ${.CURDIR}/../notmuch
NO_ARCH= yes
WRKSRC_SUBDIR= contrib/notmuch-mutt
@@ -33,6 +34,6 @@ post-install-EXAMPLES-off:
@${RM} -r ${STAGEDIR}${PREFIX}/etc/Muttrc.d
post-install-MANPAGES-off:
- @${RM} ${STAGEDIR}${MANPREFIX}/man/man1/notmuch-mutt.1
+ @${RM} ${STAGEDIR}${PREFIX}/share/man/man1/notmuch-mutt.1
.include "${MASTERDIR}/Makefile"
diff --git a/mail/notmuch-mutt/pkg-plist b/mail/notmuch-mutt/pkg-plist
index 6a399a0c893a..4b60d72e7a73 100644
--- a/mail/notmuch-mutt/pkg-plist
+++ b/mail/notmuch-mutt/pkg-plist
@@ -1,3 +1,3 @@
-%%MANPAGES%%man/man1/notmuch-mutt.1.gz
+%%MANPAGES%%share/man/man1/notmuch-mutt.1.gz
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/notmuch-mutt.rc
bin/notmuch-mutt