blob: b7a93ede259da8a98b6a954e470176570227fbd5 (
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
28
29
30
31
32
33
34
35
|
# $NetBSD: options.mk,v 1.1 2005/10/19 09:45:09 xtraeme 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"
.if !empty(PKG_OPTIONS:Mstreamtuner-local)
PLIST_SUBST+= LOCAL_PLUGIN=
CONFIGURE_ARGS+= --enable-local
. include "../../audio/taglib/buildlink3.mk"
.else
PLIST_SUBST+= LOCAL_PLUGIN='@comment '
CONFIGURE_ARGS+= --disable-local
.endif
.if !empty(PKG_OPTIONS:Mstreamtuner-xiph)
PLIST_SUBST+= XIPH_PLUGIN=
CONFIGURE_ARGS+= --enable-xiph
. include "../../textproc/libxml2/buildlink3.mk"
.else
PLIST_SUBST+= XIPH_PLUGIN='@comment '
CONFIGURE_ARGS+= --disable-xiph
.endif
.if !empty(PKG_OPTIONS:Mpython)
PLIST_SUBST+= PYTHON_PLUGIN=
CONFIGURE_ARGS+= --enable-python
. include "../../x11/py-gtk2/buildlink3.mk"
.else
PLIST_SUBST+= PYTHON_PLUGIN='@comment '
CONFIGURE_ARGS+= --disable-python
.endif
|