summaryrefslogtreecommitdiff
path: root/converters/sratom/options.mk
blob: f9114792f78bcf7c4c72a4bc8958e7169df1655e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $NetBSD: options.mk,v 1.2 2019/12/14 17:53:39 nia Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.sratom
PKG_SUPPORTED_OPTIONS=	debug doc tests
PKG_SUGGESTED_OPTIONS+=	# blank
PLIST_VARS+=		doc

.include "../../mk/bsd.options.mk"

.if !empty(PKG_OPTIONS:Mdebug)
WAF_ARGS+=		--debug
.endif

.if !empty(PKG_OPTIONS:Mdoc)
WAF_ARGS+=		--docs
BUILD_DEPENDS+=		doxygen-[0-9]*:../../devel/doxygen
BUILD_DEPENDS+=		graphviz-[0-9]*:../../graphics/graphviz
PLIST.doc=		yes
.endif

.if !empty(PKG_OPTIONS:Mtests)
WAF_ARGS+=		--test
.endif