Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / audio / herrie / options.mk
blobea6e16c2bb1358fc150ec284128acc46c9f8e87a
1 # $NetBSD: options.mk,v 1.6 2008/03/27 14:24:36 bjs Exp $
3 PKG_OPTIONS_VAR= PKG_OPTIONS.herrie
4 PKG_SUPPORTED_OPTIONS= curl libao modplug libspiff sndfile \
5 vorbis wide-curses
6 PKG_SUGGESTED_OPTIONS= curl
7 PKG_LEGACY_OPTS+= ncursesw:wide-curses
9 .include "../../mk/oss.buildlink3.mk"
11 .if ${OSS_TYPE} == "native"
12 PKG_SUPPORTED_OPTIONS+= oss
13 PKG_SUGGESTED_OPTIONS+= oss
14 .elif ${OSS_TYPE} == "none"
15 PKG_SUGGESTED_OPTIONS+= libao
16 .endif
18 .include "../../mk/bsd.fast.prefs.mk"
19 .include "../../mk/bsd.options.mk"
21 .if !empty(PKG_OPTIONS:Mcurl)
22 . include "../../www/curl/buildlink3.mk"
23 .else
24 CONFIGURE_ARGS+= no_http
25 CONFIGURE_ARGS+= no_scrobbler
26 .endif
28 .if !empty(PKG_OPTIONS:Mlibao)
29 CONFIGURE_ARGS+= ao
30 . include "../../audio/libao/buildlink3.mk"
31 .endif
33 .if !empty(PKG_OPTIONS:Mmodplug)
34 . include "../../audio/libmodplug/buildlink3.mk"
35 .else
36 CONFIGURE_ARGS+= no_modplug
37 .endif
39 .if !empty(PKG_OPTIONS:Mlibspiff)
40 . include "../../audio/libspiff/buildlink3.mk"
41 .else
42 CONFIGURE_ARGS+= no_xspf
43 .endif
45 .if !empty(PKG_OPTIONS:Moss)
46 CONFIGURE_ARGS+= oss
47 LDFLAGS+= ${BUILDLINK_LDADD.oss}
48 HERRIE_USE_OSS= # empty
49 .else
50 HERRIE_USE_OSS= \#
51 .endif
53 .if !empty(PKG_OPTIONS:Msndfile)
54 . include "../../audio/libsndfile/buildlink3.mk"
55 .else
56 CONFIGURE_ARGS+= no_sndfile
57 .endif
59 .if !empty(PKG_OPTIONS:Mdebug)
60 CONFIGURE_ARGS+= no_strip strict
61 .endif
63 .if !empty(PKG_OPTIONS:Mvorbis)
64 . include "../../audio/libvorbis/buildlink3.mk"
65 .else
66 CONFIGURE_ARGS+= no_vorbis
67 .endif
69 .if !empty(PKG_OPTIONS:Mwide-curses)
70 . include "../../devel/ncursesw/buildlink3.mk"
71 .else
72 CONFIGURE_ARGS+= ncurses
73 . include "../../devel/ncurses/buildlink3.mk"
74 .endif