2016-10-30 10:45:32 +01:00
|
|
|
# $NetBSD: options.mk,v 1.2 2016/10/30 09:45:32 maya Exp $
|
2013-05-09 02:40:12 +02:00
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.liboggz
|
|
|
|
PKG_SUPPORTED_OPTIONS= doc valgrind
|
|
|
|
PKG_SUGGESTED_OPTIONS+= # blank
|
|
|
|
PLIST_VARS+= doc
|
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mdoc)
|
2016-10-30 10:45:32 +01:00
|
|
|
BUILD_DEPENDS+= doxygen-[0-9]*:../../devel/doxygen
|
2013-05-09 02:40:12 +02:00
|
|
|
PLIST.doc= yes
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= HAVE_DOXYGEN=no
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mvalgrind)
|
2016-10-30 10:45:32 +01:00
|
|
|
BUILD_DEPENDS+= valgrind-[0-9]*:../../devel/valgrind
|
2013-05-09 02:40:12 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-valgrind-testing
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-valgrind-testing
|
|
|
|
.endif
|