pkgsrc/multimedia/liboggz/options.mk
2016-10-30 09:45:32 +00:00

22 lines
552 B
Makefile

# $NetBSD: options.mk,v 1.2 2016/10/30 09:45:32 maya Exp $
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)
BUILD_DEPENDS+= doxygen-[0-9]*:../../devel/doxygen
PLIST.doc= yes
.else
CONFIGURE_ARGS+= HAVE_DOXYGEN=no
.endif
.if !empty(PKG_OPTIONS:Mvalgrind)
BUILD_DEPENDS+= valgrind-[0-9]*:../../devel/valgrind
CONFIGURE_ARGS+= --enable-valgrind-testing
.else
CONFIGURE_ARGS+= --disable-valgrind-testing
.endif