pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/notmuch Split documentation to doc option



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bd9a57810e2e
branches:  trunk
changeset: 332090:bd9a57810e2e
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Wed Apr 03 14:50:35 2019 +0000

description:
Split documentation to doc option

It is enabled by default and no revbump is needed.

diffstat:

 mail/notmuch/Makefile   |   4 +-
 mail/notmuch/PLIST      |  78 ++++++++++++++++++++++++------------------------
 mail/notmuch/options.mk |  17 +++++++++-
 3 files changed, 55 insertions(+), 44 deletions(-)

diffs (139 lines):

diff -r be023c268391 -r bd9a57810e2e mail/notmuch/Makefile
--- a/mail/notmuch/Makefile     Wed Apr 03 14:49:27 2019 +0000
+++ b/mail/notmuch/Makefile     Wed Apr 03 14:50:35 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.45 2019/03/11 14:41:05 ryoon Exp $
+# $NetBSD: Makefile,v 1.46 2019/04/03 14:50:35 ryoon Exp $
 
 DISTNAME=      notmuch-0.28.3
 CATEGORIES=    mail
@@ -9,8 +9,6 @@
 COMMENT=       Mail indexer
 LICENSE=       gnu-gpl-v3
 
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
-
 HAS_CONFIGURE= yes
 USE_LANGUAGES= c c++
 USE_TOOLS+=    bash gmake makeinfo pkg-config
diff -r be023c268391 -r bd9a57810e2e mail/notmuch/PLIST
--- a/mail/notmuch/PLIST        Wed Apr 03 14:49:27 2019 +0000
+++ b/mail/notmuch/PLIST        Wed Apr 03 14:50:35 2019 +0000
@@ -1,48 +1,48 @@
-@comment $NetBSD: PLIST,v 1.13 2019/03/08 18:27:31 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.14 2019/04/03 14:50:35 ryoon Exp $
 bin/notmuch
 ${PLIST.emacs}bin/notmuch-emacs-mua
 include/notmuch.h
-info/notmuch-address.info
-info/notmuch-compact.info
-info/notmuch-config.info
-info/notmuch-count.info
-info/notmuch-dump.info
-info/notmuch-emacs-mua.info
-info/notmuch-emacs.info
-info/notmuch-hooks.info
-info/notmuch-insert.info
-info/notmuch-new.info
-info/notmuch-properties.info
-info/notmuch-reindex.info
-info/notmuch-reply.info
-info/notmuch-restore.info
-info/notmuch-search-terms.info
-info/notmuch-search.info
-info/notmuch-show.info
-info/notmuch-tag.info
-info/notmuch.info
+${PLIST.doc}info/notmuch-address.info
+${PLIST.doc}info/notmuch-compact.info
+${PLIST.doc}info/notmuch-config.info
+${PLIST.doc}info/notmuch-count.info
+${PLIST.doc}info/notmuch-dump.info
+${PLIST.doc}info/notmuch-emacs-mua.info
+${PLIST.doc}Info/notmuch-emacs.info
+${PLIST.doc}info/notmuch-hooks.info
+${PLIST.doc}info/notmuch-insert.info
+${PLIST.doc}info/notmuch-new.info
+${PLIST.doc}info/notmuch-properties.info
+${PLIST.doc}info/notmuch-reindex.info
+${PLIST.doc}info/notmuch-reply.info
+${PLIST.doc}info/notmuch-restore.info
+${PLIST.doc}info/notmuch-search-terms.info
+${PLIST.doc}info/notmuch-search.info
+${PLIST.doc}info/notmuch-show.info
+${PLIST.doc}info/notmuch-tag.info
+${PLIST.doc}info/notmuch.info
 lib/libnotmuch.so
 lib/libnotmuch.so.5
 lib/libnotmuch.so.5.2.0
-man/man1/notmuch-address.1
-man/man1/notmuch-compact.1
-man/man1/notmuch-config.1
-man/man1/notmuch-count.1
-man/man1/notmuch-dump.1
-man/man1/notmuch-emacs-mua.1
-man/man1/notmuch-insert.1
-man/man1/notmuch-new.1
-man/man1/notmuch-reindex.1
-man/man1/notmuch-reply.1
-man/man1/notmuch-restore.1
-man/man1/notmuch-search.1
-man/man1/notmuch-setup.1
-man/man1/notmuch-show.1
-man/man1/notmuch-tag.1
-man/man1/notmuch.1
-man/man5/notmuch-hooks.5
-man/man7/notmuch-properties.7
-man/man7/notmuch-search-terms.7
+${PLIST.doc}man/man1/notmuch-address.1
+${PLIST.doc}man/man1/notmuch-compact.1
+${PLIST.doc}man/man1/notmuch-config.1
+${PLIST.doc}man/man1/notmuch-count.1
+${PLIST.doc}man/man1/notmuch-dump.1
+${PLIST.doc}man/man1/notmuch-emacs-mua.1
+${PLIST.doc}man/man1/notmuch-insert.1
+${PLIST.doc}man/man1/notmuch-new.1
+${PLIST.doc}man/man1/notmuch-reindex.1
+${PLIST.doc}man/man1/notmuch-reply.1
+${PLIST.doc}man/man1/notmuch-restore.1
+${PLIST.doc}man/man1/notmuch-search.1
+${PLIST.doc}man/man1/notmuch-setup.1
+${PLIST.doc}man/man1/notmuch-show.1
+${PLIST.doc}man/man1/notmuch-tag.1
+${PLIST.doc}man/man1/notmuch.1
+${PLIST.doc}man/man5/notmuch-hooks.5
+${PLIST.doc}man/man7/notmuch-properties.7
+${PLIST.doc}man/man7/notmuch-search-terms.7
 ${PLIST.emacs}share/emacs/site-lisp/coolj.el
 ${PLIST.emacs}share/emacs/site-lisp/coolj.elc
 ${PLIST.emacs}share/emacs/site-lisp/notmuch-address.el
diff -r be023c268391 -r bd9a57810e2e mail/notmuch/options.mk
--- a/mail/notmuch/options.mk   Wed Apr 03 14:49:27 2019 +0000
+++ b/mail/notmuch/options.mk   Wed Apr 03 14:50:35 2019 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: options.mk,v 1.1 2014/08/17 10:45:05 wiz Exp $
+# $NetBSD: options.mk,v 1.2 2019/04/03 14:50:35 ryoon Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.notmuch
-PKG_SUPPORTED_OPTIONS= notmuch-emacs
+PKG_SUPPORTED_OPTIONS= notmuch-emacs doc
+PKG_SUGGESTED_OPTIONS+=        doc
 
 .include "../../mk/bsd.options.mk"
 
@@ -15,3 +16,15 @@
 .else
 CONFIGURE_ARGS+=       --without-emacs
 .endif
+
+###
+### documentation support
+###
+PLIST_VARS+=           doc
+.if !empty(PKG_OPTIONS:Mdoc)
+PLIST.doc=             yes
+BUILD_DEPENDS+=                ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
+.else
+CONFIGURE_ARGS+=       --without-docs
+CONFIGURE_ARGS+=       --without-api-docs
+.endif



Home | Main Index | Thread Index | Old Index