pkgsrc/multimedia/libkate/options.mk
2014-05-09 07:36:53 +00:00

42 lines
1 KiB
Makefile

# $NetBSD: options.mk,v 1.3 2014/05/09 07:37:13 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.libkate
PKG_SUPPORTED_OPTIONS= debug doc oggz python valgrind vorbis
PKG_SUGGESTED_OPTIONS+= oggz vorbis
PLIST_VARS+= doc python
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mdebug)
CONFIGURE_ARGS+= --enable-debug
.endif
.if !empty(PKG_OPTIONS:Mdoc)
PLIST.doc= yes
.else
CONFIGURE_ARGS+= --disable-doc
.endif
.if !empty(PKG_OPTIONS:Moggz)
.include "../../multimedia/liboggz/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mpython)
REPLACE_PYTHON= tools/KateDJ/KateDJ
PY_PATCHPLIST= yes
PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # py-wxWidgets
.include "../../x11/py-wxWidgets/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
PLIST.python= yes
.else
CONFIGURE_ARGS+= HAVE_PYTHON=no
.endif
.if !empty(PKG_OPTIONS:Mvalgrind)
BUILD_DEPENDS+= valgrind-[0-9]*:../../devel/valgrind
.endif
.if !empty(PKG_OPTIONS:Mvorbis)
BUILD_DEPENDS+= vorbis-tools-[0-9]*:../../audio/vorbis-tools
.endif