summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2021-11-02 16:55:53 +0100
committerBaptiste Daroussin <bapt@FreeBSD.org>2021-11-02 16:56:51 +0100
commit7167d0f0c87b861a118644b509091545e13aa3ce (patch)
tree201352f98c57bd76aafef679339957bdfda3c05d /mail
parentx11-wm/i3: update to 4.20 (diff)
mail/neomutt: fix WITHOUT=DOCS
The trick we abused in order to still get the manpages while not building the docs it not working anymore. Make the manpages conditionnes to the DOCS option as well Reported by: gahr
Diffstat (limited to 'mail')
-rw-r--r--mail/neomutt/Makefile4
-rw-r--r--mail/neomutt/pkg-plist12
2 files changed, 7 insertions, 9 deletions
diff --git a/mail/neomutt/Makefile b/mail/neomutt/Makefile
index ecbd8ded0412..c405f6c0d6b5 100644
--- a/mail/neomutt/Makefile
+++ b/mail/neomutt/Makefile
@@ -86,12 +86,10 @@ GSSAPI_HEIMDAL_CONFIGURE_ON= --with-gss=${LOCALBASE}
GSSAPI_MIT_USES= gssapi:mit
GSSAPI_MIT_CONFIGURE_ON= --with-gss=${LOCALBASE}
+DOCS_CONFIGURE_OFF= --disable-doc
DOCS_BUILD_DEPENDS= xsltproc:textproc/libxslt \
${LOCALBASE}/share/xsl/docbook/html/docbook.xsl:textproc/docbook-xsl \
lynx:www/lynx
-# Trick neomutt into building manpages and neomuttrc
-DOCS_VARS_OFF= BINARY_ALIAS=xsltproc=true \
- BINARY_ALIAS+=xmlcatalog=true
post-install:
${RM} ${STAGEDIR}${PREFIX}/etc/mime*
diff --git a/mail/neomutt/pkg-plist b/mail/neomutt/pkg-plist
index 7b918216c6fc..2568e22aff2f 100644
--- a/mail/neomutt/pkg-plist
+++ b/mail/neomutt/pkg-plist
@@ -1,12 +1,12 @@
bin/neomutt
libexec/neomutt/pgpewrap
libexec/neomutt/smime_keys
-man/man1/neomutt.1.gz
-man/man1/pgpewrap_neomutt.1.gz
-man/man1/smime_keys_neomutt.1.gz
-man/man5/mbox_neomutt.5.gz
-man/man5/mmdf_neomutt.5.gz
-man/man5/neomuttrc.5.gz
+%%PORTDOCS%%man/man1/neomutt.1.gz
+%%PORTDOCS%%man/man1/pgpewrap_neomutt.1.gz
+%%PORTDOCS%%man/man1/smime_keys_neomutt.1.gz
+%%PORTDOCS%%man/man5/mbox_neomutt.5.gz
+%%PORTDOCS%%man/man5/mmdf_neomutt.5.gz
+%%PORTDOCS%%man/man5/neomuttrc.5.gz
@sample etc/neomuttrc.dist etc/neomuttrc
%%NLS%%share/locale/bg/LC_MESSAGES/neomutt.mo
%%NLS%%share/locale/ca/LC_MESSAGES/neomutt.mo