blob: 2aa2317925fc0100e384e16db4b9d951f71a9c9b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# $NetBSD: options.mk,v 1.9 2022/08/20 05:11:21 ryoon Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.notmuch
PKG_SUPPORTED_OPTIONS= notmuch-emacs doc
PKG_SUGGESTED_OPTIONS+= doc
.include "../../mk/bsd.options.mk"
###
### emacs support
###
BUILDLINK_DEPMETHOD.desktop-file-utils= build
.include "../../sysutils/desktop-file-utils/buildlink3.mk"
PLIST_VARS+= emacs
.if !empty(PKG_OPTIONS:Mnotmuch-emacs)
DEPENDS+= emacs>=25.1:../../editors/emacs
PLIST.emacs= yes
.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
|