aboutsummaryrefslogtreecommitdiff
path: root/mail/notmuch-emacs
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-01-22 17:22:34 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-01-22 17:34:26 +0000
commite549d75f090e4d228c69b9c00de9706fde7da941 (patch)
tree331943aaac86ba5da206f9e65c7046979349b49c /mail/notmuch-emacs
parent08119a7d00ab7a25de625ea0f956b0338f0d0c7b (diff)
downloadports-e549d75f090e4d228c69b9c00de9706fde7da941.tar.gz
ports-e549d75f090e4d228c69b9c00de9706fde7da941.zip
mail/notmuch-emacs: Sanitize MANPREFIX
Approved by: portmgr (blanket)
Diffstat (limited to 'mail/notmuch-emacs')
-rw-r--r--mail/notmuch-emacs/Makefile5
-rw-r--r--mail/notmuch-emacs/pkg-plist2
2 files changed, 4 insertions, 3 deletions
diff --git a/mail/notmuch-emacs/Makefile b/mail/notmuch-emacs/Makefile
index b2e1c4eea763..be44925f48bd 100644
--- a/mail/notmuch-emacs/Makefile
+++ b/mail/notmuch-emacs/Makefile
@@ -1,3 +1,4 @@
+PORTREVISION= 1
CATEGORIES= mail elisp
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX:S/^$/-emacs/}
COMMENT= Emacs major-mode for the Notmuch email search and tagging application
@@ -47,7 +48,7 @@ do-configure:
HAVE_BASH=1 \
HAVE_EMACS=1 \
infodir=${PREFIX}/${INFO_PATH} \
- mandir=${MANPREFIX}/man \
+ mandir=${PREFIX}/share/man \
NOTMUCH_SRCDIR=${WRKSRC} \
prefix=${PREFIX} \
srcdir=. \
@@ -66,7 +67,7 @@ post-install-DOCS-on:
@${FIND} ${STAGEDIR}${PREFIX}/${INFO_PATH} ! -type d ! -name notmuch-emacs.info -delete
post-install-MANPAGES-on:
- @${FIND} ${STAGEDIR}${MANPREFIX}/man ! -type d ! -name notmuch-emacs-mua.1.gz -delete
+ @${FIND} ${STAGEDIR}${PREFIX}/share/man ! -type d ! -name notmuch-emacs-mua.1.gz -delete
# modify what Mk/Uses/emacs.mk set
MAKE_ARGS+= EMACS+=--quick
diff --git a/mail/notmuch-emacs/pkg-plist b/mail/notmuch-emacs/pkg-plist
index 1418196d29aa..0a3df64e17dd 100644
--- a/mail/notmuch-emacs/pkg-plist
+++ b/mail/notmuch-emacs/pkg-plist
@@ -42,5 +42,5 @@
%%EMACS_SITE_LISPDIR%%/notmuch-wash.elc
%%EMACS_SITE_LISPDIR%%/notmuch.el.gz
%%EMACS_SITE_LISPDIR%%/notmuch.elc
-%%MANPAGES%%man/man1/notmuch-emacs-mua.1.gz
+%%MANPAGES%%share/man/man1/notmuch-emacs-mua.1.gz
bin/notmuch-emacs-mua