blob: 870f9d003f8bbb063bce766fc81808e8c653df7d (
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
|
# $NetBSD: options.mk,v 1.2 2019/12/14 17:53:39 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.serd
PKG_SUPPORTED_OPTIONS= debug doc tests valgrind
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
PLIST.doc= yes
.endif
.if !empty(PKG_OPTIONS:Mtests)
WAF_ARGS+= --test
.endif
.if !empty(PKG_OPTIONS:Mvalgrind)
WAF_ARGS+= --grind
BUILD_DEPENDS+= valgrind-[0-9]*:../../devel/valgrind
.endif
|