aa67e11089
either because they themselves are not ready or because a dependency isn't. This is annotated by PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of x.y.z or PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-foo, py-bar respectively, please use the same style for other packages, and check during updates. Use versioned_dependencies.mk where applicable. Use REPLACE_PYTHON instead of handcoded alternatives, where applicable. Reorder Makefile sections into standard order, where applicable. Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default with the next commit. Whitespace cleanups and other nits corrected, where necessary.
35 lines
886 B
Makefile
35 lines
886 B
Makefile
# $NetBSD: options.mk,v 1.3 2014/01/25 10:29:57 wiz Exp $
|
|
#
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.streamtuner
|
|
PKG_SUPPORTED_OPTIONS= streamtuner-local streamtuner-xiph python
|
|
PKG_SUGGESTED_OPTIONS= streamtuner-local streamtuner-xiph
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
PLIST_VARS+= local python xiph
|
|
|
|
.if !empty(PKG_OPTIONS:Mstreamtuner-local)
|
|
PLIST.local= yes
|
|
CONFIGURE_ARGS+= --enable-local
|
|
. include "../../audio/taglib/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-local
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mstreamtuner-xiph)
|
|
PLIST.xiph= yes
|
|
CONFIGURE_ARGS+= --enable-xiph
|
|
. include "../../textproc/libxml2/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-xiph
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mpython)
|
|
PLIST.python= yes
|
|
CONFIGURE_ARGS+= --enable-python
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-gtk2
|
|
. include "../../x11/py-gtk2/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-python
|
|
.endif
|